Serveur MCP

StockLens

com.stocklens/stocklens
Données et analytique Finance et investissement Public et accessible MCP 2025-11-25

Ce que fait ce MCP

Analyzes and screens stocks, provides market scores and insights, and manages authenticated watchlists without executing trades.

add_to_watchlist
Add To Watchlist
Add one company to the authenticated user's default StockLens portfolio as a company they follow, so its score stays readable here. Call it only when the person has asked for it or agreed to an offer. If the portfolio is already at the limit of the person's current plan, the result says so. After an add the person accepted from a get_market_summary offer, call get_market_summary again to answer their question. Does NOT execute trades, does NOT record a holding or transaction, and does NOT accept more than one ticker per call.
Schéma d’entrée
{'type': 'object', 'required': ['ticker'], 'properties': {'ticker': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9.\\-]{0,19}$', 'description': 'Stock ticker symbol (e.g. AAPL). Exactly one ticker per call.'}, 'exchange': {'enum': ['NYSE', 'NASDAQ', 'AMEX', 'OTC', 'CBOE', 'TSX', 'TSXV', 'CNQ', 'NEO', 'MEX', 'B3', 'SANTIAGO', 'BUE', 'BVC', 'LSE', 'EURONEXT_PARIS', 'EURONEXT_AMSTERDAM', 'EURONEXT_BRUSSELS', 'EURONEXT_LISBON', 'EURONEXT_DUBLIN', 'XETRA', 'SIX', 'BME', 'MILAN', 'OSLO', 'OMX_STOCKHOLM', 'OMX_HELSINKI', 'OMX_COPENHAGEN', 'WSE', 'VIE', 'ATH', 'PRA', 'BUD', 'IST', 'ICE', 'RIS', 'TAL', 'MCX', 'TSE', 'HKEX', 'SHANGHAI', 'SHENZHEN', 'ASX', 'TWSE', 'SGX', 'NSE', 'KRX', 'BSE', 'KOE', 'JKT', 'KLS', 'SET', 'NZE', 'HOSE', 'TWO', 'TADAWUL', 'JSE', 'TLV', 'DFM', 'EGX', 'DOH', 'KUW'], 'type': 'string', 'description': 'Exchange code (e.g. NASDAQ). Optional. Resolved automatically if omitted.'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', 'required': ['ticker', 'exchange', 'total_holdings', 'plan_limit', 'scope'], 'properties': {'scope': {'enum': ['user_watchlist_update'], 'type': 'string'}, 'ticker': {'type': 'string'}, 'exchange': {'type': 'string'}, 'plan_limit': {'type': ['null', 'integer']}, 'company_name': {'type': ['null', 'string']}, 'total_holdings': {'type': 'integer'}}, 'additionalProperties': False}
discover_stocks
Discover Stocks
Screen the companies StockLens scores nightly by region, exchange, sector, industry, market-cap band and trading volume, sorted by one of the six StockLens scores or by market cap, volume, popularity or ticker, and return the top or bottom N. This is the only StockLens tool that ranks or compares companies: use it for any top N, best, worst, highest, lowest or filtered request, and never build such a list from get_market_summary or general knowledge. It has no valuation, price-target or growth filter; say so rather than calling a score sort one. status ranked means the requested order was used. browse_substituted means a score order was asked for and market-cap order with scores hidden was returned, so never describe those rows as ranked by score. locked means no companies are named; relay message verbatim. What the caller can sort and how far it reaches is in access_tier and reach_capped_at. Report only the rows returned. It does not trade and gives no personal recommendations.
Lecture seule
Schéma d’entrée
{'type': 'object', 'properties': {'page': {'type': 'integer', 'maximum': 500, 'minimum': 0, 'description': '0-based page of results, 0 to 500. Default 0.'}, 'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Number of matches to return (the N in top/bottom N), 1 to 100. Default 10.'}, 'sort_by': {'enum': ['composite_score', 'fundamental_score', 'technical_score', 'risk_score', 'sentiment_score', 'macro_score', 'analysis_volume', 'user_volume', 'ticker', 'market_cap', 'volume'], 'type': 'string', 'description': 'One of the 6 StockLens scores or a non-score signal to sort by. Default composite_score.'}, 'macro_in': {'type': ['null', 'array'], 'items': {'enum': ['US', 'CA', 'EU', 'CH', 'GB', 'JP'], 'type': 'string'}, 'description': 'Restrict to these macro regions. Omitted = no restriction.'}, 'direction': {'enum': ['top', 'bottom'], 'type': 'string', 'description': 'top = highest first, bottom = lowest first. Default top.'}, 'sector_in': {'type': ['null', 'array'], 'items': {'enum': ['BASIC_MATERIALS', 'COMMUNICATION_SERVICES', 'CONSUMER_CYCLICAL', 'CONSUMER_DEFENSIVE', 'ENERGY', 'FINANCIAL_SERVICES', 'HEALTHCARE', 'INDUSTRIALS', 'REAL_ESTATE', 'TECHNOLOGY', 'UTILITIES', 'UNKNOWN'], 'type': 'string'}, 'description': 'Restrict to these GICS sectors. Omitted = no restriction.'}, 'exchange_in': {'type': ['null', 'array'], 'items': {'enum': ['NYSE', 'NASDAQ', 'AMEX', 'OTC', 'CBOE', 'TSX', 'TSXV', 'CNQ', 'NEO', 'MEX', 'B3', 'SANTIAGO', 'BUE', 'BVC', 'LSE', 'EURONEXT_PARIS', 'EURONEXT_AMSTERDAM', 'EURONEXT_BRUSSELS', 'EURONEXT_LISBON', 'EURONEXT_DUBLIN', 'XETRA', 'SIX', 'BME', 'MILAN', 'OSLO', 'OMX_STOCKHOLM', 'OMX_HELSINKI', 'OMX_COPENHAGEN', 'WSE', 'VIE', 'ATH', 'PRA', 'BUD', 'IST', 'ICE', 'RIS', 'TAL', 'MCX', 'TSE', 'HKEX', 'SHANGHAI', 'SHENZHEN', 'ASX', 'TWSE', 'SGX', 'NSE', 'KRX', 'BSE', 'KOE', 'JKT', 'KLS', 'SET', 'NZE', 'HOSE', 'TWO', 'TADAWUL', 'JSE', 'TLV', 'DFM', 'EGX', 'DOH', 'KUW'], 'type': 'string'}, 'description': 'Restrict to these exchanges. Omitted = no restriction.'}, 'industry_in': {'type': ['null', 'array'], 'items': {'enum': ['STEEL', 'SILVER', 'OTHER_PRECIOUS_METALS', 'GOLD', 'COPPER', 'ALUMINUM', 'PAPER_LUMBER_FOREST_PRODUCTS', 'INDUSTRIAL_MATERIALS', 'CONSTRUCTION_MATERIALS', 'CHEMICALS_SPECIALTY', 'CHEMICALS', 'AGRICULTURAL_INPUTS', 'TELECOMMUNICATIONS_SERVICES', 'INTERNET_CONTENT_INFORMATION', 'PUBLISHING', 'BROADCASTING', 'ADVERTISING_AGENCIES', 'ENTERTAINMENT', 'TRAVEL_LODGING', 'TRAVEL_SERVICES', 'SPECIALTY_RETAIL', 'LUXURY_GOODS', 'HOME_IMPROVEMENT', 'RESIDENTIAL_CONSTRUCTION', 'DEPARTMENT_STORES', 'PERSONAL_PRODUCTS_SERVICES', 'LEISURE', 'GAMBLING_RESORTS_CASINOS', 'FURNISHINGS_FIXTURES_APPLIANCES', 'RESTAURANTS', 'AUTO_PARTS', 'AUTO_MANUFACTURERS', 'AUTO_RECREATIONAL_VEHICLES', 'AUTO_DEALERSHIPS', 'APPAREL_RETAIL', 'APPAREL_MANUFACTURERS', 'APPAREL_FOOTWEAR_ACCESSORIES', 'PACKAGING_CONTAINERS', 'TOBACCO', 'GROCERY_STORES', 'DISCOUNT_STORES', 'HOUSEHOLD_PERSONAL_PRODUCTS', 'PACKAGED_FOODS', 'FOOD_DISTRIBUTION', 'FOOD_CONFECTIONERS', 'AGRICULTURAL_FARM_PRODUCTS', 'EDUCATION_TRAINING_SERVICES', 'BEVERAGES_WINERIES_DISTILLERIES', 'BEVERAGES_NON_ALCOHOLIC', 'BEVERAGES_ALCOHOLIC', 'URANIUM', 'SOLAR', 'OIL_GAS_REFINING_MARKETING', 'OIL_GAS_MIDSTREAM', 'OIL_GAS_INTEGRATED', 'OIL_GAS_EXPLORATION_PRODUCTION', 'OIL_GAS_EQUIPMENT_SERVICES', 'OIL_GAS_ENERGY', 'OIL_GAS_DRILLING', 'COAL', 'SHELL_COMPANIES', 'INVESTMENT_BANKING_INVESTMENT_SERVICES', 'INSURANCE_SPECIALTY', 'INSURANCE_REINSURANCE', 'INSURANCE_PROPERTY_CASUALTY', 'INSURANCE_LIFE', 'INSURANCE_DIVERSIFIED', 'INSURANCE_BROKERS', 'FINANCIAL_MORTGAGES', 'FINANCIAL_DIVERSIFIED', 'FINANCIAL_DATA_STOCK_EXCHANGES', 'FINANCIAL_CREDIT_SERVICES', 'FINANCIAL_CONGLOMERATES', 'FINANCIAL_CAPITAL_MARKETS', 'BANKS_REGIONAL', 'BANKS_DIVERSIFIED', 'BANKS', 'ASSET_MANAGEMENT', 'ASSET_MANAGEMENT_BONDS', 'ASSET_MANAGEMENT_INCOME', 'ASSET_MANAGEMENT_LEVERAGED', 'ASSET_MANAGEMENT_CRYPTOCURRENCY', 'ASSET_MANAGEMENT_GLOBAL', 'MEDICAL_SPECIALTIES', 'MEDICAL_PHARMACEUTICALS', 'MEDICAL_INSTRUMENTS_SUPPLIES', 'MEDICAL_HEALTHCARE_PLANS', 'MEDICAL_HEALTHCARE_INFORMATION_SERVICES', 'MEDICAL_EQUIPMENT_SERVICES', 'MEDICAL_DISTRIBUTION', 'MEDICAL_DIAGNOSTICS_RESEARCH', 'MEDICAL_DEVICES', 'MEDICAL_CARE_FACILITIES', 'DRUG_MANUFACTURERS_SPECIALTY_GENERIC', 'DRUG_MANUFACTURERS_GENERAL', 'BIOTECHNOLOGY', 'WASTE_MANAGEMENT', 'TRUCKING', 'RAILROADS', 'AEROSPACE_DEFENSE', 'MARINE_SHIPPING', 'INTEGRATED_FREIGHT_LOGISTICS', 'AIRLINES_AIRPORTS_AIR_SERVICES', 'GENERAL_TRANSPORTATION', 'MANUFACTURING_TOOLS_ACCESSORIES', 'MANUFACTURING_TEXTILES', 'MANUFACTURING_MISCELLANEOUS', 'MANUFACTURING_METAL_FABRICATION', 'INDUSTRIAL_DISTRIBUTION', 'INDUSTRIAL_SPECIALTIES', 'INDUSTRIAL_POLLUTION_TREATMENT_CONTROLS', 'ENVIRONMENTAL_SERVICES', 'INDUSTRIAL_MACHINERY', 'INDUSTRIAL_INFRASTRUCTURE_OPERATIONS', 'INDUSTRIAL_CAPITAL_GOODS', 'CONSULTING_SERVICES', 'BUSINESS_EQUIPMENT_SUPPLIES', 'STAFFING_EMPLOYMENT_SERVICES', 'RENTAL_LEASING_SERVICES', 'ENGINEERING_CONSTRUCTION', 'SECURITY_PROTECTION_SERVICES', 'SPECIALTY_BUSINESS_SERVICES', 'CONSTRUCTION', 'CONGLOMERATES', 'ELECTRICAL_EQUIPMENT_PARTS', 'AGRICULTURAL_MACHINERY', 'AGRICULTURAL_COMMODITIES_MILLING', 'REIT_SPECIALTY', 'REIT_RETAIL', 'REIT_RESIDENTIAL', 'REIT_OFFICE', 'REIT_MORTGAGE', 'REIT_INDUSTRIAL', 'REIT_HOTEL_MOTEL', 'REIT_HEALTHCARE_FACILITIES', 'REIT_DIVERSIFIED', 'REAL_ESTATE_SERVICES', 'REAL_ESTATE_DIVERSIFIED', 'REAL_ESTATE_DEVELOPMENT', 'REAL_ESTATE_GENERAL', 'INFORMATION_TECHNOLOGY_SERVICES', 'HARDWARE_EQUIPMENT_PARTS', 'COMPUTER_HARDWARE', 'ELECTRONIC_GAMING_MULTIMEDIA', 'SOFTWARE_SERVICES', 'SOFTWARE_INFRASTRUCTURE', 'SOFTWARE_APPLICATION', 'SEMICONDUCTORS', 'MEDIA_ENTERTAINMENT', 'COMMUNICATION_EQUIPMENT', 'TECHNOLOGY_DISTRIBUTORS', 'CONSUMER_ELECTRONICS', 'RENEWABLE_UTILITIES', 'REGULATED_WATER', 'REGULATED_GAS', 'REGULATED_ELECTRIC', 'INDEPENDENT_POWER_PRODUCERS', 'DIVERSIFIED_UTILITIES', 'GENERAL_UTILITIES', 'UNKNOWN'], 'type': 'string'}, 'description': 'Restrict to these GICS industries. Omitted = no restriction.'}, 'search_text': {'type': 'string', 'description': 'Free-text company name/ticker search, up to 80 characters.'}, 'volume_floor': {'enum': ['100K', '500K', '1M', '5M'], 'type': 'string', 'description': 'Minimum average trading volume. Omitted = no floor.'}, 'market_cap_band': {'enum': ['MEGA', 'LARGE', 'MID', 'SMALL', 'MICRO'], 'type': 'string', 'description': 'Restrict to this market-cap band. Omitted = no cap restriction.'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', 'required': ['status', 'rows', 'scores_locked', 'hard_locked', 'access_tier', 'rows_returned', 'effective_sort', 'effective_direction', 'config_context', 'data_source', 'scope'], 'properties': {'rows': {'type': ['null', 'array'], 'items': {'type': 'object', 'required': ['rank', 'ticker', 'exchange'], 'properties': {'rank': {'type': 'integer'}, 'rating': {'type': ['null', 'string']}, 'sector': {'type': ['null', 'string']}, 'ticker': {'type': 'string'}, 'volume': {'type': ['null', 'integer']}, 'exchange': {'type': 'string'}, 'industry': {'type': ['null', 'string']}, 'macro_code': {'type': ['null', 'string'], 'description': 'Listing geography of the exchange (US, CA, EU, CH, GB, JP, or GLOBAL when unmapped), the same value macro_in filters on.'}, 'market_cap': {'type': ['null', 'integer']}, 'risk_score': {'type': ['null', 'number']}, 'macro_score': {'type': ['null', 'number']}, 'company_name': {'type': ['null', 'string']}, 'composite_score': {'type': ['null', 'number']}, 'sentiment_score': {'type': ['null', 'number']}, 'technical_score': {'type': ['null', 'number']}, 'fundamental_score': {'type': ['null', 'number']}, 'above_universe_median': {'type': ['null', 'boolean']}}, 'additionalProperties': False}}, 'scope': {'enum': ['screened_universe'], 'type': 'string'}, 'status': {'enum': ['ranked', 'browse_substituted', 'locked'], 'type': 'string'}, 'message': {'type': ['null', 'string']}, 'next_step': {'type': ['null', 'object'], 'required': ['kind'], 'properties': {'kind': {'enum': ['call_tool', 'ask_user', 'human_action'], 'type': 'string'}, 'tool': {'type': 'string'}, 'options': {'type': ['null', 'array'], 'items': {'type': 'string'}}, 'arguments': {'type': ['null', 'object'], 'required': ['ticker'], 'properties': {'ticker': {'type': 'string'}}, 'additionalProperties': False}, 'description': {'type': 'string'}}, 'additionalProperties': False}, 'as_of_date': {'type': ['null', 'string']}, 'access_tier': {'enum': ['FREE', 'PRO', 'MAX'], 'type': 'string'}, 'data_source': {'type': 'string'}, 'hard_locked': {'type': 'boolean'}, 'rows_returned': {'type': 'integer'}, 'scores_locked': {'type': 'boolean'}, 'total_matches': {'type': ['null', 'integer']}, 'config_context': {'type': 'object', 'required': ['bucket_type', 'term'], 'properties': {'term': {'type': 'string'}, 'bucket_type': {'type': 'string'}}, 'additionalProperties': False}, 'effective_sort': {'type': 'string'}, 'reach_capped_at': {'type': ['null', 'integer']}, 'sort_substituted': {'type': 'boolean'}, 'effective_direction': {'type': 'string'}, 'quota_remaining_today': {'type': ['null', 'integer']}}, 'additionalProperties': False}
fetch_analysis_result
Fetch Analysis Result
Return the progress or result of an analysis started with initiate_analysis, by its analysis_id. Each call returns the current state once and does not wait. While status is in_progress, check again only when the person asks, and no sooner than retry_after_seconds. A failed status is an answer; relay error_message. A complete result carries the composite score and rating word, the evidence word (Full, Core or Low), each domain's score, grade word and contribution (cornerstone, major, supporting or contextual), key strengths and challenges, and for a Plus Analysis a written narrative. Say how much a domain counts only with its contribution word, never as a number or share. It does not accept a ticker and does not rank companies.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', 'required': ['analysis_id'], 'properties': {'analysis_id': {'type': 'string', 'description': 'The analysis_id returned by initiate_analysis'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', 'required': ['analysis_id', 'status', 'scope'], 'properties': {'scope': {'enum': ['single_analysis_result'], 'type': 'string'}, 'result': {'type': ['null', 'object'], 'required': ['symbol', 'exchange', 'company_name', 'risk_tolerance', 'credit_type', 'time_range_display', 'risk_tolerance_display', 'analysis_date', 'exchange_timezone', 'domains'], 'properties': {'symbol': {'type': 'string'}, 'domains': {'type': ['null', 'array'], 'items': {'type': 'object', 'required': ['domain', 'score', 'grade', 'analysis'], 'properties': {'grade': {'type': 'string'}, 'score': {'type': 'integer'}, 'domain': {'type': 'string'}, 'analysis': {'type': 'string'}, 'contribution': {'type': 'string'}, 'news_key_articles': {'type': ['null', 'array'], 'items': {'type': 'object', 'required': ['title', 'publisher', 'url', 'published_at', 'tone', 'conviction'], 'properties': {'url': {'type': 'string'}, 'tone': {'type': 'string'}, 'title': {'type': 'string'}, 'publisher': {'type': 'string'}, 'conviction': {'type': 'number'}, 'published_at': {'type': 'string'}}, 'additionalProperties': False}}, 'insider_key_metrics': {'type': ['null', 'array'], 'items': {'type': 'object', 'required': ['label', 'value'], 'properties': {'label': {'type': 'string'}, 'value': {'type': 'string'}}, 'additionalProperties': False}}}, 'additionalProperties': False}}, 'evidence': {'type': 'string'}, 'exchange': {'type': 'string'}, 'credit_type': {'type': 'string'}, 'company_name': {'type': 'string'}, 'filing_facts': {'type': ['null', 'array'], 'items': {'type': 'object', 'required': ['fact_type', 'reading', 'form_type', 'filing_date', 'quote'], 'properties': {'quote': {'type': 'string'}, 'reading': {'type': 'string'}, 'fact_type': {'type': 'string'}, 'form_type': {'type': 'string'}, 'filing_date': {'type': 'string'}}, 'additionalProperties': False}}, 'price_change': {'type': ['null', 'number']}, 'analysis_date': {'type': 'string'}, 'current_price': {'type': ['null', 'number']}, 'key_strengths': {'type': ['null', 'array'], 'items': {'type': 'object', 'required': ['point', 'impact'], 'properties': {'point': {'type': 'string'}, 'domain': {'type': ['null', 'string']}, 'impact': {'type': 'string'}}, 'additionalProperties': False}}, 'display_rating': {'type': ['null', 'string']}, 'key_challenges': {'type': ['null', 'array'], 'items': {'type': 'object', 'required': ['point', 'impact'], 'properties': {'point': {'type': 'string'}, 'domain': {'type': ['null', 'string']}, 'impact': {'type': 'string'}}, 'additionalProperties': False}}, 'risk_tolerance': {'type': 'string'}, 'synthesis_report': {'type': ['null', 'string']}, 'analysis_emphasis': {'type': ['null', 'string']}, 'capacity_assessed': {'type': ['null', 'boolean']}, 'exchange_timezone': {'type': 'string'}, 'filing_facts_note': {'type': 'string'}, 'predictive_status': {'type': ['null', 'string']}, 'time_range_display': {'type': 'string'}, 'price_change_percent': {'type': ['null', 'number']}, 'requested_time_range': {'type': ['null', 'string']}, 'canonical_company_key': {'type': ['null', 'string']}, 'risk_tolerance_display': {'type': 'string'}, 'display_composite_score': {'type': ['null', 'integer']}, 'evidence_history_family': {'type': ['null', 'string']}, 'analysis_source_exchange': {'type': ['null', 'string']}}, 'additionalProperties': False}, 'status': {'enum': ['in_progress', 'complete', 'failed'], 'type': 'string'}, 'analysis_id': {'type': 'string'}, 'progress_pct': {'type': ['null', 'integer']}, 'error_message': {'type': ['null', 'string']}, 'retry_after_seconds': {'type': ['null', 'integer']}}, 'additionalProperties': False}
get_market_summary
Get Company Score
One company's latest nightly StockLens score: the composite score (0 to 100) and its rating word, the domain scores with their grade words, the named signals that most shaped the reading (up to three, each with its evidence), the business-model lens where one applies, and any domain that was not scored in it. Use the rating word for the company and grade words only for a domain. A higher Risk score means a stronger risk posture and less downside concern. Without an account, scores answer for the 600 largest companies by market value; a signed-in account also reaches any company in its own portfolios. A result with a status other than scored is an answer, not an error; do not retry it unchanged. Relay its message; not_in_surface means the company is scored and outside the caller's reach, never that StockLens has no analysis. Then act on next_step: for ask_user, ask the person and call the named tool only if they agree; mention an offer on a scored result at most once per conversation. Every result carries freshness; a stale result is StockLens's last computed reading for that listing, not last night's, and should be quoted with its date. When freshness.requested_ticker is present, say which listing was served and what was asked. One ticker per call. It does not rank, sort or list companies: for any top, best, worst or filtered request call discover_stocks, and never build a ranking from repeated calls.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', 'required': ['ticker'], 'properties': {'ticker': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9.\\-]{0,19}$', 'description': 'Stock ticker symbol (e.g. AAPL MSFT TSLA). Exactly one ticker per call.'}, 'exchange': {'enum': ['NYSE', 'NASDAQ', 'AMEX', 'OTC', 'CBOE', 'TSX', 'TSXV', 'CNQ', 'NEO', 'MEX', 'B3', 'SANTIAGO', 'BUE', 'BVC', 'LSE', 'EURONEXT_PARIS', 'EURONEXT_AMSTERDAM', 'EURONEXT_BRUSSELS', 'EURONEXT_LISBON', 'EURONEXT_DUBLIN', 'XETRA', 'SIX', 'BME', 'MILAN', 'OSLO', 'OMX_STOCKHOLM', 'OMX_HELSINKI', 'OMX_COPENHAGEN', 'WSE', 'VIE', 'ATH', 'PRA', 'BUD', 'IST', 'ICE', 'RIS', 'TAL', 'MCX', 'TSE', 'HKEX', 'SHANGHAI', 'SHENZHEN', 'ASX', 'TWSE', 'SGX', 'NSE', 'KRX', 'BSE', 'KOE', 'JKT', 'KLS', 'SET', 'NZE', 'HOSE', 'TWO', 'TADAWUL', 'JSE', 'TLV', 'DFM', 'EGX', 'DOH', 'KUW'], 'type': 'string', 'description': 'Exchange code (e.g. NASDAQ NYSE). Optional. Resolved automatically if omitted.'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', 'required': ['status', 'ticker', 'scope'], 'properties': {'lens': {'type': ['null', 'object'], 'required': ['label'], 'properties': {'label': {'type': 'string'}}, 'additionalProperties': False}, 'scope': {'enum': ['single_ticker'], 'type': 'string'}, 'rating': {'type': ['null', 'string']}, 'sector': {'type': 'string'}, 'status': {'enum': ['scored', 'not_in_surface', 'not_covered', 'ambiguous', 'not_found'], 'type': 'string'}, 'ticker': {'type': 'string'}, 'message': {'type': 'string'}, 'exchange': {'type': 'string'}, 'industry': {'type': 'string'}, 'freshness': {'type': ['null', 'object'], 'required': ['state', 'last_scored', 'age_days'], 'properties': {'state': {'enum': ['current', 'aging', 'stale'], 'type': 'string'}, 'age_days': {'type': 'integer'}, 'last_scored': {'type': 'string'}, 'requested_ticker': {'type': 'string'}}, 'additionalProperties': False}, 'next_step': {'type': ['null', 'object'], 'required': ['kind'], 'properties': {'kind': {'enum': ['call_tool', 'ask_user', 'human_action'], 'type': 'string'}, 'tool': {'type': 'string'}, 'options': {'type': ['null', 'array'], 'items': {'type': 'string'}}, 'arguments': {'type': ['null', 'object'], 'required': ['ticker'], 'properties': {'ticker': {'type': 'string'}}, 'additionalProperties': False}, 'description': {'type': 'string'}}, 'additionalProperties': False}, 'candidates': {'type': ['null', 'array'], 'items': {'type': 'object', 'required': ['ticker', 'exchange', 'company_name'], 'properties': {'ticker': {'type': 'string'}, 'exchange': {'type': 'string'}, 'company_name': {'type': 'string'}}, 'additionalProperties': False}}, 'key_drivers': {'type': ['null', 'array'], 'items': {'type': 'object', 'required': ['kind', 'label'], 'properties': {'kind': {'enum': ['SUPPORTIVE', 'HEADWIND', 'MIXED', 'COVERAGE_GAP', 'NEUTRAL_NOT_MATERIAL'], 'type': 'string'}, 'label': {'type': 'string'}, 'domain': {'type': ['null', 'string']}, 'metric': {'type': ['null', 'string']}, 'context': {'type': ['null', 'string']}}, 'additionalProperties': False}}, 'company_name': {'type': 'string'}, 'analysis_date': {'type': 'string'}, 'domain_scores': {'type': ['null', 'array'], 'items': {'type': 'object', 'required': ['domain', 'score', 'grade'], 'properties': {'grade': {'type': 'string'}, 'score': {'type': 'number'}, 'domain': {'type': 'string'}}, 'additionalProperties': False}}, 'config_context': {'type': ['null', 'object'], 'required': ['time_range', 'risk_tolerance'], 'properties': {'time_range': {'type': 'string'}, 'risk_tolerance': {'type': 'string'}}, 'additionalProperties': False}, 'composite_score': {'type': ['null', 'number']}, 'domain_coverage': {'type': ['null', 'object'], 'required': ['not_scored'], 'properties': {'not_scored': {'type': ['null', 'array'], 'items': {'enum': ['Fundamental', 'Technical', 'Risk', 'Sentiment', 'Macro'], 'type': 'string'}}}, 'additionalProperties': False}, 'watchlist_offered': {'type': 'boolean'}}, 'additionalProperties': False}
get_portfolio_insights
Get Portfolio Insights
Retrieve StockLens analysis summaries for the authenticated user's watchlist. Returns available composite scores and grades for watchlisted stocks; either value may be absent when no completed score exists. Returns the full watchlist up to the capacity of the person's current plan; tier_limited says whether it was cut short. Use this to give users an overview of their portfolio's analytical health. Does NOT accept a ticker or filter arguments and does NOT rank or screen stocks outside the user's own watchlist; call discover_stocks for a market-wide ranked or filtered list.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', 'additionalProperties': False}
Schéma de sortie
{'type': 'object', 'required': ['watchlist', 'total_holdings', 'tier_limited', 'scope'], 'properties': {'scope': {'enum': ['user_watchlist'], 'type': 'string'}, 'watchlist': {'type': ['null', 'array'], 'items': {'type': 'object', 'required': ['ticker', 'company_name', 'exchange'], 'properties': {'ticker': {'type': 'string'}, 'exchange': {'type': 'string'}, 'company_name': {'type': 'string'}, 'analysis_date': {'type': ['null', 'string']}, 'composite_grade': {'type': ['null', 'string']}, 'composite_score': {'type': ['null', 'number']}}, 'additionalProperties': False}}, 'tier_limited': {'type': 'boolean'}, 'total_holdings': {'type': 'integer'}, 'aggregate_signal': {'type': ['null', 'string']}}, 'additionalProperties': False}
initiate_analysis
Initiate Analysis
Start a full StockLens analysis of one company, only when the person asks for one. A new run may use one Analysis credit, or one Plus Analysis credit when depth is plus; Plus adds a written narrative and the result says if the person's plan does not include it. It returns an analysis_id at once and finishes asynchronously; fetch the result with fetch_analysis_result when the person asks for it. new_run_started and reused_existing say whether a recent matching analysis was reused. One ticker per call. It does not rank or compare companies, and does not trade or move money.
Destructif
Schéma d’entrée
{'type': 'object', 'required': ['ticker'], 'properties': {'depth': {'enum': ['standard', 'plus'], 'type': 'string', 'description': 'Analysis depth: standard or plus. Standard consumes an Analysis credit (LENS_AI). Plus consumes a Plus Analysis credit (LENS_AI_PLUS) and may add AI narratives. Default standard.'}, 'ticker': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9.\\-]{0,19}$', 'description': 'Stock ticker symbol (e.g. AAPL). Exactly one ticker per call.'}, 'exchange': {'enum': ['NYSE', 'NASDAQ', 'AMEX', 'OTC', 'CBOE', 'TSX', 'TSXV', 'CNQ', 'NEO', 'MEX', 'B3', 'SANTIAGO', 'BUE', 'BVC', 'LSE', 'EURONEXT_PARIS', 'EURONEXT_AMSTERDAM', 'EURONEXT_BRUSSELS', 'EURONEXT_LISBON', 'EURONEXT_DUBLIN', 'XETRA', 'SIX', 'BME', 'MILAN', 'OSLO', 'OMX_STOCKHOLM', 'OMX_HELSINKI', 'OMX_COPENHAGEN', 'WSE', 'VIE', 'ATH', 'PRA', 'BUD', 'IST', 'ICE', 'RIS', 'TAL', 'MCX', 'TSE', 'HKEX', 'SHANGHAI', 'SHENZHEN', 'ASX', 'TWSE', 'SGX', 'NSE', 'KRX', 'BSE', 'KOE', 'JKT', 'KLS', 'SET', 'NZE', 'HOSE', 'TWO', 'TADAWUL', 'JSE', 'TLV', 'DFM', 'EGX', 'DOH', 'KUW'], 'type': 'string', 'description': 'Exchange code (e.g. NASDAQ). Optional. Resolved automatically if omitted.'}, 'time_range': {'enum': ['short_2_wk', 'medium_1_mo', 'medium_2_mo', 'long_1_yr', 'long_2_yr'], 'type': 'string', 'description': 'Time horizon. It shapes which signals the analysis weighs most (shorter horizons favor price action, momentum and news; longer favor fundamentals and quality). Not a price forecast. One window per calibrated band: short_2_wk (Short-term), medium_1_mo (Medium-term), long_1_yr (Long-term). Default medium_1_mo. The legacy medium_2_mo and long_2_yr aliases are still accepted and resolve to medium_1_mo and long_1_yr respectively.'}, 'risk_tolerance': {'enum': ['low', 'medium', 'high'], 'type': 'string', 'description': "Analysis focus. It reweights how much the analysis weighs downside/quality risk vs. growth/fundamentals. NOT a personal risk or suitability assessment, and it never changes the company's underlying facts. low=Defensive, medium=Balanced, high=Growth. Default medium."}, 'analysis_emphasis': {'enum': ['RISK_EMPHASIS', 'BALANCED', 'FUNDAMENTAL_GROWTH_EMPHASIS'], 'type': 'string', 'description': 'Optional. RISK_EMPHASIS | BALANCED | FUNDAMENTAL_GROWTH_EMPHASIS. Must agree with the emphasis implied by risk_tolerance (low->RISK_EMPHASIS, medium->BALANCED, high->FUNDAMENTAL_GROWTH_EMPHASIS); a mismatch is rejected as a validation error before any credit is consumed.'}, 'evidence_history_family': {'enum': ['SHORT_HISTORY', 'MEDIUM_HISTORY', 'LONG_HISTORY'], 'type': 'string', 'description': 'Optional. SHORT_HISTORY | MEDIUM_HISTORY | LONG_HISTORY. Must agree with the family implied by time_range (short_2_wk->SHORT_HISTORY, medium_1_mo/medium_2_mo->MEDIUM_HISTORY, long_1_yr/long_2_yr->LONG_HISTORY); a mismatch is rejected as a validation error before any credit is consumed. Does not select a representative range on its own.'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', 'required': ['analysis_id', 'status', 'estimated_seconds', 'depth', 'credit_type', 'new_run_started', 'reused_existing', 'scope'], 'properties': {'depth': {'enum': ['standard', 'plus'], 'type': 'string'}, 'scope': {'enum': ['single_analysis_receipt'], 'type': 'string'}, 'status': {'enum': ['pending', 'in_progress', 'complete', 'failed'], 'type': 'string'}, 'analysis_id': {'type': 'string'}, 'credit_type': {'enum': ['LENS_AI', 'LENS_AI_PLUS'], 'type': 'string'}, 'new_run_started': {'type': 'boolean'}, 'reused_existing': {'type': 'boolean'}, 'estimated_seconds': {'type': 'integer'}}, 'additionalProperties': False}
ping
Ping
Health check. Returns pong.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', 'additionalProperties': False}
Schéma de sortie
{'type': 'object', 'required': ['status'], 'properties': {'status': {'type': 'string', 'description': 'Connectivity status: "ok" when the MCP server is reachable'}}, 'additionalProperties': False}
remove_from_watchlist
Remove From Watchlist
Remove one company from the authenticated user's default StockLens portfolio. Does NOT execute trades and does NOT delete a recorded holding or its transactions; a holding with recorded transactions cannot be removed through this tool. Does NOT accept more than one ticker per call.
Destructif Idempotent
Schéma d’entrée
{'type': 'object', 'required': ['ticker'], 'properties': {'ticker': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9.\\-]{0,19}$', 'description': 'Stock ticker symbol (e.g. AAPL). Exactly one ticker per call.'}, 'exchange': {'enum': ['NYSE', 'NASDAQ', 'AMEX', 'OTC', 'CBOE', 'TSX', 'TSXV', 'CNQ', 'NEO', 'MEX', 'B3', 'SANTIAGO', 'BUE', 'BVC', 'LSE', 'EURONEXT_PARIS', 'EURONEXT_AMSTERDAM', 'EURONEXT_BRUSSELS', 'EURONEXT_LISBON', 'EURONEXT_DUBLIN', 'XETRA', 'SIX', 'BME', 'MILAN', 'OSLO', 'OMX_STOCKHOLM', 'OMX_HELSINKI', 'OMX_COPENHAGEN', 'WSE', 'VIE', 'ATH', 'PRA', 'BUD', 'IST', 'ICE', 'RIS', 'TAL', 'MCX', 'TSE', 'HKEX', 'SHANGHAI', 'SHENZHEN', 'ASX', 'TWSE', 'SGX', 'NSE', 'KRX', 'BSE', 'KOE', 'JKT', 'KLS', 'SET', 'NZE', 'HOSE', 'TWO', 'TADAWUL', 'JSE', 'TLV', 'DFM', 'EGX', 'DOH', 'KUW'], 'type': 'string', 'description': 'Exchange code (e.g. NASDAQ). Optional. When omitted, the ticker is matched against the portfolio; if it is there on more than one exchange you will be asked which.'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', 'required': ['ticker', 'exchange', 'removed', 'total_holdings', 'scope'], 'properties': {'scope': {'enum': ['user_watchlist_update'], 'type': 'string'}, 'ticker': {'type': 'string'}, 'removed': {'type': 'boolean'}, 'exchange': {'type': 'string'}, 'total_holdings': {'type': 'integer'}}, 'additionalProperties': False}
Modifié
fetch_analysis_result
29 September 2026 03:03
Modifié
remove_from_watchlist
27 September 2026 02:53
Modifié
ping
27 September 2026 02:53
Modifié
initiate_analysis
27 September 2026 02:53
Modifié
get_portfolio_insights
27 September 2026 02:53
Modifié
get_market_summary
27 September 2026 02:53
Modifié
fetch_analysis_result
27 September 2026 02:53
Modifié
discover_stocks
27 September 2026 02:53
Modifié
add_to_watchlist
27 September 2026 02:53
Modifié
fetch_analysis_result
25 September 2026 03:03
Modifié
remove_from_watchlist
23 September 2026 02:54
Modifié
ping
23 September 2026 02:54
Modifié
initiate_analysis
23 September 2026 02:54
Modifié
get_portfolio_insights
23 September 2026 02:54
Modifié
get_market_summary
23 September 2026 02:54
Modifié
fetch_analysis_result
23 September 2026 02:54
Modifié
discover_stocks
23 September 2026 02:54
Modifié
add_to_watchlist
23 September 2026 02:54
Modifié
initiate_analysis
21 September 2026 03:01
Modifié
get_market_summary
21 September 2026 03:01
Modifié
discover_stocks
21 September 2026 03:01
Modifié
add_to_watchlist
21 September 2026 03:01
Ajouté
remove_from_watchlist
19 September 2026 02:52
Modifié
initiate_analysis
19 September 2026 02:52
Modifié
get_portfolio_insights
19 September 2026 02:52
Modifié
discover_stocks
19 September 2026 02:52
Ajouté
add_to_watchlist
19 September 2026 02:52
Ajouté
ping
17 September 2026 12:37
Ajouté
initiate_analysis
17 September 2026 12:37
Ajouté
get_portfolio_insights
17 September 2026 12:37