Koskamo

StockLens MCP

The StockLens MCP server provides AI agents with access to stock analysis data, including nightly scores for the 600 largest companies. It offers unauthenticated tools for connectivity checks and basic scores, while authenticated tools via OAuth 2.1 enable deeper analysis, screening, and watchlist management for a wider set of stocks.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

StockLens MCP logo, by StockLensVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by StockLens
You need:sign in over OAuth 2.1 with PKCEOn a Team or Enterprise plan, an owner adds StockLens for the organization firstPer-client setup steps, including the OAuth client ID, are on the AI integrations page
MCP endpoint (Streamable HTTP)
https://mcp.stocklens.com/mcp
Vendor documentation

What its tools do

11 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

11 of 11 have a description · 11 of 11 declare behavior hints · 10 of 10 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to stocklens.com ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 100% over 90 days
  • Availability 2 of 2 checks passed in 30 days

What you can do with it

  • Retrieve nightly scores for the 600 largest companies without authentication
  • Perform stock analysis and screening using OAuth 2.1 authentication
  • Manage and view watchlists for specific stocks
  • Check server connectivity and access tool metadata

Source and maintenance

Vendor evidenceRegistry 1.2.1

Protocol and capabilities

Server
stocklens-mcp-server 0.1.0
MCP protocol negotiated in check
2025-11-25
Tools
11 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  },
  "logging": {}
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

StockLens supplies scores and saved evidence; no trades or personal advice. Off-scope: skip tools. get_market_summary: one company; get_shortlist_summary: named companies. discover_stocks: other ranked/filtered lists, one market each: name it; default US and say other markets are covered. Never rank across markets. inspect_reading: exact saved evidence, no run. Keep qualifications/roles; never guess bindings. Add/remove and initiate_analysis need a request or agreement. No portfolio_id: default.

Tools

11 advertised

add_to_watchlist — Add to Portfolio
Advertised by the server during the last successful anonymous check.

Add one company to one of the person's StockLens portfolios 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 a StockLens result supplied in next_step; a yes to an offer you composed yourself is not agreement. Without portfolio_id or portfolio_name it adds to the default portfolio, and the result names the portfolio that received it. Relay the result's message, which says where the company went. A status other than added is an answer, not an error: relay its message and act on next_step. After an add the person accepted from a get_market_summary offer, call get_market_summary again to answer their question. One ticker per call; for a list of companies, use add_to_watchlist_batch. It does not trade, record a holding or move money.

add_to_watchlist input schema
{
  "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."
    },
    "portfolio_id": {
      "type": "string",
      "description": "The id of the portfolio to add to, as get_portfolio_insights lists it. Optional: without it or portfolio_name the company goes to the default portfolio."
    },
    "portfolio_name": {
      "type": "string",
      "description": "The name of the portfolio to add to, as the person names it (exact, case does not matter). Optional."
    }
  },
  "additionalProperties": false
}
add_to_watchlist output schema
{
  "type": "object",
  "required": [
    "status",
    "message",
    "scope"
  ],
  "properties": {
    "mode": {
      "enum": [
        "holding",
        "watching"
      ],
      "type": "string"
    },
    "scope": {
      "enum": [
        "user_watchlist_update"
      ],
      "type": "string"
    },
    "status": {
      "enum": [
        "added",
        "already_in_portfolio",
        "over_capacity",
        "ambiguous",
        "not_found",
        "not_covered",
        "portfolio_not_found"
      ],
      "type": "string"
    },
    "ticker": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "exchange": {
      "type": "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"
            },
            "exchange": {
              "type": "string"
            }
          }
        },
        "description": {
          "type": "string"
        }
      }
    },
    "candidates": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "required": [
          "ticker",
          "exchange",
          "company_name"
        ],
        "properties": {
          "scored": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "ticker": {
            "type": "string"
          },
          "exchange": {
            "type": "string"
          },
          "company_name": {
            "type": "string"
          }
        }
      }
    },
    "is_default": {
      "type": [
        "null",
        "boolean"
      ]
    },
    "plan_limit": {
      "type": [
        "null",
        "integer"
      ]
    },
    "portfolios": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "required": [
          "portfolio_id",
          "portfolio_name",
          "is_default",
          "company_count"
        ],
        "properties": {
          "is_default": {
            "type": "boolean"
          },
          "portfolio_id": {
            "type": "string"
          },
          "company_count": {
            "type": "integer"
          },
          "portfolio_name": {
            "type": "string"
          }
        }
      }
    },
    "company_name": {
      "type": [
        "null",
        "string"
      ]
    },
    "portfolio_id": {
      "type": "string"
    },
    "company_count": {
      "type": [
        "null",
        "integer"
      ]
    },
    "portfolio_name": {
      "type": "string"
    },
    "portfolio_count": {
      "type": [
        "null",
        "integer"
      ]
    }
  }
}
add_to_watchlist annotations
{
  "title": "Add to Portfolio",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
add_to_watchlist_batch — Add Several to Portfolio
Advertised by the server during the last successful anonymous check.

Add a list of companies the person gave you, up to 100 rows, to one of their StockLens portfolios, in two calls. First call with confirm false: nothing is added and every row returns its outcome. Relay summary_line and message, then every row that is not a plain add, grouped by outcome, and name the plain adds in one line; name the portfolio only when portfolio_count is above 1. Ask which rows to add. Then call with confirm true, the preview_id, the same rows, the same portfolio and the confirmed_indexes the person approved. Send only rows the person gave you. For an ambiguous row, ask which listing using its candidates; never pick one. Add a not_covered row only if the person asks for it. A changed list or a different portfolio needs a new preview; preview_mismatch means the preview expired or no longer matches, so preview again. Without portfolio_id or portfolio_name it uses the default portfolio. It does not trade, record holdings or move money.

add_to_watchlist_batch input schema
{
  "type": "object",
  "required": [
    "rows",
    "confirm"
  ],
  "properties": {
    "rows": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "required": [
          "query"
        ],
        "properties": {
          "query": {
            "type": "string",
            "maxLength": 80,
            "minLength": 1,
            "description": "One company as the person wrote it: a ticker (AAPL), a listing (SHOP.TO) or a company name."
          },
          "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."
          }
        },
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 1,
      "description": "The companies the person gave you, one per row, in their order. Never add a row they did not name."
    },
    "confirm": {
      "type": "boolean",
      "description": "false previews the list and adds nothing. true adds the rows of confirmed_indexes from the preview that preview_id names."
    },
    "preview_id": {
      "type": "string",
      "description": "The preview_id the preview returned. Required when confirm is true."
    },
    "portfolio_id": {
      "type": "string",
      "description": "The id of the portfolio to add to, as get_portfolio_insights lists it. Optional: without it or portfolio_name the list goes to the default portfolio."
    },
    "portfolio_name": {
      "type": "string",
      "description": "The name of the portfolio to add to, as the person names it (exact, case does not matter). Optional."
    },
    "confirmed_indexes": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "integer",
        "maximum": 99,
        "minimum": 0
      },
      "maxItems": 100,
      "description": "The index of every row the person approved, from the preview. Required when confirm is true.",
      "uniqueItems": true
    }
  },
  "additionalProperties": false
}
add_to_watchlist_batch output schema
{
  "type": "object",
  "required": [
    "status",
    "scope"
  ],
  "properties": {
    "rows": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "required": [
          "index",
          "input",
          "outcome"
        ],
        "properties": {
          "index": {
            "type": "integer"
          },
          "input": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "listing": {
            "type": [
              "null",
              "object"
            ],
            "required": [
              "ticker",
              "exchange"
            ],
            "properties": {
              "ticker": {
                "type": "string"
              },
              "exchange": {
                "type": "string"
              },
              "company_name": {
                "type": "string"
              }
            }
          },
          "message": {
            "type": "string"
          },
          "outcome": {
            "enum": [
              "added",
              "already_in_portfolio",
              "ambiguous",
              "unsupported_instrument",
              "not_found",
              "not_covered",
              "over_capacity",
              "failed"
            ],
            "type": "string"
          },
          "candidates": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "object",
              "required": [
                "ticker",
                "exchange"
              ],
              "properties": {
                "ticker": {
                  "type": "string"
                },
                "exchange": {
                  "type": "string"
                },
                "company_name": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "scope": {
      "enum": [
        "user_watchlist_batch"
      ],
      "type": "string"
    },
    "reason": {
      "enum": [
        "unknown",
        "expired",
        "portfolio",
        "rows"
      ],
      "type": "string"
    },
    "status": {
      "enum": [
        "previewed",
        "committed",
        "portfolio_not_found",
        "preview_mismatch"
      ],
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "summary": {
      "type": [
        "null",
        "object"
      ],
      "required": [
        "added",
        "already_in_portfolio",
        "repeated",
        "ambiguous",
        "unsupported_instrument",
        "not_found",
        "not_covered",
        "over_capacity",
        "failed"
      ],
      "properties": {
        "added": {
          "type": "integer"
        },
        "failed": {
          "type": "integer"
        },
        "repeated": {
          "type": "integer"
        },
        "ambiguous": {
          "type": "integer"
        },
        "not_found": {
          "type": "integer"
        },
        "not_covered": {
          "type": "integer"
        },
        "over_capacity": {
          "type": "integer"
        },
        "already_in_portfolio": {
          "type": "integer"
        },
        "unsupported_instrument": {
          "type": "integer"
        }
      }
    },
    "capacity": {
      "type": [
        "null",
        "object"
      ],
      "properties": {
        "limit": {
          "type": [
            "null",
            "integer"
          ]
        },
        "remaining": {
          "type": [
            "null",
            "integer"
          ]
        }
      }
    },
    "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"
            },
            "exchange": {
              "type": "string"
            }
          }
        },
        "description": {
          "type": "string"
        }
      }
    },
    "is_default": {
      "type": [
        "null",
        "boolean"
      ]
    },
    "portfolios": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "required": [
          "portfolio_id",
          "portfolio_name",
          "is_default",
          "company_count"
        ],
        "properties": {
          "is_default": {
            "type": "boolean"
          },
          "portfolio_id": {
            "type": "string"
          },
          "company_count": {
            "type": "integer"
          },
          "portfolio_name": {
            "type": "string"
          }
        }
      }
    },
    "preview_id": {
      "type": "string"
    },
    "portfolio_id": {
      "type": "string"
    },
    "summary_line": {
      "type": "string"
    },
    "company_count": {
      "type": [
        "null",
        "integer"
      ]
    },
    "portfolio_name": {
      "type": "string"
    },
    "portfolio_count": {
      "type": [
        "null",
        "integer"
      ]
    }
  }
}
add_to_watchlist_batch annotations
{
  "title": "Add Several to Portfolio",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
discover_stocks — Discover Stocks
Advertised by the server during the last successful anonymous check.
Advertised read-only

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 or ticker, and return the top or bottom N. Every list is computed inside one listing market: the one named in macro_in or exchange_in, otherwise the United States, and market and market_name in the result name it, so always say which market the rows are from, and when the person named no market, that others are covered, without screening them. For another market the person asks for (US, CA, EU, CH, GB, JP), call again naming it; never merge or compare lists across markets. multiple_markets and market_not_covered mean nothing was ranked: relay message. There is no popularity ordering; ask the person to choose another. Use it for any top, best, worst or filtered list, never one built from get_market_summary or general knowledge. To compare only companies the person names, call get_shortlist_summary instead. 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. When a ranked result carries message, relay it; it states what the ranking covers, so never present the rows as a ranking of more than that. 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. access_tier and reach_capped_at say what the caller can sort and how far; signed_in_as names their account. Report every returned row in its actual order and retain the population and access/substitution message. Where reading_ref and inspection are supplied, inspect only the company the person asks about; never fetch every row. When findings is present, explain findings.leading, then findings.first_answer, instead of key_drivers, as findings.claim allows: strongest, they moved this score most; strongest_first, the first moved it most and the second is another factor; explained, describe what the available evidence shows, with no biggest-mover sentence. Give a finding's fact figure with its own period, which can differ from the reading's date and from another finding's. A next look is findings.next_looks[0], or the second when the first's topic was already covered for this company in the conversation or misses the person's ask; skip both when both were covered, and never mention the one you do not ask. When the person asks directly for a figure a next look carries, give it with its period, then end with the other next look's question if it is still new. Otherwise ask that one question, in its words or your own, as the answer's final line, after any link. Never state, round or hint at any figure from next_looks before the person says yes. On a yes, give only its answer as given (the company figure with its period, and for a comparison the peer figure, statistic and group), without another call and without computing anything from the figures, then stop: no other offer, menu, save or analysis. After that answer, end with the other next look's question if it is still new; otherwise stop. A finding's qualification speaks only of that trailing P/E reading: when applied is true, say in the same sentence that the company's qualifying_measure of company_figure (trailing period to period_end) eased how StockLens weighed its P/E of pe_figure against peer_median for peer_group (a blended peer mark when peer_basis is blended, never a median of companies), and how it still reads there (remaining_assessment); when applied is false, mention the figure only as context, never as easing anything, whatever the finding's own label says. When qualifying_ref names another finding in the answer, it is the same figure: say it once, keeping both findings. Never present it as a change to the overall score or a view of the stock as a whole. For a finding tied to a source, give its event_date with the event (On the Oct 29 earnings call, In its Nov 8 filing; add the year across a year boundary). An insider transaction uses its trade date. For measured activity name the event_window_start and event_window_end, never a single latest article, filing or trade. Only the current result's dated reasons and questions qualify. Never substitute the reading's date or bring an undated, stale or future event into a reason or question. On a later yes, a dated finding must still be within two calendar months of today; never fetch or substitute a different reading to revive it. Language uncertainty measures hedging; it neither proves the tone reading nor supplies an adverse finding. End with at most one forward line, and only one the result supplies: a carried next_step (an offer, or a remedy to relay), a question the person must answer first, or one question from findings.next_looks as the findings rule says. Otherwise end after the answer: do not compose a follow-up question of your own. Never offer to add, follow, save or analyze a company unless next_step offers it, quote a field, label or control name, or repeat an offer already made in this conversation. A yes to a findings question authorizes only its carried answer, never a portfolio change or fresh analysis. One forward line serves the whole list; at most one row carries next_looks. A successful result counts once toward the person's weekly research allowance; a RATE_LIMITED result states the limit and when it renews, so relay it and do not call again before then.

discover_stocks input schema
{
  "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",
        "ticker",
        "market_cap",
        "volume"
      ],
      "type": "string",
      "description": "One of the 6 StockLens scores, market_cap, volume or ticker. Default composite_score. Popularity ordering is unavailable."
    },
    "macro_in": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "enum": [
          "US",
          "CA",
          "EU",
          "CH",
          "GB",
          "JP"
        ],
        "type": "string"
      },
      "description": "Listing market to rank in, where the companies list: US, CA, EU, CH, GB or JP. Every answer is computed inside one listing market, the one named here or by exchange_in, otherwise the United States, and market and market_name in the result say which. For another market, name it, for example JP. Several markets in one call are refused: call once per market and never merge the lists."
    },
    "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, all inside one listing market. Every answer is computed inside one listing market, the one these exchanges or macro_in belong to, otherwise the United States, and market and market_name in the result say which. Exchanges of different markets are refused: call once per market."
    },
    "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
}
discover_stocks output schema
{
  "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"
          },
          "findings": {
            "type": [
              "null",
              "object"
            ],
            "required": [
              "claim",
              "leading"
            ],
            "properties": {
              "claim": {
                "type": "string",
                "description": "How strongly the leading findings may be described. strongest: both moved this score most. strongest_first: the first moved it most and the second is another factor. explained: describe what the available evidence shows, with no biggest-mover sentence."
              },
              "leading": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "ref",
                    "driver"
                  ],
                  "properties": {
                    "ref": {
                      "type": "string",
                      "description": "This finding's reference within this reading only."
                    },
                    "fact": {
                      "type": [
                        "null",
                        "object"
                      ],
                      "required": [
                        "family",
                        "company_figure",
                        "period"
                      ],
                      "properties": {
                        "unit": {
                          "type": [
                            "null",
                            "string"
                          ],
                          "description": "The figures' unit as written; absent when the figure has none."
                        },
                        "family": {
                          "type": "string",
                          "description": "peer_comparison or stated_figure."
                        },
                        "period": {
                          "type": "string",
                          "description": "The window or point in time the figures describe, as written."
                        },
                        "peer_group": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "peer_figure": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "company_figure": {
                          "type": "string"
                        },
                        "peer_statistic": {
                          "type": [
                            "null",
                            "string"
                          ],
                          "description": "Which statistic of the peers peer_figure is, such as median."
                        }
                      },
                      "description": "This finding's certified figure with its own period and unit; give the figure with that period, which can differ from the reading's date."
                    },
                    "role": {
                      "type": "string",
                      "description": "counterpoint, reinforcing or contrasting; reinforcing means another material finding pointing the same way, never that one fact supports the other."
                    },
                    "topic": {
                      "type": "string",
                      "description": "The finding's public topic, stable across readings of this listing; use it to avoid repeating a finding in the conversation."
                    },
                    "driver": {
                      "type": "object",
                      "required": [
                        "kind",
                        "label"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string"
                        },
                        "label": {
                          "type": "string"
                        },
                        "domain": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "metric": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "context": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "event_date": {
                          "type": "string",
                          "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date."
                        },
                        "event_kind": {
                          "type": "string",
                          "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding)."
                        },
                        "peer_group": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "company_figure": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "event_window_end": {
                          "type": "string",
                          "description": "A measured aggregate's window end (ISO)."
                        },
                        "event_window_start": {
                          "type": "string",
                          "description": "A measured aggregate's window start (ISO); name the window, never one report."
                        },
                        "latest_material_event_date": {
                          "type": "string",
                          "description": "The latest material event inside an aggregate's window (ISO)."
                        }
                      }
                    },
                    "measure": {
                      "type": [
                        "null",
                        "string"
                      ],
                      "description": "The readable measure the finding is about: the only quantity a question about it may ask about."
                    },
                    "qualification": {
                      "type": [
                        "null",
                        "object"
                      ],
                      "required": [
                        "qualifying_topic",
                        "qualifying_measure",
                        "company_figure",
                        "period_end",
                        "pe_figure",
                        "peer_median",
                        "peer_group",
                        "peer_basis",
                        "position",
                        "applied",
                        "remaining_assessment"
                      ],
                      "properties": {
                        "applied": {
                          "type": "boolean",
                          "description": "true: the qualifying figure eased how StockLens weighed this P/E. false: it changed nothing here and is context at most, never a mitigation."
                        },
                        "position": {
                          "type": "string",
                          "description": "above, below or at: the P/E against the stated peer figure."
                        },
                        "pe_figure": {
                          "type": "string"
                        },
                        "peer_basis": {
                          "type": "string",
                          "description": "observed: a median of observed peer companies. blended: a blended peer mark, never to be called a median of companies."
                        },
                        "peer_group": {
                          "type": "string"
                        },
                        "period_end": {
                          "type": "string",
                          "description": "The end of the trailing period the figures describe (ISO date)."
                        },
                        "peer_median": {
                          "type": "string"
                        },
                        "company_figure": {
                          "type": "string",
                          "description": "The company's qualifying figure, as written."
                        },
                        "qualifying_ref": {
                          "type": "string",
                          "description": "The ref of another finding in this answer on the qualifying measure: the same figure, so say it once."
                        },
                        "qualifying_topic": {
                          "type": "string"
                        },
                        "qualifying_measure": {
                          "type": "string",
                          "description": "The qualifying measure's name, as StockLens says it."
                        },
                        "remaining_assessment": {
                          "type": "string",
                          "description": "headwind, neutral or supportive: how this P/E still reads at this valuation node."
                        }
                      }
                    }
                  }
                },
                "description": "This reading's strongest distinct, material, explainable influences on its score, in order (0 to 2). An empty list supplies no findings question. A separately carried next_step still applies."
              },
              "next_looks": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "question",
                    "ref",
                    "topic",
                    "measure",
                    "answer"
                  ],
                  "properties": {
                    "ref": {
                      "type": "string",
                      "description": "This finding's reference within this reading only."
                    },
                    "role": {
                      "type": "string",
                      "description": "reinforcing or contrasting, relative to the first leading finding."
                    },
                    "topic": {
                      "type": "string",
                      "description": "The finding's public topic; never ask about a topic already covered for this company in the conversation."
                    },
                    "answer": {
                      "type": "object",
                      "required": [
                        "family",
                        "company_figure",
                        "period"
                      ],
                      "properties": {
                        "unit": {
                          "type": [
                            "null",
                            "string"
                          ],
                          "description": "The figures' unit as written; absent when the figure has none."
                        },
                        "family": {
                          "type": "string",
                          "description": "peer_comparison or stated_figure."
                        },
                        "period": {
                          "type": "string",
                          "description": "The window or point in time the figures describe, as written."
                        },
                        "peer_group": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "peer_figure": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "company_figure": {
                          "type": "string"
                        },
                        "peer_statistic": {
                          "type": [
                            "null",
                            "string"
                          ],
                          "description": "Which statistic of the peers peer_figure is, such as median."
                        }
                      },
                      "description": "The certified facts that answer a yes, relayed as given with their period."
                    },
                    "measure": {
                      "type": "string"
                    },
                    "question": {
                      "type": "string",
                      "description": "An approved closing question this result can answer, worded for the assistant to ask; ask it as written or in your own words about the same measure."
                    },
                    "event_date": {
                      "type": "string",
                      "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date."
                    },
                    "event_kind": {
                      "type": "string",
                      "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding)."
                    },
                    "event_window_end": {
                      "type": "string",
                      "description": "A measured aggregate's window end (ISO)."
                    },
                    "event_window_start": {
                      "type": "string",
                      "description": "A measured aggregate's window start (ISO); name the window, never one report."
                    },
                    "latest_material_event_date": {
                      "type": "string",
                      "description": "The latest material event inside an aggregate's window (ISO)."
                    }
                  }
                },
                "description": "Up to two unused findings this result can answer, best first, each with an approved closing question; present at most one. Absent when an offer or another ask takes the closing line."
              },
              "first_answer": {
                "type": [
                  "null",
                  "object"
                ],
                "required": [
                  "ref",
                  "driver"
                ],
                "properties": {
                  "ref": {
                    "type": "string",
                    "description": "This finding's reference within this reading only."
                  },
                  "fact": {
                    "type": [
                      "null",
                      "object"
                    ],
                    "required": [
                      "family",
                      "company_figure",
                      "period"
                    ],
                    "properties": {
                      "unit": {
                        "type": [
                          "null",
                          "string"
                        ],
                        "description": "The figures' unit as written; absent when the figure has none."
                      },
                      "family": {
                        "type": "string",
                        "description": "peer_comparison or stated_figure."
                      },
                      "period": {
                        "type": "string",
                        "description": "The window or point in time the figures describe, as written."
                      },
                      "peer_group": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "peer_figure": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "company_figure": {
                        "type": "string"
                      },
                      "peer_statistic": {
                        "type": [
                          "null",
                          "string"
                        ],
                        "description": "Which statistic of the peers peer_figure is, such as median."
                      }
                    },
                    "description": "This finding's certified figure with its own period and unit; give the figure with that period, which can differ from the reading's date."
                  },
                  "role": {
                    "type": "string",
                    "description": "counterpoint, reinforcing or contrasting; reinforcing means another material finding pointing the same way, never that one fact supports the other."
                  },
                  "topic": {
                    "type": "string",
                    "description": "The finding's public topic, stable across readings of this listing; use it to avoid repeating a finding in the conversation."
                  },
                  "driver": {
                    "type": "object",
                    "required": [
                      "kind",
                      "label"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "domain": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "metric": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "context": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "event_date": {
                        "type": "string",
                        "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date."
                      },
                      "event_kind": {
                        "type": "string",
                        "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding)."
                      },
                      "peer_group": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "company_figure": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "event_window_end": {
                        "type": "string",
                        "description": "A measured aggregate's window end (ISO)."
                      },
                      "event_window_start": {
                        "type": "string",
                        "description": "A measured aggregate's window start (ISO); name the window, never one report."
                      },
                      "latest_material_event_date": {
                        "type": "string",
                        "description": "The latest material event inside an aggregate's window (ISO)."
                      }
                    }
                  },
                  "measure": {
                    "type": [
                      "null",
                      "string"
                    ],
                    "description": "The readable measure the finding is about: the only quantity a question about it may ask about."
                  },
                  "qualification": {
                    "type": [
                      "null",
                      "object"
                    ],
                    "required": [
                      "qualifying_topic",
                      "qualifying_measure",
                      "company_figure",
                      "period_end",
                      "pe_figure",
                      "peer_median",
                      "peer_group",
                      "peer_basis",
                      "position",
                      "applied",
                      "remaining_assessment"
                    ],
                    "properties": {
                      "applied": {
                        "type": "boolean",
                        "description": "true: the qualifying figure eased how StockLens weighed this P/E. false: it changed nothing here and is context at most, never a mitigation."
                      },
                      "position": {
                        "type": "string",
                        "description": "above, below or at: the P/E against the stated peer figure."
                      },
                      "pe_figure": {
                        "type": "string"
                      },
                      "peer_basis": {
                        "type": "string",
                        "description": "observed: a median of observed peer companies. blended: a blended peer mark, never to be called a median of companies."
                      },
                      "peer_group": {
                        "type": "string"
                      },
                      "period_end": {
                        "type": "string",
                        "description": "The end of the trailing period the figures describe (ISO date)."
                      },
                      "peer_median": {
                        "type": "string"
                      },
                      "company_figure": {
                        "type": "string",
                        "description": "The company's qualifying figure, as written."
                      },
                      "qualifying_ref": {
                        "type": "string",
                        "description": "The ref of another finding in this answer on the qualifying measure: the same figure, so say it once."
                      },
                      "qualifying_topic": {
                        "type": "string"
                      },
                      "qualifying_measure": {
                        "type": "string",
                        "description": "The qualifying measure's name, as StockLens says it."
                      },
                      "remaining_assessment": {
                        "type": "string",
                        "description": "headwind, neutral or supportive: how this P/E still reads at this valuation node."
                      }
                    }
                  }
                },
                "description": "One more finding the answer must carry: a counterpoint (a material finding pointing the other way) or another material finding pointing the same way. Never leave it for a question."
              }
            }
          },
          "industry": {
            "type": [
              "null",
              "string"
            ]
          },
          "inspection": {
            "type": [
              "null",
              "object"
            ],
            "required": [
              "label",
              "arguments"
            ],
            "properties": {
              "label": {
                "type": "string",
                "description": "Navigation metadata for selecting a view, not text for the person: never quote it. Read the selected result for its material context and bindings."
              },
              "arguments": {
                "type": "object",
                "required": [
                  "reading_ref"
                ],
                "properties": {
                  "view": {
                    "type": "string",
                    "description": "Copy from inspection.arguments; default overview. Only overview, finding, assessment or observation."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Copy the selector from inspection.arguments, including an optional overview continuation. Required for other views."
                  },
                  "reading_ref": {
                    "type": "string",
                    "description": "Exact reading_ref returned by StockLens. Never reconstruct from a ticker or date."
                  }
                }
              }
            }
          },
          "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"
            ]
          },
          "reading_ref": {
            "type": "string"
          },
          "company_name": {
            "type": [
              "null",
              "string"
            ]
          },
          "canonical_url": {
            "type": "string",
            "description": "Public company page for this listing. It shows the current nightly reading."
          },
          "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"
            ]
          }
        }
      }
    },
    "scope": {
      "enum": [
        "screened_universe"
      ],
      "type": "string"
    },
    "market": {
      "type": [
        "null",
        "string"
      ]
    },
    "status": {
      "enum": [
        "ranked",
        "browse_substituted",
        "locked",
        "multiple_markets",
        "market_not_covered"
      ],
      "type": "string"
    },
    "values": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "string"
      }
    },
    "markets": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "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"
            },
            "exchange": {
              "type": "string"
            }
          }
        },
        "description": {
          "type": "string"
        }
      }
    },
    "as_of_date": {
      "type": [
        "null",
        "string"
      ]
    },
    "access_tier": {
      "enum": [
        "FREE",
        "PRO",
        "MAX"
      ],
      "type": "string"
    },
    "data_source": {
      "type": "string"
    },
    "hard_locked": {
      "type": "boolean"
    },
    "market_name": {
      "type": [
        "null",
        "string"
      ]
    },
    "signed_in_as": {
      "type": "string"
    },
    "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"
        }
      }
    },
    "effective_sort": {
      "type": "string"
    },
    "reach_capped_at": {
      "type": [
        "null",
        "integer"
      ]
    },
    "sort_substituted": {
      "type": "boolean"
    },
    "effective_direction": {
      "type": "string"
    }
  }
}
discover_stocks annotations
{
  "title": "Discover Stocks",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
fetch_analysis_result — Fetch Analysis Result
Advertised by the server during the last successful anonymous check.
Advertised read-only

Return the progress or result of an analysis started with initiate_analysis, by its analysis_id. Each call returns the current state once; while the analysis or its written summaries are still being produced, it first waits up to 10 seconds for them. While status is in_progress, relay its message as given; never invent or rotate progress narration. In that state, or when narrative.status is pending or running, call again right away at most twice more, then relay message and stop until the person asks. A failed status is an answer; relay error_message. A complete result is the saved report: 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), its key_drivers (up to three, each with its evidence), lens and domain_coverage, and its written summaries (domain conclusions, synthesis, key strengths and challenges) at either depth once narrative.status is ready. Until then relay message: pending or running means they are still being written, and you may briefly summarize the scores and evidence supplied but never write a summary, cause or reason the result does not contain; failed means they could not be completed, and the scores and evidence stand. When reading_ref and inspection are supplied, use inspect_reading for available selected evidence in chat, without another run. Preserve every material qualification; do not repeat bound findings as additional independent reasons. Open with the score, rating word, evidence word and the lens it was read through (time_range_display and analysis_focus_display); then synthesis_report in its written order (The Punch Line, Key Drivers, Primary Counterpoint); then the domains by contribution, cornerstone and major first with their conclusions, supporting and contextual briefly; then strengths and challenges. When the written summaries are still pending, give the verdict, the lens, the domains by contribution and the ranked findings when present, otherwise key_drivers. Offer report_url briefly as Open saved report to inspect factor values, peer context and ranked contributors where supplied; it opens for the StockLens account signed_in_as names, so name that account beside the link. It can open before the written summaries finish, and opening it does not start another run. Say how much a domain counts only with its contribution word, never as a number or share. When result.findings is present, it gives this report's score reasons under its own horizon and analysis focus: use it in place of key_drivers, after the synthesis_report story, never instead of The Punch Line, Key Drivers or Primary Counterpoint. When findings is present, explain findings.leading, then findings.first_answer, instead of key_drivers, as findings.claim allows: strongest, they moved this score most; strongest_first, the first moved it most and the second is another factor; explained, describe what the available evidence shows, with no biggest-mover sentence. Give a finding's fact figure with its own period, which can differ from the reading's date and from another finding's. A next look is findings.next_looks[0], or the second when the first's topic was already covered for this company in the conversation or misses the person's ask; skip both when both were covered, and never mention the one you do not ask. When the person asks directly for a figure a next look carries, give it with its period, then end with the other next look's question if it is still new. Otherwise ask that one question, in its words or your own, as the answer's final line, after any link. Never state, round or hint at any figure from next_looks before the person says yes. On a yes, give only its answer as given (the company figure with its period, and for a comparison the peer figure, statistic and group), without another call and without computing anything from the figures, then stop: no other offer, menu, save or analysis. After that answer, end with the other next look's question if it is still new; otherwise stop. A finding's qualification speaks only of that trailing P/E reading: when applied is true, say in the same sentence that the company's qualifying_measure of company_figure (trailing period to period_end) eased how StockLens weighed its P/E of pe_figure against peer_median for peer_group (a blended peer mark when peer_basis is blended, never a median of companies), and how it still reads there (remaining_assessment); when applied is false, mention the figure only as context, never as easing anything, whatever the finding's own label says. When qualifying_ref names another finding in the answer, it is the same figure: say it once, keeping both findings. Never present it as a change to the overall score or a view of the stock as a whole. For a finding tied to a source, give its event_date with the event (On the Oct 29 earnings call, In its Nov 8 filing; add the year across a year boundary). An insider transaction uses its trade date. For measured activity name the event_window_start and event_window_end, never a single latest article, filing or trade. Only the current result's dated reasons and questions qualify. Never substitute the reading's date or bring an undated, stale or future event into a reason or question. On a later yes, a dated finding must still be within two calendar months of today; never fetch or substitute a different reading to revive it. Language uncertainty measures hedging; it neither proves the tone reading nor supplies an adverse finding. Use written synthesis, domain conclusions, strengths and challenges in their supplied order. Only a carried eligible finding or driver can make a source event a current score reason. When the person asks for original evidence, give a filing with its filing_date or an article with its published_at as history. Bold each company's score and rating word where the answer first gives them. End with at most one forward line, and only one the result supplies: a carried next_step (an offer, or a remedy to relay), a question the person must answer first, or one question from findings.next_looks as the findings rule says. Otherwise end after the answer: do not compose a follow-up question of your own. Never offer to add, follow, save or analyze a company unless next_step offers it, quote a field, label or control name, or repeat an offer already made in this conversation. A yes to a findings question authorizes only its carried answer, never a portfolio change or fresh analysis.

fetch_analysis_result input schema
{
  "type": "object",
  "required": [
    "analysis_id"
  ],
  "properties": {
    "analysis_id": {
      "type": "string",
      "description": "The analysis_id returned by initiate_analysis"
    }
  },
  "additionalProperties": false
}
fetch_analysis_result output schema
{
  "type": "object",
  "required": [
    "analysis_id",
    "status",
    "scope"
  ],
  "properties": {
    "scope": {
      "enum": [
        "single_analysis_result"
      ],
      "type": "string"
    },
    "result": {
      "type": [
        "null",
        "object"
      ],
      "anyOf": [
        {
          "required": [
            "analysis_focus",
            "analysis_focus_display"
          ]
        },
        {
          "required": [
            "risk_tolerance",
            "risk_tolerance_display"
          ]
        }
      ],
      "required": [
        "symbol",
        "exchange",
        "company_name",
        "credit_type",
        "time_range_display",
        "analysis_date",
        "exchange_timezone",
        "domains"
      ],
      "properties": {
        "lens": {
          "type": [
            "null",
            "object"
          ],
          "required": [
            "label"
          ],
          "properties": {
            "label": {
              "type": "string"
            }
          }
        },
        "symbol": {
          "type": "string"
        },
        "domains": {
          "type": [
            "null",
            "array"
          ],
          "items": {
            "type": "object",
            "required": [
              "domain",
              "score",
              "grade"
            ],
            "properties": {
              "grade": {
                "type": "string"
              },
              "score": {
                "type": "integer"
              },
              "domain": {
                "type": "string"
              },
              "analysis": {
                "type": [
                  "null",
                  "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"
                    }
                  }
                }
              },
              "insider_key_metrics": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "label",
                    "value"
                  ],
                  "properties": {
                    "label": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "currency": {
          "type": "string"
        },
        "evidence": {
          "type": "string"
        },
        "exchange": {
          "type": "string"
        },
        "findings": {
          "type": [
            "null",
            "object"
          ],
          "required": [
            "claim",
            "leading"
          ],
          "properties": {
            "claim": {
              "type": "string",
              "description": "How strongly the leading findings may be described. strongest: both moved this score most. strongest_first: the first moved it most and the second is another factor. explained: describe what the available evidence shows, with no biggest-mover sentence."
            },
            "leading": {
              "type": [
                "null",
                "array"
              ],
              "items": {
                "type": "object",
                "required": [
                  "ref",
                  "driver"
                ],
                "properties": {
                  "ref": {
                    "type": "string",
                    "description": "This finding's reference within this reading only."
                  },
                  "fact": {
                    "type": [
                      "null",
                      "object"
                    ],
                    "required": [
                      "family",
                      "company_figure",
                      "period"
                    ],
                    "properties": {
                      "unit": {
                        "type": [
                          "null",
                          "string"
                        ],
                        "description": "The figures' unit as written; absent when the figure has none."
                      },
                      "family": {
                        "type": "string",
                        "description": "peer_comparison or stated_figure."
                      },
                      "period": {
                        "type": "string",
                        "description": "The window or point in time the figures describe, as written."
                      },
                      "peer_group": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "peer_figure": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "company_figure": {
                        "type": "string"
                      },
                      "peer_statistic": {
                        "type": [
                          "null",
                          "string"
                        ],
                        "description": "Which statistic of the peers peer_figure is, such as median."
                      }
                    },
                    "description": "This finding's certified figure with its own period and unit; give the figure with that period, which can differ from the reading's date."
                  },
                  "role": {
                    "type": "string",
                    "description": "counterpoint, reinforcing or contrasting; reinforcing means another material finding pointing the same way, never that one fact supports the other."
                  },
                  "topic": {
                    "type": "string",
                    "description": "The finding's public topic, stable across readings of this listing; use it to avoid repeating a finding in the conversation."
                  },
                  "driver": {
                    "type": "object",
                    "required": [
                      "kind",
                      "label"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "domain": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "metric": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "context": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "event_date": {
                        "type": "string",
                        "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date."
                      },
                      "event_kind": {
                        "type": "string",
                        "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding)."
                      },
                      "peer_group": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "company_figure": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "event_window_end": {
                        "type": "string",
                        "description": "A measured aggregate's window end (ISO)."
                      },
                      "event_window_start": {
                        "type": "string",
                        "description": "A measured aggregate's window start (ISO); name the window, never one report."
                      },
                      "latest_material_event_date": {
                        "type": "string",
                        "description": "The latest material event inside an aggregate's window (ISO)."
                      }
                    }
                  },
                  "measure": {
                    "type": [
                      "null",
                      "string"
                    ],
                    "description": "The readable measure the finding is about: the only quantity a question about it may ask about."
                  },
                  "qualification": {
                    "type": [
                      "null",
                      "object"
                    ],
                    "required": [
                      "qualifying_topic",
                      "qualifying_measure",
                      "company_figure",
                      "period_end",
                      "pe_figure",
                      "peer_median",
                      "peer_group",
                      "peer_basis",
                      "position",
                      "applied",
                      "remaining_assessment"
                    ],
                    "properties": {
                      "applied": {
                        "type": "boolean",
                        "description": "true: the qualifying figure eased how StockLens weighed this P/E. false: it changed nothing here and is context at most, never a mitigation."
                      },
                      "position": {
                        "type": "string",
                        "description": "above, below or at: the P/E against the stated peer figure."
                      },
                      "pe_figure": {
                        "type": "string"
                      },
                      "peer_basis": {
                        "type": "string",
                        "description": "observed: a median of observed peer companies. blended: a blended peer mark, never to be called a median of companies."
                      },
                      "peer_group": {
                        "type": "string"
                      },
                      "period_end": {
                        "type": "string",
                        "description": "The end of the trailing period the figures describe (ISO date)."
                      },
                      "peer_median": {
                        "type": "string"
                      },
                      "company_figure": {
                        "type": "string",
                        "description": "The company's qualifying figure, as written."
                      },
                      "qualifying_ref": {
                        "type": "string",
                        "description": "The ref of another finding in this answer on the qualifying measure: the same figure, so say it once."
                      },
                      "qualifying_topic": {
                        "type": "string"
                      },
                      "qualifying_measure": {
                        "type": "string",
                        "description": "The qualifying measure's name, as StockLens says it."
                      },
                      "remaining_assessment": {
                        "type": "string",
                        "description": "headwind, neutral or supportive: how this P/E still reads at this valuation node."
                      }
                    }
                  }
                }
              },
              "description": "This reading's strongest distinct, material, explainable influences on its score, in order (0 to 2). An empty list supplies no findings question. A separately carried next_step still applies."
            },
            "next_looks": {
              "type": [
                "null",
                "array"
              ],
              "items": {
                "type": "object",
                "required": [
                  "question",
                  "ref",
                  "topic",
                  "measure",
                  "answer"
                ],
                "properties": {
                  "ref": {
                    "type": "string",
                    "description": "This finding's reference within this reading only."
                  },
                  "role": {
                    "type": "string",
                    "description": "reinforcing or contrasting, relative to the first leading finding."
                  },
                  "topic": {
                    "type": "string",
                    "description": "The finding's public topic; never ask about a topic already covered for this company in the conversation."
                  },
                  "answer": {
                    "type": "object",
                    "required": [
                      "family",
                      "company_figure",
                      "period"
                    ],
                    "properties": {
                      "unit": {
                        "type": [
                          "null",
                          "string"
                        ],
                        "description": "The figures' unit as written; absent when the figure has none."
                      },
                      "family": {
                        "type": "string",
                        "description": "peer_comparison or stated_figure."
                      },
                      "period": {
                        "type": "string",
                        "description": "The window or point in time the figures describe, as written."
                      },
                      "peer_group": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "peer_figure": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "company_figure": {
                        "type": "string"
                      },
                      "peer_statistic": {
                        "type": [
                          "null",
                          "string"
                        ],
                        "description": "Which statistic of the peers peer_figure is, such as median."
                      }
                    },
                    "description": "The certified facts that answer a yes, relayed as given with their period."
                  },
                  "measure": {
                    "type": "string"
                  },
                  "question": {
                    "type": "string",
                    "description": "An approved closing question this result can answer, worded for the assistant to ask; ask it as written or in your own words about the same measure."
                  },
                  "event_date": {
                    "type": "string",
                    "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date."
                  },
                  "event_kind": {
                    "type": "string",
                    "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding)."
                  },
                  "event_window_end": {
                    "type": "string",
                    "description": "A measured aggregate's window end (ISO)."
                  },
                  "event_window_start": {
                    "type": "string",
                    "description": "A measured aggregate's window start (ISO); name the window, never one report."
                  },
                  "latest_material_event_date": {
                    "type": "string",
                    "description": "The latest material event inside an aggregate's window (ISO)."
                  }
                }
              },
              "description": "Up to two unused findings this result can answer, best first, each with an approved closing question; present at most one. Absent when an offer or another ask takes the closing line."
            },
            "first_answer": {
              "type": [
                "null",
                "object"
              ],
              "required": [
                "ref",
                "driver"
              ],
              "properties": {
                "ref": {
                  "type": "string",
                  "description": "This finding's reference within this reading only."
                },
                "fact": {
                  "type": [
                    "null",
                    "object"
                  ],
                  "required": [
                    "family",
                    "company_figure",
                    "period"
                  ],
                  "properties": {
                    "unit": {
                      "type": [
                        "null",
                        "string"
                      ],
                      "description": "The figures' unit as written; absent when the figure has none."
                    },
                    "family": {
                      "type": "string",
                      "description": "peer_comparison or stated_figure."
                    },
                    "period": {
                      "type": "string",
                      "description": "The window or point in time the figures describe, as written."
                    },
                    "peer_group": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "peer_figure": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "company_figure": {
                      "type": "string"
                    },
                    "peer_statistic": {
                      "type": [
                        "null",
                        "string"
                      ],
                      "description": "Which statistic of the peers peer_figure is, such as median."
                    }
                  },
                  "description": "This finding's certified figure with its own period and unit; give the figure with that period, which can differ from the reading's date."
                },
                "role": {
                  "type": "string",
                  "description": "counterpoint, reinforcing or contrasting; reinforcing means another material finding pointing the same way, never that one fact supports the other."
                },
                "topic": {
                  "type": "string",
                  "description": "The finding's public topic, stable across readings of this listing; use it to avoid repeating a finding in the conversation."
                },
                "driver": {
                  "type": "object",
                  "required": [
                    "kind",
                    "label"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "domain": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "metric": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "context": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "event_date": {
                      "type": "string",
                      "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date."
                    },
                    "event_kind": {
                      "type": "string",
                      "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding)."
                    },
                    "peer_group": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "company_figure": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "event_window_end": {
                      "type": "string",
                      "description": "A measured aggregate's window end (ISO)."
                    },
                    "event_window_start": {
                      "type": "string",
                      "description": "A measured aggregate's window start (ISO); name the window, never one report."
                    },
                    "latest_material_event_date": {
                      "type": "string",
                      "description": "The latest material event inside an aggregate's window (ISO)."
                    }
                  }
                },
                "measure": {
                  "type": [
                    "null",
                    "string"
                  ],
                  "description": "The readable measure the finding is about: the only quantity a question about it may ask about."
                },
                "qualification": {
                  "type": [
                    "null",
                    "object"
                  ],
                  "required": [
                    "qualifying_topic",
                    "qualifying_measure",
                    "company_figure",
                    "period_end",
                    "pe_figure",
                    "peer_median",
                    "peer_group",
                    "peer_basis",
                    "position",
                    "applied",
                    "remaining_assessment"
                  ],
                  "properties": {
                    "applied": {
                      "type": "boolean",
                      "description": "true: the qualifying figure eased how StockLens weighed this P/E. false: it changed nothing here and is context at most, never a mitigation."
                    },
                    "position": {
                      "type": "string",
                      "description": "above, below or at: the P/E against the stated peer figure."
                    },
                    "pe_figure": {
                      "type": "string"
                    },
                    "peer_basis": {
                      "type": "string",
                      "description": "observed: a median of observed peer companies. blended: a blended peer mark, never to be called a median of companies."
                    },
                    "peer_group": {
                      "type": "string"
                    },
                    "period_end": {
                      "type": "string",
                      "description": "The end of the trailing period the figures describe (ISO date)."
                    },
                    "peer_median": {
                      "type": "string"
                    },
                    "company_figure": {
                      "type": "string",
                      "description": "The company's qualifying figure, as written."
                    },
                    "qualifying_ref": {
                      "type": "string",
                      "description": "The ref of another finding in this answer on the qualifying measure: the same figure, so say it once."
                    },
                    "qualifying_topic": {
                      "type": "string"
                    },
                    "qualifying_measure": {
                      "type": "string",
                      "description": "The qualifying measure's name, as StockLens says it."
                    },
                    "remaining_assessment": {
                      "type": "string",
                      "description": "headwind, neutral or supportive: how this P/E still reads at this valuation node."
                    }
                  }
                }
              },
              "description": "One more finding the answer must carry: a counterpoint (a material finding pointing the other way) or another material finding pointing the same way. Never leave it for a question."
            }
          }
        },
        "credit_type": {
          "type": "string"
        },
        "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"
                ]
              },
              "event_date": {
                "type": "string",
                "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date."
              },
              "event_kind": {
                "type": "string",
                "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding)."
              },
              "peer_group": {
                "type": [
                  "null",
                  "string"
                ]
              },
              "company_figure": {
                "type": [
                  "null",
                  "string"
                ]
              },
              "event_window_end": {
                "type": "string",
                "description": "A measured aggregate's window end (ISO)."
              },
              "event_window_start": {
                "type": "string",
                "description": "A measured aggregate's window start (ISO); name the window, never one report."
              },
              "latest_material_event_date": {
                "type": "string",
                "description": "The latest material event inside an aggregate's window (ISO)."
              }
            }
          }
        },
        "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"
              }
            }
          }
        },
        "price_change": {
          "type": [
            "null",
            "number"
          ]
        },
        "analysis_date": {
          "type": "string"
        },
        "canonical_url": {
          "type": "string",
          "description": "Public company page for this listing. It shows the current nightly reading."
        },
        "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"
              }
            }
          }
        },
        "analysis_focus": {
          "type": "string"
        },
        "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"
              }
            }
          }
        },
        "risk_tolerance": {
          "type": "string",
          "description": "Historical response alias for analysis_focus; new responses use the canonical key."
        },
        "domain_coverage": {
          "type": [
            "null",
            "object"
          ],
          "properties": {
            "not_scored": {
              "type": [
                "null",
                "array"
              ],
              "items": {
                "enum": [
                  "Fundamental",
                  "Technical",
                  "Risk",
                  "Sentiment",
                  "Macro"
                ],
                "type": "string"
              }
            },
            "sentiment_sources_note": {
              "type": "string",
              "description": "The Sentiment evidence this reading did not use and why, as one sentence to relay as given, for example: Evidence not read in this analysis: earnings calls (none found recently)."
            }
          }
        },
        "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"
          ]
        },
        "analysis_focus_display": {
          "type": "string"
        },
        "risk_tolerance_display": {
          "type": "string",
          "description": "Historical response alias for analysis_focus_display; new responses use the canonical key."
        },
        "display_composite_score": {
          "type": [
            "null",
            "integer"
          ]
        },
        "evidence_history_family": {
          "type": [
            "null",
            "string"
          ]
        },
        "analysis_source_exchange": {
          "type": [
            "null",
            "string"
          ]
        }
      }
    },
    "status": {
      "enum": [
        "in_progress",
        "complete",
        "failed"
      ],
      "type": "string"
    },
    "message": {
      "type": "string",
      "description": "A sentence to relay as given: while in_progress, the analysis's actual stage; on a complete result, whether its written summaries are still being written or could not be completed. Never invent or rotate progress narration."
    },
    "narrative": {
      "type": [
        "null",
        "object"
      ],
      "required": [
        "status",
        "revision"
      ],
      "properties": {
        "status": {
          "enum": [
            "pending",
            "running",
            "ready",
            "failed"
          ],
          "type": "string",
          "description": "pending or running: still being written, and not in this result. ready: in this result. failed: could not be completed; the scores and evidence are unaffected."
        },
        "ready_at": {
          "type": "string",
          "description": "When the written summaries became ready (ISO 8601)."
        },
        "revision": {
          "type": "integer",
          "description": "Rises with every change of the summaries' state; a higher revision is the newer answer."
        },
        "failed_at": {
          "type": "string",
          "description": "When the written summaries failed (ISO 8601)."
        },
        "error_code": {
          "enum": [
            "DEADLINE_EXCEEDED",
            "DELIVERY_BUDGET_EXHAUSTED",
            "PROVIDER_UNAVAILABLE",
            "PROVIDER_REJECTED",
            "INVALID_NARRATIVE",
            "UNSUPPORTED_CONSUMER",
            "CORRUPT_PAYLOAD",
            "INTERNAL_FAILURE"
          ],
          "type": "string",
          "description": "Why the written summaries failed, as a diagnostic code."
        }
      },
      "description": "The state of the written summaries (the domain conclusions, the synthesis, and the key strengths and challenges) of a complete result."
    },
    "inspection": {
      "type": [
        "null",
        "object"
      ],
      "required": [
        "label",
        "arguments"
      ],
      "properties": {
        "label": {
          "type": "string",
          "description": "Navigation metadata for selecting a view, not text for the person: never quote it. Read the selected result for its material context and bindings."
        },
        "arguments": {
          "type": "object",
          "required": [
            "reading_ref"
          ],
          "properties": {
            "view": {
              "type": "string",
              "description": "Copy from inspection.arguments; default overview. Only overview, finding, assessment or observation."
            },
            "selector": {
              "type": "string",
              "description": "Copy the selector from inspection.arguments, including an optional overview continuation. Required for other views."
            },
            "reading_ref": {
              "type": "string",
              "description": "Exact reading_ref returned by StockLens. Never reconstruct from a ticker or date."
            }
          }
        }
      }
    },
    "report_url": {
      "type": "string",
      "description": "Open this saved report for factor values, peer context and ranked contributors through Explain where supplied. Sign in to the owning StockLens account. Reading it does not start another analysis. Present with every complete result, which has passed ownership checks; the report can open before its written summaries finish."
    },
    "analysis_id": {
      "type": "string"
    },
    "base_digest": {
      "type": "string",
      "description": "Identifies the saved scores and evidence of a complete result. It stays the same when the written summaries arrive."
    },
    "reading_ref": {
      "type": "string"
    },
    "progress_pct": {
      "type": [
        "null",
        "integer"
      ]
    },
    "signed_in_as": {
      "type": "string",
      "description": "The StockLens account that owns report_url, its email masked: the report opens on stocklens.com when this account is signed in. Present only with report_url."
    },
    "error_message": {
      "type": [
        "null",
        "string"
      ]
    },
    "retry_after_seconds": {
      "type": [
        "null",
        "integer"
      ]
    },
    "deterministic_ready_at": {
      "type": "string",
      "description": "When the scores and evidence were saved, ahead of the written summaries (ISO 8601). Absent when the report was saved together with its summaries."
    }
  }
}
fetch_analysis_result annotations
{
  "title": "Fetch Analysis Result",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_market_summary — Get Company Score
Advertised by the server during the last successful anonymous check.
Advertised read-only

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. Bold each company's score and rating word where the answer first gives them. When findings is present, explain findings.leading, then findings.first_answer, instead of key_drivers, as findings.claim allows: strongest, they moved this score most; strongest_first, the first moved it most and the second is another factor; explained, describe what the available evidence shows, with no biggest-mover sentence. Give a finding's fact figure with its own period, which can differ from the reading's date and from another finding's. A next look is findings.next_looks[0], or the second when the first's topic was already covered for this company in the conversation or misses the person's ask; skip both when both were covered, and never mention the one you do not ask. When the person asks directly for a figure a next look carries, give it with its period, then end with the other next look's question if it is still new. Otherwise ask that one question, in its words or your own, as the answer's final line, after any link. Never state, round or hint at any figure from next_looks before the person says yes. On a yes, give only its answer as given (the company figure with its period, and for a comparison the peer figure, statistic and group), without another call and without computing anything from the figures, then stop: no other offer, menu, save or analysis. After that answer, end with the other next look's question if it is still new; otherwise stop. A finding's qualification speaks only of that trailing P/E reading: when applied is true, say in the same sentence that the company's qualifying_measure of company_figure (trailing period to period_end) eased how StockLens weighed its P/E of pe_figure against peer_median for peer_group (a blended peer mark when peer_basis is blended, never a median of companies), and how it still reads there (remaining_assessment); when applied is false, mention the figure only as context, never as easing anything, whatever the finding's own label says. When qualifying_ref names another finding in the answer, it is the same figure: say it once, keeping both findings. Never present it as a change to the overall score or a view of the stock as a whole. For a finding tied to a source, give its event_date with the event (On the Oct 29 earnings call, In its Nov 8 filing; add the year across a year boundary). An insider transaction uses its trade date. For measured activity name the event_window_start and event_window_end, never a single latest article, filing or trade. Only the current result's dated reasons and questions qualify. Never substitute the reading's date or bring an undated, stale or future event into a reason or question. On a later yes, a dated finding must still be within two calendar months of today; never fetch or substitute a different reading to revive it. Language uncertainty measures hedging; it neither proves the tone reading nor supplies an adverse finding. Answer in this order: the score and rating word with the reading's date; its available standing as a short list, Fundamental then Composite, in its market; then the supplied findings, or key_drivers if findings are absent, in their given order. Use each reason's evidence and its kind in words: SUPPORTIVE supports the reading, HEADWIND weighs against it and is never dropped or softened, MIXED cuts both ways only when its evidence carries both sides, COVERAGE_GAP is a coverage limit and NEUTRAL_NOT_MATERIAL a nonmaterial observation, neither a reason either way; then the domains in grade words. A higher Risk score means a stronger risk posture and less downside concern. Without an account, scores answer for the largest companies in each market; 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; a list offer's rows are list_companies, for add_to_watchlist_batch. When public_page is present, you may mention it once for that company, briefly, as a link with its label, after the answer and before any closing question. Cite its canonical_url when present. 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. For the evidence behind a reading, call inspect_reading with its labelled reading_ref and inspection arguments; it starts no run. Call initiate_analysis only when the person asks for a fresh analysis or agrees to one; asking for the score is not that. State available standing inside the complete reading, led by Fundamental then the coarse Composite band, with standing.universe, each band's population and standing.as_of. Each listing market is its own universe; different markets may be read side by side, never ranked on one scale. Never compute bands, quote exact numeric ranks or percentiles, or turn a standing change into a company fact. Relay standing.message and standing_definition's exclusions as given, and say so when standing is absent. For a plan_limited result, relay standing.message only when the person asks about standing, rank or comparison. One company per call; for two or more companies the person names use get_shortlist_summary. For any other ranked or filtered list call discover_stocks, and never build a ranking yourself. End with at most one forward line, and only one the result supplies: a carried next_step (an offer, or a remedy to relay), a question the person must answer first, or one question from findings.next_looks as the findings rule says. Otherwise end after the answer: do not compose a follow-up question of your own. Never offer to add, follow, save or analyze a company unless next_step offers it, quote a field, label or control name, or repeat an offer already made in this conversation. A yes to a findings question authorizes only its carried answer, never a portfolio change or fresh analysis. A successful result counts once toward the person's weekly research allowance; a RATE_LIMITED result states the limit and when it renews, so relay it and do not call again before then.

get_market_summary input schema
{
  "type": "object",
  "required": [
    "ticker"
  ],
  "properties": {
    "ticker": {
      "type": "string",
      "pattern": "^[^\\s,;/][^,;/\\r\\n]{0,79}$",
      "description": "The company's ticker symbol (e.g. AAPL), or its name as the person gave it (e.g. Apple). One company only."
    },
    "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
}
get_market_summary output schema
{
  "type": "object",
  "required": [
    "status",
    "ticker",
    "scope"
  ],
  "properties": {
    "lens": {
      "type": [
        "null",
        "object"
      ],
      "required": [
        "label"
      ],
      "properties": {
        "label": {
          "type": "string"
        }
      }
    },
    "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"
    },
    "findings": {
      "type": [
        "null",
        "object"
      ],
      "required": [
        "claim",
        "leading"
      ],
      "properties": {
        "claim": {
          "type": "string",
          "description": "How strongly the leading findings may be described. strongest: both moved this score most. strongest_first: the first moved it most and the second is another factor. explained: describe what the available evidence shows, with no biggest-mover sentence."
        },
        "leading": {
          "type": [
            "null",
            "array"
          ],
          "items": {
            "type": "object",
            "required": [
              "ref",
              "driver"
            ],
            "properties": {
              "ref": {
                "type": "string",
                "description": "This finding's reference within this reading only."
              },
              "fact": {
                "type": [
                  "null",
                  "object"
                ],
                "required": [
                  "family",
                  "company_figure",
                  "period"
                ],
                "properties": {
                  "unit": {
                    "type": [
                      "null",
                      "string"
                    ],
                    "description": "The figures' unit as written; absent when the figure has none."
                  },
                  "family": {
                    "type": "string",
                    "description": "peer_comparison or stated_figure."
                  },
                  "period": {
                    "type": "string",
                    "description": "The window or point in time the figures describe, as written."
                  },
                  "peer_group": {
                    "type": [
                      "null",
                      "string"
                    ]
                  },
                  "peer_figure": {
                    "type": [
                      "null",
                      "string"
                    ]
                  },
                  "company_figure": {
                    "type": "string"
                  },
                  "peer_statistic": {
                    "type": [
                      "null",
                      "string"
                    ],
                    "description": "Which statistic of the peers peer_figure is, such as median."
                  }
                },
                "description": "This finding's certified figure with its own period and unit; give the figure with that period, which can differ from the reading's date."
              },
              "role": {
                "type": "string",
                "description": "counterpoint, reinforcing or contrasting; reinforcing means another material finding pointing the same way, never that one fact supports the other."
              },
              "topic": {
                "type": "string",
                "description": "The finding's public topic, stable across readings of this listing; use it to avoid repeating a finding in the conversation."
              },
              "driver": {
                "type": "object",
                "required": [
                  "kind",
                  "label"
                ],
                "properties": {
                  "kind": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  },
                  "domain": {
                    "type": [
                      "null",
                      "string"
                    ]
                  },
                  "metric": {
                    "type": [
                      "null",
                      "string"
                    ]
                  },
                  "context": {
                    "type": [
                      "null",
                      "string"
                    ]
                  },
                  "event_date": {
                    "type": "string",
                    "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date."
                  },
                  "event_kind": {
                    "type": "string",
                    "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding)."
                  },
                  "peer_group": {
                    "type": [
                      "null",
                      "string"
                    ]
                  },
                  "company_figure": {
                    "type": [
                      "null",
                      "string"
                    ]
                  },
                  "event_window_end": {
                    "type": "string",
                    "description": "A measured aggregate's window end (ISO)."
                  },
                  "event_window_start": {
                    "type": "string",
                    "description": "A measured aggregate's window start (ISO); name the window, never one report."
                  },
                  "latest_material_event_date": {
                    "type": "string",
                    "description": "The latest material event inside an aggregate's window (ISO)."
                  }
                }
              },
              "measure": {
                "type": [
                  "null",
                  "string"
                ],
                "description": "The readable measure the finding is about: the only quantity a question about it may ask about."
              },
              "qualification": {
                "type": [
                  "null",
                  "object"
                ],
                "required": [
                  "qualifying_topic",
                  "qualifying_measure",
                  "company_figure",
                  "period_end",
                  "pe_figure",
                  "peer_median",
                  "peer_group",
                  "peer_basis",
                  "position",
                  "applied",
                  "remaining_assessment"
                ],
                "properties": {
                  "applied": {
                    "type": "boolean",
                    "description": "true: the qualifying figure eased how StockLens weighed this P/E. false: it changed nothing here and is context at most, never a mitigation."
                  },
                  "position": {
                    "type": "string",
                    "description": "above, below or at: the P/E against the stated peer figure."
                  },
                  "pe_figure": {
                    "type": "string"
                  },
                  "peer_basis": {
                    "type": "string",
                    "description": "observed: a median of observed peer companies. blended: a blended peer mark, never to be called a median of companies."
                  },
                  "peer_group": {
                    "type": "string"
                  },
                  "period_end": {
                    "type": "string",
                    "description": "The end of the trailing period the figures describe (ISO date)."
                  },
                  "peer_median": {
                    "type": "string"
                  },
                  "company_figure": {
                    "type": "string",
                    "description": "The company's qualifying figure, as written."
                  },
                  "qualifying_ref": {
                    "type": "string",
                    "description": "The ref of another finding in this answer on the qualifying measure: the same figure, so say it once."
                  },
                  "qualifying_topic": {
                    "type": "string"
                  },
                  "qualifying_measure": {
                    "type": "string",
                    "description": "The qualifying measure's name, as StockLens says it."
                  },
                  "remaining_assessment": {
                    "type": "string",
                    "description": "headwind, neutral or supportive: how this P/E still reads at this valuation node."
                  }
                }
              }
            }
          },
          "description": "This reading's strongest distinct, material, explainable influences on its score, in order (0 to 2). An empty list supplies no findings question. A separately carried next_step still applies."
        },
        "next_looks": {
          "type": [
            "null",
            "array"
          ],
          "items": {
            "type": "object",
            "required": [
              "question",
              "ref",
              "topic",
              "measure",
              "answer"
            ],
            "properties": {
              "ref": {
                "type": "string",
                "description": "This finding's reference within this reading only."
              },
              "role": {
                "type": "string",
                "description": "reinforcing or contrasting, relative to the first leading finding."
              },
              "topic": {
                "type": "string",
                "description": "The finding's public topic; never ask about a topic already covered for this company in the conversation."
              },
              "answer": {
                "type": "object",
                "required": [
                  "family",
                  "company_figure",
                  "period"
                ],
                "properties": {
                  "unit": {
                    "type": [
                      "null",
                      "string"
                    ],
                    "description": "The figures' unit as written; absent when the figure has none."
                  },
                  "family": {
                    "type": "string",
                    "description": "peer_comparison or stated_figure."
                  },
                  "period": {
                    "type": "string",
                    "description": "The window or point in time the figures describe, as written."
                  },
                  "peer_group": {
                    "type": [
                      "null",
                      "string"
                    ]
                  },
                  "peer_figure": {
                    "type": [
                      "null",
                      "string"
                    ]
                  },
                  "company_figure": {
                    "type": "string"
                  },
                  "peer_statistic": {
                    "type": [
                      "null",
                      "string"
                    ],
                    "description": "Which statistic of the peers peer_figure is, such as median."
                  }
                },
                "description": "The certified facts that answer a yes, relayed as given with their period."
              },
              "measure": {
                "type": "string"
              },
              "question": {
                "type": "string",
                "description": "An approved closing question this result can answer, worded for the assistant to ask; ask it as written or in your own words about the same measure."
              },
              "event_date": {
                "type": "string",
                "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date."
              },
              "event_kind": {
                "type": "string",
                "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding)."
              },
              "event_window_end": {
                "type": "string",
                "description": "A measured aggregate's window end (ISO)."
              },
              "event_window_start": {
                "type": "string",
                "description": "A measured aggregate's window start (ISO); name the window, never one report."
              },
              "latest_material_event_date": {
                "type": "string",
                "description": "The latest material event inside an aggregate's window (ISO)."
              }
            }
          },
          "description": "Up to two unused findings this result can answer, best first, each with an approved closing question; present at most one. Absent when an offer or another ask takes the closing line."
        },
        "first_answer": {
          "type": [
            "null",
            "object"
          ],
          "required": [
            "ref",
            "driver"
          ],
          "properties": {
            "ref": {
              "type": "string",
              "description": "This finding's reference within this reading only."
            },
            "fact": {
              "type": [
                "null",
                "object"
              ],
              "required": [
                "family",
                "company_figure",
                "period"
              ],
              "properties": {
                "unit": {
                  "type": [
                    "null",
                    "string"
                  ],
                  "description": "The figures' unit as written; absent when the figure has none."
                },
                "family": {
                  "type": "string",
                  "description": "peer_comparison or stated_figure."
                },
                "period": {
                  "type": "string",
                  "description": "The window or point in time the figures describe, as written."
                },
                "peer_group": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "peer_figure": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "company_figure": {
                  "type": "string"
                },
                "peer_statistic": {
                  "type": [
                    "null",
                    "string"
                  ],
                  "description": "Which statistic of the peers peer_figure is, such as median."
                }
              },
              "description": "This finding's certified figure with its own period and unit; give the figure with that period, which can differ from the reading's date."
            },
            "role": {
              "type": "string",
              "description": "counterpoint, reinforcing or contrasting; reinforcing means another material finding pointing the same way, never that one fact supports the other."
            },
            "topic": {
              "type": "string",
              "description": "The finding's public topic, stable across readings of this listing; use it to avoid repeating a finding in the conversation."
            },
            "driver": {
              "type": "object",
              "required": [
                "kind",
                "label"
              ],
              "properties": {
                "kind": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "domain": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "metric": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "context": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "event_date": {
                  "type": "string",
                  "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date."
                },
                "event_kind": {
                  "type": "string",
                  "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding)."
                },
                "peer_group": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "company_figure": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "event_window_end": {
                  "type": "string",
                  "description": "A measured aggregate's window end (ISO)."
                },
                "event_window_start": {
                  "type": "string",
                  "description": "A measured aggregate's window start (ISO); name the window, never one report."
                },
                "latest_material_event_date": {
                  "type": "string",
                  "description": "The latest material event inside an aggregate's window (ISO)."
                }
              }
            },
            "measure": {
              "type": [
                "null",
                "string"
              ],
              "description": "The readable measure the finding is about: the only quantity a question about it may ask about."
            },
            "qualification": {
              "type": [
                "null",
                "object"
              ],
              "required": [
                "qualifying_topic",
                "qualifying_measure",
                "company_figure",
                "period_end",
                "pe_figure",
                "peer_median",
                "peer_group",
                "peer_basis",
                "position",
                "applied",
                "remaining_assessment"
              ],
              "properties": {
                "applied": {
                  "type": "boolean",
                  "description": "true: the qualifying figure eased how StockLens weighed this P/E. false: it changed nothing here and is context at most, never a mitigation."
                },
                "position": {
                  "type": "string",
                  "description": "above, below or at: the P/E against the stated peer figure."
                },
                "pe_figure": {
                  "type": "string"
                },
                "peer_basis": {
                  "type": "string",
                  "description": "observed: a median of observed peer companies. blended: a blended peer mark, never to be called a median of companies."
                },
                "peer_group": {
                  "type": "string"
                },
                "period_end": {
                  "type": "string",
                  "description": "The end of the trailing period the figures describe (ISO date)."
                },
                "peer_median": {
                  "type": "string"
                },
                "company_figure": {
                  "type": "string",
                  "description": "The company's qualifying figure, as written."
                },
                "qualifying_ref": {
                  "type": "string",
                  "description": "The ref of another finding in this answer on the qualifying measure: the same figure, so say it once."
                },
                "qualifying_topic": {
                  "type": "string"
                },
                "qualifying_measure": {
                  "type": "string",
                  "description": "The qualifying measure's name, as StockLens says it."
                },
                "remaining_assessment": {
                  "type": "string",
                  "description": "headwind, neutral or supportive: how this P/E still reads at this valuation node."
                }
              }
            }
          },
          "description": "One more finding the answer must carry: a counterpoint (a material finding pointing the other way) or another material finding pointing the same way. Never leave it for a question."
        }
      }
    },
    "industry": {
      "type": "string"
    },
    "standing": {
      "type": [
        "null",
        "object"
      ],
      "required": [
        "status",
        "as_of"
      ],
      "properties": {
        "as_of": {
          "type": "string"
        },
        "market": {
          "type": "string"
        },
        "status": {
          "enum": [
            "available",
            "plan_limited",
            "outside_universe",
            "unavailable"
          ],
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "universe": {
          "type": "string"
        },
        "composite": {
          "type": [
            "null",
            "object"
          ],
          "required": [
            "band",
            "label",
            "population"
          ],
          "properties": {
            "band": {
              "type": "string"
            },
            "label": {
              "type": "string"
            },
            "population": {
              "type": "integer"
            }
          }
        },
        "fundamental": {
          "type": [
            "null",
            "object"
          ],
          "required": [
            "band",
            "label",
            "population"
          ],
          "properties": {
            "band": {
              "type": "string"
            },
            "label": {
              "type": "string"
            },
            "population": {
              "type": "integer"
            }
          }
        }
      }
    },
    "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"
        }
      }
    },
    "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"
            },
            "exchange": {
              "type": "string"
            }
          }
        },
        "description": {
          "type": "string"
        }
      }
    },
    "candidates": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "required": [
          "ticker",
          "exchange",
          "company_name"
        ],
        "properties": {
          "scored": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "ticker": {
            "type": "string"
          },
          "exchange": {
            "type": "string"
          },
          "company_name": {
            "type": "string"
          }
        }
      }
    },
    "inspection": {
      "type": [
        "null",
        "object"
      ],
      "required": [
        "label",
        "arguments"
      ],
      "properties": {
        "label": {
          "type": "string",
          "description": "Navigation metadata for selecting a view, not text for the person: never quote it. Read the selected result for its material context and bindings."
        },
        "arguments": {
          "type": "object",
          "required": [
            "reading_ref"
          ],
          "properties": {
            "view": {
              "type": "string",
              "description": "Copy from inspection.arguments; default overview. Only overview, finding, assessment or observation."
            },
            "selector": {
              "type": "string",
              "description": "Copy the selector from inspection.arguments, including an optional overview continuation. Required for other views."
            },
            "reading_ref": {
              "type": "string",
              "description": "Exact reading_ref returned by StockLens. Never reconstruct from a ticker or date."
            }
          }
        }
      }
    },
    "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"
            ]
          },
          "event_date": {
            "type": "string",
            "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date."
          },
          "event_kind": {
            "type": "string",
            "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding)."
          },
          "peer_group": {
            "type": [
              "null",
              "string"
            ]
          },
          "company_figure": {
            "type": [
              "null",
              "string"
            ]
          },
          "event_window_end": {
            "type": "string",
            "description": "A measured aggregate's window end (ISO)."
          },
          "event_window_start": {
            "type": "string",
            "description": "A measured aggregate's window start (ISO); name the window, never one report."
          },
          "latest_material_event_date": {
            "type": "string",
            "description": "The latest material event inside an aggregate's window (ISO)."
          }
        }
      }
    },
    "public_page": {
      "type": [
        "null",
        "object"
      ],
      "required": [
        "label",
        "url"
      ],
      "properties": {
        "url": {
          "type": "string",
          "description": "The page's address. Use it unchanged."
        },
        "label": {
          "type": "string",
          "description": "The link's text, as written."
        },
        "canonical_url": {
          "type": "string",
          "description": "Untracked public company page for citations."
        }
      },
      "description": "The company's public page on stocklens.com. Present only when that page exists."
    },
    "reading_ref": {
      "type": "string"
    },
    "company_name": {
      "type": "string"
    },
    "list_offered": {
      "type": "boolean"
    },
    "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"
          }
        }
      }
    },
    "config_context": {
      "type": [
        "null",
        "object"
      ],
      "anyOf": [
        {
          "required": [
            "analysis_focus"
          ]
        },
        {
          "required": [
            "risk_tolerance"
          ]
        }
      ],
      "required": [
        "time_range"
      ],
      "properties": {
        "time_range": {
          "type": "string"
        },
        "analysis_focus": {
          "type": "string"
        },
        "risk_tolerance": {
          "type": "string",
          "description": "Historical response alias for analysis_focus; new responses use the canonical key."
        }
      }
    },
    "list_companies": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "required": [
          "ticker",
          "exchange"
        ],
        "properties": {
          "ticker": {
            "type": "string"
          },
          "exchange": {
            "type": "string"
          }
        }
      }
    },
    "composite_score": {
      "type": [
        "null",
        "number"
      ]
    },
    "domain_coverage": {
      "type": [
        "null",
        "object"
      ],
      "properties": {
        "not_scored": {
          "type": [
            "null",
            "array"
          ],
          "items": {
            "enum": [
              "Fundamental",
              "Technical",
              "Risk",
              "Sentiment",
              "Macro"
            ],
            "type": "string"
          }
        },
        "sentiment_sources_note": {
          "type": "string",
          "description": "The Sentiment evidence this reading did not use and why, as one sentence to relay as given, for example: Evidence not read in this analysis: earnings calls (none found recently)."
        }
      }
    },
    "analysis_offered": {
      "type": "boolean"
    },
    "watchlist_offered": {
      "type": "boolean"
    },
    "standing_definition": {
      "type": [
        "null",
        "object"
      ],
      "required": [
        "universe",
        "coverage",
        "interpretation"
      ],
      "properties": {
        "coverage": {
          "type": "string"
        },
        "universe": {
          "type": "string"
        },
        "interpretation": {
          "type": "string"
        }
      }
    }
  }
}
get_market_summary annotations
{
  "title": "Get Company Score",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_portfolio_insights — Get Portfolio
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read one of the person's StockLens portfolios: every company, holding or watching, with its score, rating word, market and Fundamental standing in that market, its largest sector share and its 7-night movers, each with its market and a same-direction driver from its latest reading. A one-market portfolio adds that market's average score, rating word and change over 7 and 30 nights; across markets, scores are not on one scale, so there is no average: relay scale_note and markets. Without portfolio_id or portfolio_name it reads the default portfolio. portfolios lists every portfolio the person owns and appears only when there is more than one: then name the portfolio you read once and offer the others by name. With one portfolio, never name it. A portfolio the person does not own returns portfolio_not_found with the choices; never guess. Relay message, caption, trust and concentration as written. If a window says insufficient_data, say so; do not estimate a change. config_changed marks a scoring-method change inside a window. The scores are the ones get_market_summary serves, as of as_of. To rank or screen other companies, call discover_stocks. No money figures, no personal advice. For a mover's dated source give its event_date or the measured window, never the reading's date. A successful result counts once toward the person's weekly research allowance; a RATE_LIMITED result states the limit and when it renews, so relay it and do not call again before then.

get_portfolio_insights input schema
{
  "type": "object",
  "properties": {
    "portfolio_id": {
      "type": "string",
      "description": "The id of the portfolio to read, as a portfolios list gives it. Optional: without it or portfolio_name the default portfolio is read."
    },
    "portfolio_name": {
      "type": "string",
      "description": "The name of the portfolio to read, as the person names it (exact, case does not matter). Optional."
    }
  },
  "additionalProperties": false
}
get_portfolio_insights output schema
{
  "type": "object",
  "required": [
    "status",
    "scope"
  ],
  "properties": {
    "as_of": {
      "type": "string"
    },
    "scope": {
      "enum": [
        "user_watchlist"
      ],
      "type": "string"
    },
    "trust": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "string"
      }
    },
    "rating": {
      "type": "string"
    },
    "status": {
      "enum": [
        "ok",
        "empty",
        "portfolio_not_found"
      ],
      "type": "string"
    },
    "caption": {
      "type": "string"
    },
    "markets": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "required": [
          "market",
          "companies",
          "scored_companies"
        ],
        "properties": {
          "note": {
            "type": "string"
          },
          "as_of": {
            "type": "string"
          },
          "market": {
            "type": "string"
          },
          "companies": {
            "type": "integer"
          },
          "population": {
            "type": "integer"
          },
          "scored_companies": {
            "type": "integer"
          },
          "fundamental_standing": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "object",
              "required": [
                "standing",
                "companies"
              ],
              "properties": {
                "standing": {
                  "type": "string"
                },
                "companies": {
                  "type": "integer"
                }
              }
            }
          },
          "no_standing_recorded": {
            "type": "integer"
          }
        }
      }
    },
    "message": {
      "type": "string"
    },
    "companies": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "required": [
          "ticker",
          "exchange",
          "mode"
        ],
        "properties": {
          "mode": {
            "enum": [
              "holding",
              "watching"
            ],
            "type": "string"
          },
          "market": {
            "type": "string"
          },
          "rating": {
            "type": "string"
          },
          "ticker": {
            "type": "string"
          },
          "exchange": {
            "type": "string"
          },
          "standing": {
            "type": "string"
          },
          "freshness": {
            "enum": [
              "aging",
              "stale"
            ],
            "type": "string"
          },
          "instrument": {
            "enum": [
              "fund"
            ],
            "type": "string"
          },
          "last_scored": {
            "type": "string"
          },
          "company_name": {
            "type": "string"
          },
          "canonical_url": {
            "type": "string",
            "description": "Public company page for this listing. It shows the current nightly reading."
          },
          "standing_note": {
            "type": "string"
          },
          "standing_as_of": {
            "type": "string"
          },
          "composite_score": {
            "type": [
              "null",
              "number"
            ]
          }
        }
      }
    },
    "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"
            },
            "exchange": {
              "type": "string"
            }
          }
        },
        "description": {
          "type": "string"
        }
      }
    },
    "fund_count": {
      "type": "integer"
    },
    "is_default": {
      "type": [
        "null",
        "boolean"
      ]
    },
    "population": {
      "type": "string"
    },
    "portfolios": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "required": [
          "portfolio_id",
          "portfolio_name",
          "is_default",
          "company_count"
        ],
        "properties": {
          "is_default": {
            "type": "boolean"
          },
          "portfolio_id": {
            "type": "string"
          },
          "company_count": {
            "type": "integer"
          },
          "portfolio_name": {
            "type": "string"
          }
        }
      }
    },
    "scale_note": {
      "type": "string"
    },
    "top_movers": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "required": [
          "ticker",
          "mode",
          "change",
          "composite_score",
          "rating"
        ],
        "properties": {
          "mode": {
            "enum": [
              "holding",
              "watching"
            ],
            "type": "string"
          },
          "change": {
            "type": "number"
          },
          "driver": {
            "type": [
              "null",
              "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"
                ]
              },
              "event_date": {
                "type": "string",
                "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date."
              },
              "event_kind": {
                "type": "string",
                "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding)."
              },
              "peer_group": {
                "type": [
                  "null",
                  "string"
                ]
              },
              "company_figure": {
                "type": [
                  "null",
                  "string"
                ]
              },
              "event_window_end": {
                "type": "string",
                "description": "A measured aggregate's window end (ISO)."
              },
              "event_window_start": {
                "type": "string",
                "description": "A measured aggregate's window start (ISO); name the window, never one report."
              },
              "latest_material_event_date": {
                "type": "string",
                "description": "The latest material event inside an aggregate's window (ISO)."
              }
            }
          },
          "market": {
            "type": "string"
          },
          "rating": {
            "type": "string"
          },
          "ticker": {
            "type": "string"
          },
          "composite_score": {
            "type": "number"
          }
        }
      }
    },
    "portfolio_id": {
      "type": "string"
    },
    "tier_limited": {
      "type": [
        "null",
        "boolean"
      ]
    },
    "company_count": {
      "type": [
        "null",
        "integer"
      ]
    },
    "concentration": {
      "type": [
        "null",
        "object"
      ],
      "properties": {
        "lead": {
          "type": "string"
        },
        "note": {
          "type": "string"
        },
        "sectors": {
          "type": [
            "null",
            "array"
          ],
          "items": {
            "type": "object",
            "required": [
              "sector",
              "companies"
            ],
            "properties": {
              "sector": {
                "type": "string"
              },
              "companies": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "movers_window": {
      "enum": [
        "7_nights"
      ],
      "type": "string"
    },
    "window_change": {
      "type": [
        "null",
        "object"
      ],
      "properties": {
        "1m": {
          "type": [
            "null",
            "object"
          ],
          "properties": {
            "change": {
              "type": [
                "null",
                "number"
              ]
            },
            "config_changed": {
              "type": "boolean"
            },
            "insufficient_data": {
              "type": "boolean"
            }
          }
        },
        "1w": {
          "type": [
            "null",
            "object"
          ],
          "properties": {
            "change": {
              "type": [
                "null",
                "number"
              ]
            },
            "config_changed": {
              "type": "boolean"
            },
            "insufficient_data": {
              "type": "boolean"
            }
          }
        }
      }
    },
    "average_market": {
      "type": "string"
    },
    "holdings_count": {
      "type": "integer"
    },
    "list_companies": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "required": [
          "ticker",
          "exchange"
        ],
        "properties": {
          "ticker": {
            "type": "string"
          },
          "exchange": {
            "type": "string"
          }
        }
      }
    },
    "portfolio_name": {
      "type": "string"
    },
    "portfolio_count": {
      "type": [
        "null",
        "integer"
      ]
    },
    "scored_company_count": {
      "type": [
        "null",
        "integer"
      ]
    },
    "scored_holdings_count": {
      "type": "integer"
    },
    "average_composite_score": {
      "type": [
        "null",
        "integer"
      ]
    }
  }
}
get_portfolio_insights annotations
{
  "title": "Get Portfolio",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_shortlist_summary — Read My Shortlist
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read 1 to 10 companies the person names in one call, in their order. Each row returns a verdict; scored rows supply the complete nightly reading, with scores, reasons, freshness and standing when available. Bold each company's score and rating word where the answer first gives them. It does not discover companies, sort the market, start analyses or change a portfolio. Use discover_stocks for market screens. State available standing inside the complete reading, led by Fundamental then the coarse Composite band, with standing.universe, each band's population and standing.as_of. Each listing market is its own universe; different markets may be read side by side, never ranked on one scale. Never compute bands, quote exact numeric ranks or percentiles, or turn a standing change into a company fact. Relay standing.message and standing_definition's exclusions as given, and say so when standing is absent. For a plan_limited result, relay standing.message only when the person asks about standing, rank or comparison. Definitions appear once in standing_definition; each scored reading keeps its own date, and only available bands supply populations. Do not present different dates as a same-night comparison. Relay non-scored company statuses per row. Preserve a supplied free-save remedy and ask for consent before any save. Relay message, the list's one "since you last asked" line, as written. When next_step offers to keep the list, ask once after the complete reading, and only on a yes preview list_companies with add_to_watchlist_batch. When public_page is present, you may mention it once for that company, briefly, as a link with its label, after the answer and before any closing question. Cite its canonical_url when present. Ask about ambiguous rows; never guess. A list of one is answered as one company's reading: Answer in this order: the score and rating word with the reading's date; its available standing as a short list, Fundamental then Composite, in its market; then the supplied findings, or key_drivers if findings are absent, in their given order. Use each reason's evidence and its kind in words: SUPPORTIVE supports the reading, HEADWIND weighs against it and is never dropped or softened, MIXED cuts both ways only when its evidence carries both sides, COVERAGE_GAP is a coverage limit and NEUTRAL_NOT_MATERIAL a nonmaterial observation, neither a reason either way; then the domains in grade words. Never call one company the highest, lowest, best or worst across markets. For two or more, give one compact entry per company in the person's order: its score, rating word, Fundamental band in its market, its first driver when carried, and any HEADWIND or COVERAGE_GAP among its drivers, never dropped for brevity. When findings is present, explain findings.leading, then findings.first_answer, instead of key_drivers, as findings.claim allows: strongest, they moved this score most; strongest_first, the first moved it most and the second is another factor; explained, describe what the available evidence shows, with no biggest-mover sentence. Give a finding's fact figure with its own period, which can differ from the reading's date and from another finding's. A next look is findings.next_looks[0], or the second when the first's topic was already covered for this company in the conversation or misses the person's ask; skip both when both were covered, and never mention the one you do not ask. When the person asks directly for a figure a next look carries, give it with its period, then end with the other next look's question if it is still new. Otherwise ask that one question, in its words or your own, as the answer's final line, after any link. Never state, round or hint at any figure from next_looks before the person says yes. On a yes, give only its answer as given (the company figure with its period, and for a comparison the peer figure, statistic and group), without another call and without computing anything from the figures, then stop: no other offer, menu, save or analysis. After that answer, end with the other next look's question if it is still new; otherwise stop. A finding's qualification speaks only of that trailing P/E reading: when applied is true, say in the same sentence that the company's qualifying_measure of company_figure (trailing period to period_end) eased how StockLens weighed its P/E of pe_figure against peer_median for peer_group (a blended peer mark when peer_basis is blended, never a median of companies), and how it still reads there (remaining_assessment); when applied is false, mention the figure only as context, never as easing anything, whatever the finding's own label says. When qualifying_ref names another finding in the answer, it is the same figure: say it once, keeping both findings. Never present it as a change to the overall score or a view of the stock as a whole. For a finding tied to a source, give its event_date with the event (On the Oct 29 earnings call, In its Nov 8 filing; add the year across a year boundary). An insider transaction uses its trade date. For measured activity name the event_window_start and event_window_end, never a single latest article, filing or trade. Only the current result's dated reasons and questions qualify. Never substitute the reading's date or bring an undated, stale or future event into a reason or question. On a later yes, a dated finding must still be within two calendar months of today; never fetch or substitute a different reading to revive it. Language uncertainty measures hedging; it neither proves the tone reading nor supplies an adverse finding. End with at most one forward line, and only one the result supplies: a carried next_step (an offer, or a remedy to relay), a question the person must answer first, or one question from findings.next_looks as the findings rule says. Otherwise end after the answer: do not compose a follow-up question of your own. Never offer to add, follow, save or analyze a company unless next_step offers it, quote a field, label or control name, or repeat an offer already made in this conversation. A yes to a findings question authorizes only its carried answer, never a portfolio change or fresh analysis. One forward line serves the whole list; at most one row carries next_looks. A successful result counts once toward the person's weekly research allowance; a RATE_LIMITED result states the limit and when it renews, so relay it and do not call again before then.

get_shortlist_summary input schema
{
  "type": "object",
  "required": [
    "companies"
  ],
  "properties": {
    "companies": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "required": [
          "ticker"
        ],
        "properties": {
          "ticker": {
            "type": "string",
            "pattern": "^[^\\s,;/][^,;/\\r\\n]{0,79}$",
            "description": "The company's ticker symbol (e.g. AAPL), or its name as the person gave it (e.g. Apple). One company only."
          },
          "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
      },
      "maxItems": 10,
      "minItems": 1,
      "description": "The person's own shortlist, 1 to 10 companies. Preserve their order; do not invent or add companies."
    }
  },
  "additionalProperties": false
}
get_shortlist_summary output schema
{
  "type": "object",
  "required": [
    "companies",
    "scope"
  ],
  "properties": {
    "scope": {
      "enum": [
        "named_shortlist"
      ],
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "companies": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "required": [
          "status",
          "ticker",
          "scope"
        ],
        "properties": {
          "lens": {
            "type": [
              "null",
              "object"
            ],
            "required": [
              "label"
            ],
            "properties": {
              "label": {
                "type": "string"
              }
            }
          },
          "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"
          },
          "findings": {
            "type": [
              "null",
              "object"
            ],
            "required": [
              "claim",
              "leading"
            ],
            "properties": {
              "claim": {
                "type": "string",
                "description": "How strongly the leading findings may be described. strongest: both moved this score most. strongest_first: the first moved it most and the second is another factor. explained: describe what the available evidence shows, with no biggest-mover sentence."
              },
              "leading": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "ref",
                    "driver"
                  ],
                  "properties": {
                    "ref": {
                      "type": "string",
                      "description": "This finding's reference within this reading only."
                    },
                    "fact": {
                      "type": [
                        "null",
                        "object"
                      ],
                      "required": [
                        "family",
                        "company_figure",
                        "period"
                      ],
                      "properties": {
                        "unit": {
                          "type": [
                            "null",
                            "string"
                          ],
                          "description": "The figures' unit as written; absent when the figure has none."
                        },
                        "family": {
                          "type": "string",
                          "description": "peer_comparison or stated_figure."
                        },
                        "period": {
                          "type": "string",
                          "description": "The window or point in time the figures describe, as written."
                        },
                        "peer_group": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "peer_figure": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "company_figure": {
                          "type": "string"
                        },
                        "peer_statistic": {
                          "type": [
                            "null",
                            "string"
                          ],
                          "description": "Which statistic of the peers peer_figure is, such as median."
                        }
                      },
                      "description": "This finding's certified figure with its own period and unit; give the figure with that period, which can differ from the reading's date."
                    },
                    "role": {
                      "type": "string",
                      "description": "counterpoint, reinforcing or contrasting; reinforcing means another material finding pointing the same way, never that one fact supports the other."
                    },
                    "topic": {
                      "type": "string",
                      "description": "The finding's public topic, stable across readings of this listing; use it to avoid repeating a finding in the conversation."
                    },
                    "driver": {
                      "type": "object",
                      "required": [
                        "kind",
                        "label"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string"
                        },
                        "label": {
                          "type": "string"
                        },
                        "domain": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "metric": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "context": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "event_date": {
                          "type": "string",
                          "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date."
                        },
                        "event_kind": {
                          "type": "string",
                          "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding)."
                        },
                        "peer_group": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "company_figure": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "event_window_end": {
                          "type": "string",
                          "description": "A measured aggregate's window end (ISO)."
                        },
                        "event_window_start": {
                          "type": "string",
                          "description": "A measured aggregate's window start (ISO); name the window, never one report."
                        },
                        "latest_material_event_date": {
                          "type": "string",
                          "description": "The latest material event inside an aggregate's window (ISO)."
                        }
                      }
                    },
                    "measure": {
                      "type": [
                        "null",
                        "string"
                      ],
                      "description": "The readable measure the finding is about: the only quantity a question about it may ask about."
                    },
                    "qualification": {
                      "type": [
                        "null",
                        "object"
                      ],
                      "required": [
                        "qualifying_topic",
                        "qualifying_measure",
                        "company_figure",
                        "period_end",
                        "pe_figure",
                        "peer_median",
                        "peer_group",
                        "peer_basis",
                        "position",
                        "applied",
                        "remaining_assessment"
                      ],
                      "properties": {
                        "applied": {
                          "type": "boolean",
                          "description": "true: the qualifying figure eased how StockLens weighed this P/E. false: it changed nothing here and is context at most, never a mitigation."
                        },
                        "position": {
                          "type": "string",
                          "description": "above, below or at: the P/E against the stated peer figure."
                        },
                        "pe_figure": {
                          "type": "string"
                        },
                        "peer_basis": {
                          "type": "string",
                          "description": "observed: a median of observed peer companies. blended: a blended peer mark, never to be called a median of companies."
                        },
                        "peer_group": {
                          "type": "string"
                        },
                        "period_end": {
                          "type": "string",
                          "description": "The end of the trailing period the figures describe (ISO date)."
                        },
                        "peer_median": {
                          "type": "string"
                        },
                        "company_figure": {
                          "type": "string",
                          "description": "The company's qualifying figure, as written."
                        },
                        "qualifying_ref": {
                          "type": "string",
                          "description": "The ref of another finding in this answer on the qualifying measure: the same figure, so say it once."
                        },
                        "qualifying_topic": {
                          "type": "string"
                        },
                        "qualifying_measure": {
                          "type": "string",
                          "description": "The qualifying measure's name, as StockLens says it."
                        },
                        "remaining_assessment": {
                          "type": "string",
                          "description": "headwind, neutral or supportive: how this P/E still reads at this valuation node."
                        }
                      }
                    }
                  }
                },
                "description": "This reading's strongest distinct, material, explainable influences on its score, in order (0 to 2). An empty list supplies no findings question. A separately carried next_step still applies."
              },
              "next_looks": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "question",
                    "ref",
                    "topic",
                    "measure",
                    "answer"
                  ],
                  "properties": {
                    "ref": {
                      "type": "string",
                      "description": "This finding's reference within this reading only."
                    },
                    "role": {
                      "type": "string",
                      "description": "reinforcing or contrasting, relative to the first leading finding."
                    },
                    "topic": {
                      "type": "string",
                      "description": "The finding's public topic; never ask about a topic already covered for this company in the conversation."
                    },
                    "answer": {
                      "type": "object",
                      "required": [
                        "family",
                        "company_figure",
                        "period"
                      ],
                      "properties": {
                        "unit": {
                          "type": [
                            "null",
                            "string"
                          ],
                          "description": "The figures' unit as written; absent when the figure has none."
                        },
                        "family": {
                          "type": "string",
                          "description": "peer_comparison or stated_figure."
                        },
                        "period": {
                          "type": "string",
                          "description": "The window or point in time the figures describe, as written."
                        },
                        "peer_group": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "peer_figure": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "company_figure": {
                          "type": "string"
                        },
                        "peer_statistic": {
                          "type": [
                            "null",
                            "string"
                          ],
                          "description": "Which statistic of the peers peer_figure is, such as median."
                        }
                      },
                      "description": "The certified facts that answer a yes, relayed as given with their period."
                    },
                    "measure": {
                      "type": "string"
                    },
                    "question": {
                      "type": "string",
                      "description": "An approved closing question this result can answer, worded for the assistant to ask; ask it as written or in your own words about the same measure."
                    },
                    "event_date": {
                      "type": "string",
                      "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date."
                    },
                    "event_kind": {
                      "type": "string",
                      "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding)."
                    },
                    "event_window_end": {
                      "type": "string",
                      "description": "A measured aggregate's window end (ISO)."
                    },
                    "event_window_start": {
                      "type": "string",
                      "description": "A measured aggregate's window start (ISO); name the window, never one report."
                    },
                    "latest_material_event_date": {
                      "type": "string",
                      "description": "The latest material event inside an aggregate's window (ISO)."
                    }
                  }
                },
                "description": "Up to two unused findings this result can answer, best first, each with an approved closing question; present at most one. Absent when an offer or another ask takes the closing line."
              },
              "first_answer": {
                "type": [
                  "null",
                  "object"
                ],
                "required": [
                  "ref",
                  "driver"
                ],
                "properties": {
                  "ref": {
                    "type": "string",
                    "description": "This finding's reference within this reading only."
                  },
                  "fact": {
                    "type": [
                      "null",
                      "object"
                    ],
                    "required": [
                      "family",
                      "company_figure",
                      "period"
                    ],
                    "properties": {
                      "unit": {
                        "type": [
                          "null",
                          "string"
                        ],
                        "description": "The figures' unit as written; absent when the figure has none."
                      },
                      "family": {
                        "type": "string",
                        "description": "peer_comparison or stated_figure."
                      },
                      "period": {
                        "type": "string",
                        "description": "The window or point in time the figures describe, as written."
                      },
                      "peer_group": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "peer_figure": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "company_figure": {
                        "type": "string"
                      },
                      "peer_statistic": {
                        "type": [
                          "null",
                          "string"
                        ],
                        "description": "Which statistic of the peers peer_figure is, such as median."
                      }
                    },
                    "description": "This finding's certified figure with its own period and unit; give the figure with that period, which can differ from the reading's date."
                  },
                  "role": {
                    "type": "string",
                    "description": "counterpoint, reinforcing or contrasting; reinforcing means another material finding pointing the same way, never that one fact supports the other."
                  },
                  "topic": {
                    "type": "string",
                    "description": "The finding's public topic, stable across readings of this listing; use it to avoid repeating a finding in the conversation."
                  },
                  "driver": {
                    "type": "object",
                    "required": [
                      "kind",
                      "label"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "domain": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "metric": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "context": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "event_date": {
                        "type": "string",
                        "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date."
                      },
                      "event_kind": {
                        "type": "string",
                        "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding)."
                      },
                      "peer_group": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "company_figure": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "event_window_end": {
                        "type": "string",
                        "description": "A measured aggregate's window end (ISO)."
                      },
                      "event_window_start": {
                        "type": "string",
                        "description": "A measured aggregate's window start (ISO); name the window, never one report."
                      },
                      "latest_material_event_date": {
                        "type": "string",
                        "description": "The latest material event inside an aggregate's window (ISO)."
                      }
                    }
                  },
                  "measure": {
                    "type": [
                      "null",
                      "string"
                    ],
                    "description": "The readable measure the finding is about: the only quantity a question about it may ask about."
                  },
                  "qualification": {
                    "type": [
                      "null",
                      "object"
                    ],
                    "required": [
                      "qualifying_topic",
                      "qualifying_measure",
                      "company_figure",
                      "period_end",
                      "pe_figure",
                      "peer_median",
                      "peer_group",
                      "peer_basis",
                      "position",
                      "applied",
                      "remaining_assessment"
                    ],
                    "properties": {
                      "applied": {
                        "type": "boolean",
                        "description": "true: the qualifying figure eased how StockLens weighed this P/E. false: it changed nothing here and is context at most, never a mitigation."
                      },
                      "position": {
                        "type": "string",
                        "description": "above, below or at: the P/E against the stated peer figure."
                      },
                      "pe_figure": {
                        "type": "string"
                      },
                      "peer_basis": {
                        "type": "string",
                        "description": "observed: a median of observed peer companies. blended: a blended peer mark, never to be called a median of companies."
                      },
                      "peer_group": {
                        "type": "string"
                      },
                      "period_end": {
                        "type": "string",
                        "description": "The end of the trailing period the figures describe (ISO date)."
                      },
                      "peer_median": {
                        "type": "string"
                      },
                      "company_figure": {
                        "type": "string",
                        "description": "The company's qualifying figure, as written."
                      },
                      "qualifying_ref": {
                        "type": "string",
                        "description": "The ref of another finding in this answer on the qualifying measure: the same figure, so say it once."
                      },
                      "qualifying_topic": {
                        "type": "string"
                      },
                      "qualifying_measure": {
                        "type": "string",
                        "description": "The qualifying measure's name, as StockLens says it."
                      },
                      "remaining_assessment": {
                        "type": "string",
                        "description": "headwind, neutral or supportive: how this P/E still reads at this valuation node."
                      }
                    }
                  }
                },
                "description": "One more finding the answer must carry: a counterpoint (a material finding pointing the other way) or another material finding pointing the same way. Never leave it for a question."
              }
            }
          },
          "industry": {
            "type": "string"
          },
          "standing": {
            "type": [
              "null",
              "object"
            ],
            "required": [
              "status",
              "as_of"
            ],
            "properties": {
              "as_of": {
                "type": "string"
              },
              "market": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "available",
                  "plan_limited",
                  "outside_universe",
                  "unavailable"
                ],
                "type": "string"
              },
              "message": {
                "type": "string"
              },
              "universe": {
                "type": "string"
              },
              "composite": {
                "type": [
                  "null",
                  "object"
                ],
                "required": [
                  "band",
                  "label",
                  "population"
                ],
                "properties": {
                  "band": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  },
                  "population": {
                    "type": "integer"
                  }
                }
              },
              "fundamental": {
                "type": [
                  "null",
                  "object"
                ],
                "required": [
                  "band",
                  "label",
                  "population"
                ],
                "properties": {
                  "band": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  },
                  "population": {
                    "type": "integer"
                  }
                }
              }
            }
          },
          "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"
              }
            }
          },
          "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"
                  },
                  "exchange": {
                    "type": "string"
                  }
                }
              },
              "description": {
                "type": "string"
              }
            }
          },
          "candidates": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "object",
              "required": [
                "ticker",
                "exchange",
                "company_name"
              ],
              "properties": {
                "scored": {
                  "type": [
                    "null",
                    "boolean"
                  ]
                },
                "ticker": {
                  "type": "string"
                },
                "exchange": {
                  "type": "string"
                },
                "company_name": {
                  "type": "string"
                }
              }
            }
          },
          "inspection": {
            "type": [
              "null",
              "object"
            ],
            "required": [
              "label",
              "arguments"
            ],
            "properties": {
              "label": {
                "type": "string",
                "description": "Navigation metadata for selecting a view, not text for the person: never quote it. Read the selected result for its material context and bindings."
              },
              "arguments": {
                "type": "object",
                "required": [
                  "reading_ref"
                ],
                "properties": {
                  "view": {
                    "type": "string",
                    "description": "Copy from inspection.arguments; default overview. Only overview, finding, assessment or observation."
                  },
                  "selector": {
                    "type": "string",
                    "description": "Copy the selector from inspection.arguments, including an optional overview continuation. Required for other views."
                  },
                  "reading_ref": {
                    "type": "string",
                    "description": "Exact reading_ref returned by StockLens. Never reconstruct from a ticker or date."
                  }
                }
              }
            }
          },
          "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"
                  ]
                },
                "event_date": {
                  "type": "string",
                  "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date."
                },
                "event_kind": {
                  "type": "string",
                  "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding)."
                },
                "peer_group": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "company_figure": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "event_window_end": {
                  "type": "string",
                  "description": "A measured aggregate's window end (ISO)."
                },
                "event_window_start": {
                  "type": "string",
                  "description": "A measured aggregate's window start (ISO); name the window, never one report."
                },
                "latest_material_event_date": {
                  "type": "string",
                  "description": "The latest material event inside an aggregate's window (ISO)."
                }
              }
            }
          },
          "public_page": {
            "type": [
              "null",
              "object"
            ],
            "required": [
              "label",
              "url"
            ],
            "properties": {
              "url": {
                "type": "string",
                "description": "The page's address. Use it unchanged."
              },
              "label": {
                "type": "string",
                "description": "The link's text, as written."
              },
              "canonical_url": {
                "type": "string",
                "description": "Untracked public company page for citations."
              }
            },
            "description": "The company's public page on stocklens.com. Present only when that page exists."
          },
          "reading_ref": {
            "type": "string"
          },
          "company_name": {
            "type": "string"
          },
          "list_offered": {
            "type": "boolean"
          },
          "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"
                }
              }
            }
          },
          "config_context": {
            "type": [
              "null",
              "object"
            ],
            "anyOf": [
              {
                "required": [
                  "analysis_focus"
                ]
              },
              {
                "required": [
                  "risk_tolerance"
                ]
              }
            ],
            "required": [
              "time_range"
            ],
            "properties": {
              "time_range": {
                "type": "string"
              },
              "analysis_focus": {
                "type": "string"
              },
              "risk_tolerance": {
                "type": "string",
                "description": "Historical response alias for analysis_focus; new responses use the canonical key."
              }
            }
          },
          "list_companies": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "object",
              "required": [
                "ticker",
                "exchange"
              ],
              "properties": {
                "ticker": {
                  "type": "string"
                },
                "exchange": {
                  "type": "string"
                }
              }
            }
          },
          "composite_score": {
            "type": [
              "null",
              "number"
            ]
          },
          "domain_coverage": {
            "type": [
              "null",
              "object"
            ],
            "properties": {
              "not_scored": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "enum": [
                    "Fundamental",
                    "Technical",
                    "Risk",
                    "Sentiment",
                    "Macro"
                  ],
                  "type": "string"
                }
              },
              "sentiment_sources_note": {
                "type": "string",
                "description": "The Sentiment evidence this reading did not use and why, as one sentence to relay as given, for example: Evidence not read in this analysis: earnings calls (none found recently)."
              }
            }
          },
          "analysis_offered": {
            "type": "boolean"
          },
          "watchlist_offered": {
            "type": "boolean"
          },
          "standing_definition": {
            "type": [
              "null",
              "object"
            ],
            "required": [
              "universe",
              "coverage",
              "interpretation"
            ],
            "properties": {
              "coverage": {
                "type": "string"
              },
              "universe": {
                "type": "string"
              },
              "interpretation": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "next_step": {
      "type": [
        "null",
        "object"
      ],
      "required": [
        "kind"
      ],
      "properties": {
        "kind": {
          "type": "string"
        },
        "tool": {
          "type": "string"
        },
        "options": {
          "type": [
            "null",
            "array"
          ],
          "items": {
            "type": "string"
          }
        },
        "arguments": {
          "type": [
            "null",
            "object"
          ],
          "required": [
            "ticker"
          ],
          "properties": {
            "ticker": {
              "type": "string"
            },
            "exchange": {
              "type": "string"
            }
          }
        },
        "description": {
          "type": "string"
        }
      }
    },
    "list_offered": {
      "type": "boolean"
    },
    "list_companies": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "required": [
          "ticker",
          "exchange"
        ],
        "properties": {
          "ticker": {
            "type": "string"
          },
          "exchange": {
            "type": "string"
          }
        }
      }
    },
    "standing_definition": {
      "type": [
        "null",
        "object"
      ],
      "required": [
        "universe",
        "coverage",
        "interpretation"
      ],
      "properties": {
        "coverage": {
          "type": "string"
        },
        "universe": {
          "type": "string"
        },
        "interpretation": {
          "type": "string"
        }
      }
    }
  }
}
get_shortlist_summary annotations
{
  "title": "Read My Shortlist",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
initiate_analysis — Initiate Analysis
Advertised by the server during the last successful anonymous check.
Advertised destructive

Start a fresh StockLens analysis of one company, only when the person asks for one or agrees to an offer of one in a get_market_summary result. A new run may use one Analysis credit, or one Plus Analysis credit when depth is plus; the result says if the person's plan does not include it. Use inspect_reading for already-produced evidence when its exact reference is available; an evidence question alone never authorizes a run. Both depths include written domain summaries and synthesis when produced; Plus adds deeper synthesis and extra web cards where available. The assistant result is condensed; the saved web report has the factor cards and Explain views. It waits up to 9 seconds for the analysis's scores and returns them in result with its analysis_id when they are ready, otherwise its analysis_id and current status. When there is no result, or narrative.status is pending or running, call fetch_analysis_result with that analysis_id right away; it waits for what is still being written. new_run_started says whether a new run started; present an existing one as the person's analysis, with its date. Present a returned result as fetch_analysis_result describes. One ticker per call. It does not rank or compare companies, and does not trade or move money.

initiate_analysis input schema
{
  "type": "object",
  "required": [
    "ticker"
  ],
  "properties": {
    "depth": {
      "enum": [
        "standard",
        "plus"
      ],
      "type": "string",
      "description": "Analysis depth: standard or plus. Both include written domain summaries and synthesis when produced. Plus uses deeper synthesis and adds extra cards in the web report where available. Standard uses an Analysis credit (LENS_AI); Plus uses a Plus Analysis credit (LENS_AI_PLUS). 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": "Intended holding period, looking forward from the analysis date. Shorter horizons give recent price action, momentum and news more emphasis than longer ones; longer horizons give business fundamentals and quality more emphasis. Input history can span longer periods. Does not predict price or returns. 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."
    },
    "analysis_focus": {
      "enum": [
        "low",
        "medium",
        "high"
      ],
      "type": "string",
      "description": "Analysis focus: low=Defensive, medium=Balanced, high=Growth. Default medium. Reweights downside/quality risk versus growth/fundamentals, never the underlying facts. Not a personal risk or suitability assessment."
    },
    "risk_tolerance": {
      "enum": [
        "low",
        "medium",
        "high"
      ],
      "type": "string",
      "description": "Deprecated compatibility alias for analysis_focus. Use analysis_focus for new calls. If both are supplied they must agree (case-insensitive)."
    },
    "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 analysis_focus (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
}
initiate_analysis output schema
{
  "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"
    },
    "result": {
      "type": "object",
      "required": [
        "analysis_id",
        "status",
        "scope"
      ],
      "properties": {
        "scope": {
          "enum": [
            "single_analysis_result"
          ],
          "type": "string"
        },
        "result": {
          "type": [
            "null",
            "object"
          ],
          "anyOf": [
            {
              "required": [
                "analysis_focus",
                "analysis_focus_display"
              ]
            },
            {
              "required": [
                "risk_tolerance",
                "risk_tolerance_display"
              ]
            }
          ],
          "required": [
            "symbol",
            "exchange",
            "company_name",
            "credit_type",
            "time_range_display",
            "analysis_date",
            "exchange_timezone",
            "domains"
          ],
          "properties": {
            "lens": {
              "type": [
                "null",
                "object"
              ],
              "required": [
                "label"
              ],
              "properties": {
                "label": {
                  "type": "string"
                }
              }
            },
            "symbol": {
              "type": "string"
            },
            "domains": {
              "type": [
                "null",
                "array"
              ],
              "items": {
                "type": "object",
                "required": [
                  "domain",
                  "score",
                  "grade"
                ],
                "properties": {
                  "grade": {
                    "type": "string"
                  },
                  "score": {
                    "type": "integer"
                  },
                  "domain": {
                    "type": "string"
                  },
                  "analysis": {
                    "type": [
                      "null",
                      "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"
                        }
                      }
                    }
                  },
                  "insider_key_metrics": {
                    "type": [
                      "null",
                      "array"
                    ],
                    "items": {
                      "type": "object",
                      "required": [
                        "label",
                        "value"
                      ],
                      "properties": {
                        "label": {
                          "type": "string"
                        },
                        "value": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            },
            "currency": {
              "type": "string"
            },
            "evidence": {
              "type": "string"
            },
            "exchange": {
              "type": "string"
            },
            "findings": {
              "type": [
                "null",
                "object"
              ],
              "required": [
                "claim",
                "leading"
              ],
              "properties": {
                "claim": {
                  "type": "string",
                  "description": "How strongly the leading findings may be described. strongest: both moved this score most. strongest_first: the first moved it most and the second is another factor. explained: describe what the available evidence shows, with no biggest-mover sentence."
                },
                "leading": {
                  "type": [
                    "null",
                    "array"
                  ],
                  "items": {
                    "type": "object",
                    "required": [
                      "ref",
                      "driver"
                    ],
                    "properties": {
                      "ref": {
                        "type": "string",
                        "description": "This finding's reference within this reading only."
                      },
                      "fact": {
                        "type": [
                          "null",
                          "object"
                        ],
                        "required": [
                          "family",
                          "company_figure",
                          "period"
                        ],
                        "properties": {
                          "unit": {
                            "type": [
                              "null",
                              "string"
                            ],
                            "description": "The figures' unit as written; absent when the figure has none."
                          },
                          "family": {
                            "type": "string",
                            "description": "peer_comparison or stated_figure."
                          },
                          "period": {
                            "type": "string",
                            "description": "The window or point in time the figures describe, as written."
                          },
                          "peer_group": {
                            "type": [
                              "null",
                              "string"
                            ]
                          },
                          "peer_figure": {
                            "type": [
                              "null",
                              "string"
                            ]
                          },
                          "company_figure": {
                            "type": "string"
                          },
                          "peer_statistic": {
                            "type": [
                              "null",
                              "string"
                            ],
                            "description": "Which statistic of the peers peer_figure is, such as median."
                          }
                        },
                        "description": "This finding's certified figure with its own period and unit; give the figure with that period, which can differ from the reading's date."
                      },
                      "role": {
                        "type": "string",
                        "description": "counterpoint, reinforcing or contrasting; reinforcing means another material finding pointing the same way, never that one fact supports the other."
                      },
                      "topic": {
                        "type": "string",
                        "description": "The finding's public topic, stable across readings of this listing; use it to avoid repeating a finding in the conversation."
                      },
                      "driver": {
                        "type": "object",
                        "required": [
                          "kind",
                          "label"
                        ],
                        "properties": {
                          "kind": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "domain": {
                            "type": [
                              "null",
                              "string"
                            ]
                          },
                          "metric": {
                            "type": [
                              "null",
                              "string"
                            ]
                          },
                          "context": {
                            "type": [
                              "null",
                              "string"
                            ]
                          },
                          "event_date": {
                            "type": "string",
                            "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date."
                          },
                          "event_kind": {
                            "type": "string",
                            "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding)."
                          },
                          "peer_group": {
                            "type": [
                              "null",
                              "string"
                            ]
                          },
                          "company_figure": {
                            "type": [
                              "null",
                              "string"
                            ]
                          },
                          "event_window_end": {
                            "type": "string",
                            "description": "A measured aggregate's window end (ISO)."
                          },
                          "event_window_start": {
                            "type": "string",
                            "description": "A measured aggregate's window start (ISO); name the window, never one report."
                          },
                          "latest_material_event_date": {
                            "type": "string",
                            "description": "The latest material event inside an aggregate's window (ISO)."
                          }
                        }
                      },
                      "measure": {
                        "type": [
                          "null",
                          "string"
                        ],
                        "description": "The readable measure the finding is about: the only quantity a question about it may ask about."
                      },
                      "qualification": {
                        "type": [
                          "null",
                          "object"
                        ],
                        "required": [
                          "qualifying_topic",
                          "qualifying_measure",
                          "company_figure",
                          "period_end",
                          "pe_figure",
                          "peer_median",
                          "peer_group",
                          "peer_basis",
                          "position",
                          "applied",
                          "remaining_assessment"
                        ],
                        "properties": {
                          "applied": {
                            "type": "boolean",
                            "description": "true: the qualifying figure eased how StockLens weighed this P/E. false: it changed nothing here and is context at most, never a mitigation."
                          },
                          "position": {
                            "type": "string",
                            "description": "above, below or at: the P/E against the stated peer figure."
                          },
                          "pe_figure": {
                            "type": "string"
                          },
                          "peer_basis": {
                            "type": "string",
                            "description": "observed: a median of observed peer companies. blended: a blended peer mark, never to be called a median of companies."
                          },
                          "peer_group": {
                            "type": "string"
                          },
                          "period_end": {
                            "type": "string",
                            "description": "The end of the trailing period the figures describe (ISO date)."
                          },
                          "peer_median": {
                            "type": "string"
                          },
                          "company_figure": {
                            "type": "string",
                            "description": "The company's qualifying figure, as written."
                          },
                          "qualifying_ref": {
                            "type": "string",
                            "description": "The ref of another finding in this answer on the qualifying measure: the same figure, so say it once."
                          },
                          "qualifying_topic": {
                            "type": "string"
                          },
                          "qualifying_measure": {
                            "type": "string",
                            "description": "The qualifying measure's name, as StockLens says it."
                          },
                          "remaining_assessment": {
                            "type": "string",
                            "description": "headwind, neutral or supportive: how this P/E still reads at this valuation node."
                          }
                        }
                      }
                    }
                  },
                  "description": "This reading's strongest distinct, material, explainable influences on its score, in order (0 to 2). An empty list supplies no findings question. A separately carried next_step still applies."
                },
                "next_looks": {
                  "type": [
                    "null",
                    "array"
                  ],
                  "items": {
                    "type": "object",
                    "required": [
                      "question",
                      "ref",
                      "topic",
                      "measure",
                      "answer"
                    ],
                    "properties": {
                      "ref": {
                        "type": "string",
                        "description": "This finding's reference within this reading only."
                      },
                      "role": {
                        "type": "string",
                        "description": "reinforcing or contrasting, relative to the first leading finding."
                      },
                      "topic": {
                        "type": "string",
                        "description": "The finding's public topic; never ask about a topic already covered for this company in the conversation."
                      },
                      "answer": {
                        "type": "object",
                        "required": [
                          "family",
                          "company_figure",
                          "period"
                        ],
                        "properties": {
                          "unit": {
                            "type": [
                              "null",
                              "string"
                            ],
                            "description": "The figures' unit as written; absent when the figure has none."
                          },
                          "family": {
                            "type": "string",
                            "description": "peer_comparison or stated_figure."
                          },
                          "period": {
                            "type": "string",
                            "description": "The window or point in time the figures describe, as written."
                          },
                          "peer_group": {
                            "type": [
                              "null",
                              "string"
                            ]
                          },
                          "peer_figure": {
                            "type": [
                              "null",
                              "string"
                            ]
                          },
                          "company_figure": {
                            "type": "string"
                          },
                          "peer_statistic": {
                            "type": [
                              "null",
                              "string"
                            ],
                            "description": "Which statistic of the peers peer_figure is, such as median."
                          }
                        },
                        "description": "The certified facts that answer a yes, relayed as given with their period."
                      },
                      "measure": {
                        "type": "string"
                      },
                      "question": {
                        "type": "string",
                        "description": "An approved closing question this result can answer, worded for the assistant to ask; ask it as written or in your own words about the same measure."
                      },
                      "event_date": {
                        "type": "string",
                        "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date."
                      },
                      "event_kind": {
                        "type": "string",
                        "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding)."
                      },
                      "event_window_end": {
                        "type": "string",
                        "description": "A measured aggregate's window end (ISO)."
                      },
                      "event_window_start": {
                        "type": "string",
                        "description": "A measured aggregate's window start (ISO); name the window, never one report."
                      },
                      "latest_material_event_date": {
                        "type": "string",
                        "description": "The latest material event inside an aggregate's window (ISO)."
                      }
                    }
                  },
                  "description": "Up to two unused findings this result can answer, best first, each with an approved closing question; present at most one. Absent when an offer or another ask takes the closing line."
                },
                "first_answer": {
                  "type": [
                    "null",
                    "object"
                  ],
                  "required": [
                    "ref",
                    "driver"
                  ],
                  "properties": {
                    "ref": {
                      "type": "string",
                      "description": "This finding's reference within this reading only."
                    },
                    "fact": {
                      "type": [
                        "null",
                        "object"
                      ],
                      "required": [
                        "family",
                        "company_figure",
                        "period"
                      ],
                      "properties": {
                        "unit": {
                          "type": [
                            "null",
                            "string"
                          ],
                          "description": "The figures' unit as written; absent when the figure has none."
                        },
                        "family": {
                          "type": "string",
                          "description": "peer_comparison or stated_figure."
                        },
                        "period": {
                          "type": "string",
                          "description": "The window or point in time the figures describe, as written."
                        },
                        "peer_group": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "peer_figure": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "company_figure": {
                          "type": "string"
                        },
                        "peer_statistic": {
                          "type": [
                            "null",
                            "string"
                          ],
                          "description": "Which statistic of the peers peer_figure is, such as median."
                        }
                      },
                      "description": "This finding's certified figure with its own period and unit; give the figure with that period, which can differ from the reading's date."
                    },
                    "role": {
                      "type": "string",
                      "description": "counterpoint, reinforcing or contrasting; reinforcing means another material finding pointing the same way, never that one fact supports the other."
                    },
                    "topic": {
                      "type": "string",
                      "description": "The finding's public topic, stable across readings of this listing; use it to avoid repeating a finding in the conversation."
                    },
                    "driver": {
                      "type": "object",
                      "required": [
                        "kind",
                        "label"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string"
                        },
                        "label": {
                          "type": "string"
                        },
                        "domain": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "metric": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "context": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "event_date": {
                          "type": "string",
                          "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date."
                        },
                        "event_kind": {
                          "type": "string",
                          "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding)."
                        },
                        "peer_group": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "company_figure": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "event_window_end": {
                          "type": "string",
                          "description": "A measured aggregate's window end (ISO)."
                        },
                        "event_window_start": {
                          "type": "string",
                          "description": "A measured aggregate's window start (ISO); name the window, never one report."
                        },
                        "latest_material_event_date": {
                          "type": "string",
                          "description": "The latest material event inside an aggregate's window (ISO)."
                        }
                      }
                    },
                    "measure": {
                      "type": [
                        "null",
                        "string"
                      ],
                      "description": "The readable measure the finding is about: the only quantity a question about it may ask about."
                    },
                    "qualification": {
                      "type": [
                        "null",
                        "object"
                      ],
                      "required": [
                        "qualifying_topic",
                        "qualifying_measure",
                        "company_figure",
                        "period_end",
                        "pe_figure",
                        "peer_median",
                        "peer_group",
                        "peer_basis",
                        "position",
                        "applied",
                        "remaining_assessment"
                      ],
                      "properties": {
                        "applied": {
                          "type": "boolean",
                          "description": "true: the qualifying figure eased how StockLens weighed this P/E. false: it changed nothing here and is context at most, never a mitigation."
                        },
                        "position": {
                          "type": "string",
                          "description": "above, below or at: the P/E against the stated peer figure."
                        },
                        "pe_figure": {
                          "type": "string"
                        },
                        "peer_basis": {
                          "type": "string",
                          "description": "observed: a median of observed peer companies. blended: a blended peer mark, never to be called a median of companies."
                        },
                        "peer_group": {
                          "type": "string"
                        },
                        "period_end": {
                          "type": "string",
                          "description": "The end of the trailing period the figures describe (ISO date)."
                        },
                        "peer_median": {
                          "type": "string"
                        },
                        "company_figure": {
                          "type": "string",
                          "description": "The company's qualifying figure, as written."
                        },
                        "qualifying_ref": {
                          "type": "string",
                          "description": "The ref of another finding in this answer on the qualifying measure: the same figure, so say it once."
                        },
                        "qualifying_topic": {
                          "type": "string"
                        },
                        "qualifying_measure": {
                          "type": "string",
                          "description": "The qualifying measure's name, as StockLens says it."
                        },
                        "remaining_assessment": {
                          "type": "string",
                          "description": "headwind, neutral or supportive: how this P/E still reads at this valuation node."
                        }
                      }
                    }
                  },
                  "description": "One more finding the answer must carry: a counterpoint (a material finding pointing the other way) or another material finding pointing the same way. Never leave it for a question."
                }
              }
            },
            "credit_type": {
              "type": "string"
            },
            "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"
                    ]
                  },
                  "event_date": {
                    "type": "string",
                    "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date."
                  },
                  "event_kind": {
                    "type": "string",
                    "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding)."
                  },
                  "peer_group": {
                    "type": [
                      "null",
                      "string"
                    ]
                  },
                  "company_figure": {
                    "type": [
                      "null",
                      "string"
                    ]
                  },
                  "event_window_end": {
                    "type": "string",
                    "description": "A measured aggregate's window end (ISO)."
                  },
                  "event_window_start": {
                    "type": "string",
                    "description": "A measured aggregate's window start (ISO); name the window, never one report."
                  },
                  "latest_material_event_date": {
                    "type": "string",
                    "description": "The latest material event inside an aggregate's window (ISO)."
                  }
                }
              }
            },
            "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"
                  }
                }
              }
            },
            "price_change": {
              "type": [
                "null",
                "number"
              ]
            },
            "analysis_date": {
              "type": "string"
            },
            "canonical_url": {
              "type": "string",
              "description": "Public company page for this listing. It shows the current nightly reading."
            },
            "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"
                  }
                }
              }
            },
            "analysis_focus": {
              "type": "string"
            },
            "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"
                  }
                }
              }
            },
            "risk_tolerance": {
              "type": "string",
              "description": "Historical response alias for analysis_focus; new responses use the canonical key."
            },
            "domain_coverage": {
              "type": [
                "null",
                "object"
              ],
              "properties": {
                "not_scored": {
                  "type": [
                    "null",
                    "array"
                  ],
                  "items": {
                    "enum": [
                      "Fundamental",
                      "Technical",
                      "Risk",
                      "Sentiment",
                      "Macro"
                    ],
                    "type": "string"
                  }
                },
                "sentiment_sources_note": {
                  "type": "string",
                  "description": "The Sentiment evidence this reading did not use and why, as one sentence to relay as given, for example: Evidence not read in this analysis: earnings calls (none found recently)."
                }
              }
            },
            "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"
              ]
            },
            "analysis_focus_display": {
              "type": "string"
            },
            "risk_tolerance_display": {
              "type": "string",
              "description": "Historical response alias for analysis_focus_display; new responses use the canonical key."
            },
            "display_composite_score": {
              "type": [
                "null",
                "integer"
              ]
            },
            "evidence_history_family": {
              "type": [
                "null",
                "string"
              ]
            },
            "analysis_source_exchange": {
              "type": [
                "null",
                "string"
              ]
            }
          }
        },
        "status": {
          "enum": [
            "in_progress",
            "complete",
            "failed"
          ],
          "type": "string"
        },
        "message": {
          "type": "string",
          "description": "A sentence to relay as given: while in_progress, the analysis's actual stage; on a complete result, whether its written summaries are still being written or could not be completed. Never invent or rotate progress narration."
        },
        "narrative": {
          "type": [
            "null",
            "object"
          ],
          "required": [
            "status",
            "revision"
          ],
          "properties": {
            "status": {
              "enum": [
                "pending",
                "running",
                "ready",
                "failed"
              ],
              "type": "string",
              "description": "pending or running: still being written, and not in this result. ready: in this result. failed: could not be completed; the scores and evidence are unaffected."
            },
            "ready_at": {
              "type": "string",
              "description": "When the written summaries became ready (ISO 8601)."
            },
            "revision": {
              "type": "integer",
              "description": "Rises with every change of the summaries' state; a higher revision is the newer answer."
            },
            "failed_at": {
              "type": "string",
              "description": "When the written summaries failed (ISO 8601)."
            },
            "error_code": {
              "enum": [
                "DEADLINE_EXCEEDED",
                "DELIVERY_BUDGET_EXHAUSTED",
                "PROVIDER_UNAVAILABLE",
                "PROVIDER_REJECTED",
                "INVALID_NARRATIVE",
                "UNSUPPORTED_CONSUMER",
                "CORRUPT_PAYLOAD",
                "INTERNAL_FAILURE"
              ],
              "type": "string",
              "description": "Why the written summaries failed, as a diagnostic code."
            }
          },
          "description": "The state of the written summaries (the domain conclusions, the synthesis, and the key strengths and challenges) of a complete result."
        },
        "inspection": {
          "type": [
            "null",
            "object"
          ],
          "required": [
            "label",
            "arguments"
          ],
          "properties": {
            "label": {
              "type": "string",
              "description": "Navigation metadata for selecting a view, not text for the person: never quote it. Read the selected result for its material context and bindings."
            },
            "arguments": {
              "type": "object",
              "required": [
                "reading_ref"
              ],
              "properties": {
                "view": {
                  "type": "string",
                  "description": "Copy from inspection.arguments; default overview. Only overview, finding, assessment or observation."
                },
                "selector": {
                  "type": "string",
                  "description": "Copy the selector from inspection.arguments, including an optional overview continuation. Required for other views."
                },
                "reading_ref": {
                  "type": "string",
                  "description": "Exact reading_ref returned by StockLens. Never reconstruct from a ticker or date."
                }
              }
            }
          }
        },
        "report_url": {
          "type": "string",
          "description": "Open this saved report for factor values, peer context and ranked contributors through Explain where supplied. Sign in to the owning StockLens account. Reading it does not start another analysis. Present with every complete result, which has passed ownership checks; the report can open before its written summaries finish."
        },
        "analysis_id": {
          "type": "string"
        },
        "base_digest": {
          "type": "string",
          "description": "Identifies the saved scores and evidence of a complete result. It stays the same when the written summaries arrive."
        },
        "reading_ref": {
          "type": "string"
        },
        "progress_pct": {
          "type": [
            "null",
            "integer"
          ]
        },
        "signed_in_as": {
          "type": "string",
          "description": "The StockLens account that owns report_url, its email masked: the report opens on stocklens.com when this account is signed in. Present only with report_url."
        },
        "error_message": {
          "type": [
            "null",
            "string"
          ]
        },
        "retry_after_seconds": {
          "type": [
            "null",
            "integer"
          ]
        },
        "deterministic_ready_at": {
          "type": "string",
          "description": "When the scores and evidence were saved, ahead of the written summaries (ISO 8601). Absent when the report was saved together with its summaries."
        }
      },
      "description": "The analysis's saved result, as fetch_analysis_result returns it, when its scores were stored while this call waited; absent when the status is pending"
    },
    "status": {
      "enum": [
        "pending",
        "in_progress",
        "complete",
        "failed"
      ],
      "type": "string"
    },
    "ticker": {
      "type": "string",
      "description": "The listing the analysis is of: its ticker as StockLens holds it"
    },
    "message": {
      "type": "string",
      "description": "Which analysis was started or reused, naming the company, ticker and exchange; relay it as written"
    },
    "exchange": {
      "type": "string",
      "description": "The listing's exchange code"
    },
    "analysis_id": {
      "type": "string"
    },
    "credit_type": {
      "enum": [
        "LENS_AI",
        "LENS_AI_PLUS"
      ],
      "type": "string"
    },
    "company_name": {
      "type": "string",
      "description": "The listing's company name, when resolution named it"
    },
    "new_run_started": {
      "type": "boolean"
    },
    "reused_existing": {
      "type": "boolean"
    },
    "estimated_seconds": {
      "type": "integer"
    }
  }
}
initiate_analysis annotations
{
  "title": "Initiate Analysis",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
inspect_reading — Inspect Reading
Advertised by the server during the last successful anonymous check.
Advertised read-only

Explain why an exact StockLens reading says something, using evidence already produced; no credits, new analysis or writes. Use for a selected score reason, finding, qualification or assessment, including momentum, authorized moat or Beneish where produced. Copy reading_ref and the labelled view/selector from inspection arguments; overview is the default. A clear evidence request authorizes this read without another permission question. Follow a returned overview continuation only when more saved choices are needed; each call reads this same exact reading. Keep the company, date, reading kind/depth and all material context. USED_IN_ASSESSMENT, RELATED_OBSERVATION and FUTURE_CHECK have different roles. A selected_reason SOURCE_METRIC supplies its own saved interpretation; RELATED_ASSESSMENT is context, not evidence for that reason. Narrative sentences stay unbound. A standalone observation has no assessment-relative role; produced inapplicability can be inspected for its explanation, without a calculated score. Assessment-level unions do not prove per-sentence witnesses, a group is not a causal pair, and shared observations are not independent corroboration. Unknown, gated, expired and uncaptured detail stays typed; never substitute today's reading, retry unchanged or start a run to fill it. Pending/failed narrative does not erase deterministic evidence. Avoid repeating the same bound meaning as both narrative and finding. Only the four declared views are supported; this is not full structural inspection of every web card. An exact report link is optional. On request give the original dated evidence as history. Never offer an unsupported source as a current reason or question; only use supplied reading references and selectors.

inspect_reading input schema
{
  "type": "object",
  "required": [
    "reading_ref"
  ],
  "properties": {
    "view": {
      "enum": [
        "overview",
        "finding",
        "assessment",
        "observation"
      ],
      "type": "string",
      "description": "Copy from inspection.arguments; default overview. Only overview, finding, assessment or observation."
    },
    "selector": {
      "type": "string",
      "description": "Copy the selector from inspection.arguments, including an optional overview continuation. Required for other views."
    },
    "reading_ref": {
      "type": "string",
      "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$",
      "description": "Exact reading_ref returned by StockLens. Never reconstruct from a ticker or date."
    }
  },
  "additionalProperties": false
}
inspect_reading output schema
{
  "type": "object",
  "required": [
    "status",
    "scope",
    "reading_ref",
    "view",
    "availability"
  ],
  "properties": {
    "kind": {
      "enum": [
        "REQUESTED",
        "NIGHTLY"
      ],
      "type": "string"
    },
    "view": {
      "enum": [
        "overview",
        "finding",
        "assessment",
        "observation"
      ],
      "type": "string"
    },
    "as_of": {
      "type": "string"
    },
    "scope": {
      "enum": [
        "exact_reading"
      ],
      "type": "string"
    },
    "reason": {
      "type": "string"
    },
    "status": {
      "enum": [
        "served",
        "unavailable",
        "budget_limit"
      ],
      "type": "string"
    },
    "company": {
      "type": [
        "null",
        "object"
      ],
      "required": [
        "ticker",
        "exchange",
        "depth"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "depth": {
          "enum": [
            "ANALYSIS",
            "PLUS",
            "PUBLIC_NIGHTLY"
          ],
          "type": "string"
        },
        "ticker": {
          "type": "string"
        },
        "exchange": {
          "type": "string"
        },
        "canonical_url": {
          "type": "string",
          "description": "Public company page for this listing. It shows the current nightly reading."
        }
      }
    },
    "finding": {
      "type": [
        "null",
        "object"
      ],
      "required": [
        "finding_ref",
        "label",
        "availability"
      ],
      "properties": {
        "label": {
          "type": "string"
        },
        "outlook": {
          "type": "string"
        },
        "finding_ref": {
          "type": "string"
        },
        "availability": {
          "enum": [
            "AVAILABLE",
            "PARTIAL",
            "NOT_APPLICABLE",
            "UNAVAILABLE",
            "GATED",
            "NOT_CAPTURED",
            "UNBOUND",
            "EXPIRED",
            "CAPTURE_FAILED",
            "BUDGET_LIMIT"
          ],
          "type": "string"
        },
        "interpretation_ref": {
          "type": "string"
        }
      }
    },
    "message": {
      "type": "string"
    },
    "verdict": {
      "type": [
        "null",
        "object"
      ],
      "required": [
        "score",
        "rating"
      ],
      "properties": {
        "score": {
          "type": "number"
        },
        "rating": {
          "type": "string"
        },
        "key_drivers": {
          "type": [
            "null",
            "array"
          ],
          "items": {
            "type": "object",
            "required": [
              "kind",
              "label"
            ],
            "properties": {
              "kind": {
                "type": "string"
              },
              "label": {
                "type": "string"
              },
              "domain": {
                "type": [
                  "null",
                  "string"
                ]
              },
              "metric": {
                "type": [
                  "null",
                  "string"
                ]
              },
              "context": {
                "type": [
                  "null",
                  "string"
                ]
              },
              "event_date": {
                "type": "string",
                "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date."
              },
              "event_kind": {
                "type": "string",
                "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding)."
              },
              "peer_group": {
                "type": [
                  "null",
                  "string"
                ]
              },
              "company_figure": {
                "type": [
                  "null",
                  "string"
                ]
              },
              "event_window_end": {
                "type": "string",
                "description": "A measured aggregate's window end (ISO)."
              },
              "event_window_start": {
                "type": "string",
                "description": "A measured aggregate's window start (ISO); name the window, never one report."
              },
              "latest_material_event_date": {
                "type": "string",
                "description": "The latest material event inside an aggregate's window (ISO)."
              }
            }
          }
        }
      }
    },
    "coverage": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "required": [
          "label",
          "availability"
        ],
        "properties": {
          "label": {
            "type": "string"
          },
          "availability": {
            "enum": [
              "AVAILABLE",
              "PARTIAL",
              "NOT_APPLICABLE",
              "UNAVAILABLE",
              "GATED",
              "NOT_CAPTURED",
              "UNBOUND",
              "EXPIRED",
              "CAPTURE_FAILED",
              "BUDGET_LIMIT"
            ],
            "type": "string"
          }
        }
      }
    },
    "evidence": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "required": [
          "observation_ref",
          "label",
          "availability"
        ],
        "properties": {
          "role": {
            "enum": [
              "USED_IN_ASSESSMENT",
              "RELATED_OBSERVATION",
              "FUTURE_CHECK"
            ],
            "type": "string"
          },
          "unit": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "value": {
            "type": [
              "null",
              "number"
            ]
          },
          "reason": {
            "type": "string"
          },
          "window": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "provenance": {
            "type": "string"
          },
          "observed_at": {
            "type": "string"
          },
          "reported_at": {
            "type": "string"
          },
          "availability": {
            "enum": [
              "AVAILABLE",
              "PARTIAL",
              "NOT_APPLICABLE",
              "UNAVAILABLE",
              "GATED",
              "NOT_CAPTURED",
              "UNBOUND",
              "EXPIRED",
              "CAPTURE_FAILED",
              "BUDGET_LIMIT"
            ],
            "type": "string"
          },
          "available_at": {
            "type": "string"
          },
          "saved_context": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "object",
              "required": [
                "label",
                "display_value"
              ],
              "properties": {
                "unit": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "mitigated": {
                  "type": [
                    "null",
                    "boolean"
                  ]
                },
                "source_group": {
                  "type": "string"
                },
                "display_value": {
                  "type": "string"
                },
                "numeric_value": {
                  "type": [
                    "null",
                    "number"
                  ]
                },
                "source_domain": {
                  "type": "string"
                },
                "interpretation": {
                  "type": "string"
                },
                "peer_reference": {
                  "type": [
                    "null",
                    "object"
                  ],
                  "required": [
                    "value",
                    "p25",
                    "median",
                    "p75",
                    "higher_is_better"
                  ],
                  "properties": {
                    "p25": {
                      "type": "number"
                    },
                    "p75": {
                      "type": "number"
                    },
                    "value": {
                      "type": "number"
                    },
                    "median": {
                      "type": "number"
                    },
                    "higher_is_better": {
                      "type": "boolean"
                    },
                    "peer_group_label": {
                      "type": "string"
                    }
                  }
                },
                "mitigation_reason": {
                  "type": "string"
                }
              }
            }
          },
          "fiscal_quarter": {
            "type": "string"
          },
          "observation_ref": {
            "type": "string"
          },
          "canonical_decimal": {
            "type": [
              "null",
              "object"
            ],
            "required": [
              "unscaled_value",
              "scale"
            ],
            "properties": {
              "scale": {
                "type": "integer"
              },
              "unscaled_value": {
                "type": "string"
              }
            }
          },
          "financial_period_end": {
            "type": "string"
          }
        }
      }
    },
    "narrative": {
      "type": [
        "null",
        "object"
      ],
      "required": [
        "status",
        "revision",
        "binding_availability"
      ],
      "properties": {
        "status": {
          "enum": [
            "READY",
            "PENDING",
            "RUNNING",
            "FAILED",
            "UNAVAILABLE"
          ],
          "type": "string"
        },
        "revision": {
          "type": "integer"
        },
        "binding_availability": {
          "enum": [
            "UNBOUND"
          ],
          "type": "string"
        }
      }
    },
    "assessment": {
      "type": [
        "null",
        "object"
      ],
      "required": [
        "label",
        "availability"
      ],
      "properties": {
        "label": {
          "type": "string"
        },
        "outcome": {
          "type": "string"
        },
        "summary": {
          "type": "string"
        },
        "evidence": {
          "type": [
            "null",
            "array"
          ],
          "items": {
            "type": "string"
          }
        },
        "headline": {
          "type": "string"
        },
        "direction": {
          "type": "string"
        },
        "risk_level": {
          "type": "string"
        },
        "availability": {
          "enum": [
            "AVAILABLE",
            "PARTIAL",
            "NOT_APPLICABLE",
            "UNAVAILABLE",
            "GATED",
            "NOT_CAPTURED",
            "UNBOUND",
            "EXPIRED",
            "CAPTURE_FAILED",
            "BUDGET_LIMIT"
          ],
          "type": "string"
        },
        "period_label": {
          "type": "string"
        },
        "qualification": {
          "type": "string"
        },
        "quality_score": {
          "type": [
            "null",
            "integer"
          ]
        },
        "momentum_score": {
          "type": [
            "null",
            "integer"
          ]
        },
        "calculated_result": {
          "type": [
            "null",
            "number"
          ]
        },
        "visual_confidence": {
          "type": "string"
        },
        "source_description": {
          "type": "string"
        }
      }
    },
    "inspection": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "required": [
          "label",
          "arguments"
        ],
        "properties": {
          "label": {
            "type": "string",
            "description": "Navigation metadata for selecting a view, not text for the person: never quote it. Read the selected result for its material context and bindings."
          },
          "arguments": {
            "type": "object",
            "required": [
              "reading_ref"
            ],
            "properties": {
              "view": {
                "enum": [
                  "overview",
                  "finding",
                  "assessment",
                  "observation"
                ],
                "type": "string",
                "description": "Copy from inspection.arguments; default overview. Only overview, finding, assessment or observation."
              },
              "selector": {
                "type": "string",
                "description": "Copy the selector from inspection.arguments, including an optional overview continuation. Required for other views."
              },
              "reading_ref": {
                "type": "string",
                "description": "Exact reading_ref returned by StockLens. Never reconstruct from a ticker or date."
              }
            }
          }
        }
      }
    },
    "report_url": {
      "type": "string"
    },
    "limitations": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "string"
      }
    },
    "reading_ref": {
      "type": "string"
    },
    "availability": {
      "enum": [
        "AVAILABLE",
        "PARTIAL",
        "NOT_APPLICABLE",
        "UNAVAILABLE",
        "GATED",
        "NOT_CAPTURED",
        "UNBOUND",
        "EXPIRED",
        "CAPTURE_FAILED",
        "BUDGET_LIMIT"
      ],
      "type": "string"
    },
    "evidence_scope": {
      "enum": [
        "unbound",
        "assessment",
        "finding",
        "observation",
        "selected_reason"
      ],
      "type": "string"
    },
    "finding_answer": {
      "type": [
        "null",
        "object"
      ],
      "required": [
        "ref",
        "answer"
      ],
      "properties": {
        "ref": {
          "type": "string"
        },
        "topic": {
          "type": "string"
        },
        "answer": {
          "type": "object",
          "required": [
            "family",
            "company_figure",
            "period"
          ],
          "properties": {
            "unit": {
              "type": [
                "null",
                "string"
              ],
              "description": "The figures' unit as written; absent when the figure has none."
            },
            "family": {
              "type": "string",
              "description": "peer_comparison or stated_figure."
            },
            "period": {
              "type": "string",
              "description": "The window or point in time the figures describe, as written."
            },
            "peer_group": {
              "type": [
                "null",
                "string"
              ]
            },
            "peer_figure": {
              "type": [
                "null",
                "string"
              ]
            },
            "company_figure": {
              "type": "string"
            },
            "peer_statistic": {
              "type": [
                "null",
                "string"
              ],
              "description": "Which statistic of the peers peer_figure is, such as median."
            }
          },
          "description": "The certified facts that answer the person's yes, the same ones the reading's result carried: relay them as given with their period, then stop."
        },
        "measure": {
          "type": "string"
        }
      },
      "description": "The certified answer to the next look whose ref was the selector, from this same reading's result."
    },
    "selected_reason": {
      "type": [
        "null",
        "object"
      ],
      "required": [
        "reason_ref",
        "interpretation_ref",
        "driver",
        "destination_availability"
      ],
      "properties": {
        "driver": {
          "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"
              ]
            },
            "event_date": {
              "type": "string",
              "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date."
            },
            "event_kind": {
              "type": "string",
              "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding)."
            },
            "peer_group": {
              "type": [
                "null",
                "string"
              ]
            },
            "company_figure": {
              "type": [
                "null",
                "string"
              ]
            },
            "event_window_end": {
              "type": "string",
              "description": "A measured aggregate's window end (ISO)."
            },
            "event_window_start": {
              "type": "string",
              "description": "A measured aggregate's window start (ISO); name the window, never one report."
            },
            "latest_material_event_date": {
              "type": "string",
              "description": "The latest material event inside an aggregate's window (ISO)."
            }
          }
        },
        "relation": {
          "enum": [
            "SOURCE_METRIC",
            "RELATED_ASSESSMENT"
          ],
          "type": "string",
          "description": "SOURCE_METRIC identifies the selected saved occurrence. RELATED_ASSESSMENT offers context, not witnesses for this reason."
        },
        "reason_ref": {
          "type": "string"
        },
        "interpretation_ref": {
          "type": "string"
        },
        "destination_availability": {
          "enum": [
            "AVAILABLE",
            "PARTIAL",
            "NOT_APPLICABLE",
            "UNAVAILABLE",
            "GATED",
            "NOT_CAPTURED",
            "UNBOUND",
            "EXPIRED",
            "CAPTURE_FAILED",
            "BUDGET_LIMIT"
          ],
          "type": "string"
        }
      }
    },
    "detail_expires_at": {
      "type": "string"
    },
    "binding_availability": {
      "enum": [
        "AVAILABLE",
        "PARTIAL",
        "NOT_APPLICABLE",
        "UNAVAILABLE",
        "GATED",
        "NOT_CAPTURED",
        "UNBOUND",
        "EXPIRED",
        "CAPTURE_FAILED",
        "BUDGET_LIMIT"
      ],
      "type": "string"
    },
    "reason_origins_availability": {
      "enum": [
        "AVAILABLE",
        "PARTIAL",
        "NOT_APPLICABLE",
        "UNAVAILABLE",
        "GATED",
        "NOT_CAPTURED",
        "UNBOUND",
        "EXPIRED",
        "CAPTURE_FAILED",
        "BUDGET_LIMIT"
      ],
      "type": "string"
    }
  }
}
inspect_reading annotations
{
  "title": "Inspect Reading",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
ping — Ping
Advertised by the server during the last successful anonymous check.
Advertised read-only

Health check. Returns pong.

ping input schema
{
  "type": "object",
  "additionalProperties": false
}
ping output schema
{
  "type": "object",
  "required": [
    "status"
  ],
  "properties": {
    "status": {
      "type": "string",
      "description": "Connectivity status: \"ok\" when the MCP server is reachable"
    }
  }
}
ping annotations
{
  "title": "Ping",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
remove_from_watchlist — Remove from Portfolio
Advertised by the server during the last successful anonymous check.
Advertised destructive

Remove one company from one of the person's StockLens portfolios. Call it only when the person has asked for it. Without portfolio_id or portfolio_name it removes from the default portfolio, and the result names the portfolio. Relay the result's message. A status other than removed is an answer, not an error. A holding with recorded transactions is not removed here; the result says where to do it. One ticker per call. It does not trade or delete transactions.

remove_from_watchlist input schema
{
  "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."
    },
    "portfolio_id": {
      "type": "string",
      "description": "The id of the portfolio to remove from, as get_portfolio_insights lists it. Optional: without it or portfolio_name the default portfolio is used."
    },
    "portfolio_name": {
      "type": "string",
      "description": "The name of the portfolio to remove from, as the person names it (exact, case does not matter). Optional."
    }
  },
  "additionalProperties": false
}
remove_from_watchlist output schema
{
  "type": "object",
  "required": [
    "status",
    "message",
    "scope"
  ],
  "properties": {
    "mode": {
      "enum": [
        "holding",
        "watching"
      ],
      "type": "string"
    },
    "scope": {
      "enum": [
        "user_watchlist_update"
      ],
      "type": "string"
    },
    "status": {
      "enum": [
        "removed",
        "not_in_portfolio",
        "has_transactions",
        "ambiguous_listing",
        "portfolio_not_found"
      ],
      "type": "string"
    },
    "ticker": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "exchange": {
      "type": "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"
            },
            "exchange": {
              "type": "string"
            }
          }
        },
        "description": {
          "type": "string"
        }
      }
    },
    "is_default": {
      "type": [
        "null",
        "boolean"
      ]
    },
    "portfolios": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "required": [
          "portfolio_id",
          "portfolio_name",
          "is_default",
          "company_count"
        ],
        "properties": {
          "is_default": {
            "type": "boolean"
          },
          "portfolio_id": {
            "type": "string"
          },
          "company_count": {
            "type": "integer"
          },
          "portfolio_name": {
            "type": "string"
          }
        }
      }
    },
    "portfolio_id": {
      "type": "string"
    },
    "company_count": {
      "type": [
        "null",
        "integer"
      ]
    },
    "portfolio_name": {
      "type": "string"
    },
    "portfolio_count": {
      "type": [
        "null",
        "integer"
      ]
    }
  }
}
remove_from_watchlist annotations
{
  "title": "Remove from Portfolio",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (78 of 78 checks answered)

  1. 2026-11-02: 3 of 3 checks answered
  2. 2026-11-03: 4 of 4 checks answered
  3. 2026-11-04: 4 of 4 checks answered
  4. 2026-11-05: 4 of 4 checks answered
  5. 2026-11-06: 4 of 4 checks answered
  6. 2026-11-07: 2 of 2 checks answered
  7. 2026-11-09: 1 of 1 checks answered
  8. 2026-11-10: 2 of 2 checks answered
  9. 2026-11-11: 1 of 1 checks answered
  10. 2026-11-12: 1 of 1 checks answered
  11. 2026-11-14: 1 of 1 checks answered
  12. 2026-11-15: 2 of 2 checks answered
  13. 2026-11-16: 4 of 4 checks answered
  14. 2026-11-17: 5 of 5 checks answered
  15. 2026-11-18: 5 of 5 checks answered
  16. 2026-11-19: 4 of 4 checks answered
  17. 2026-11-20: 3 of 3 checks answered
  18. 2026-11-21: 4 of 4 checks answered
  19. 2026-11-22: 4 of 4 checks answered
  20. 2026-11-23: 3 of 3 checks answered
  21. 2026-11-24: 4 of 4 checks answered
  22. 2026-11-25: 4 of 4 checks answered
  23. 2026-11-26: 4 of 4 checks answered
  24. 2026-11-27: 4 of 4 checks answered
  25. 2026-11-28: 1 of 1 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
2 of 2 (100%)
Average latency
675 ms
95th percentile latency
701 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 645 ms · metadata changed · 11 tool(s)
  • · probe · passed · 704 ms · metadata changed · 11 tool(s)
  • · registry · passed · metadata changed · Source metadata updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http stocklens-mcp https://mcp.stocklens.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add stocklens-mcp --url https://mcp.stocklens.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable stocklens-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "stocklens-mcp": {
      "url": "https://mcp.stocklens.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "stocklens-mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.stocklens.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start stocklens-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "stocklens-mcp": {
      "type": "http",
      "url": "https://mcp.stocklens.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http stocklens-mcp https://mcp.stocklens.com/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://mcp.stocklens.com/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "stocklens-mcp": {
      "serverUrl": "https://mcp.stocklens.com/mcp"
    }
  }
}

Let your agent find its tools

Find servers like StockLens MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run StockLens MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing