Skip to main content
Glama

list_options

Read-only

Enumerate the valid values for a parameter, straight from the backend.

Call this BEFORE guessing a parameter value. `kind` selects which catalog; three
kinds are scoped by a query parameter (`ticker`, or `q` / `cik` / `manager_type`) and
refuse the call without it:

- "event_types"                  -> valid `event_type` for `list_realtime_events`
                                    (eps_update, company_update, biggest_mover, ...)
- "financial_items"              -> standardized EDGAR line items ("revenue",
                                    "operatingIncome") for a CUSTOM report's
                                    `financial_items` (`generate_report_for_stock`,
                                    or a scheduled "create-full-report" step)
- "financial_ratios"             -> EDGAR ratios ("grossProfitMargin") for that
                                    report's `ratios`
- "as_reported_items"            -> NEEDS `ticker`. The filer's OWN tagged XBRL
                                    concepts from its 10-Q / 10-K filings — {concept,
                                    statement_type, label, standard_concept,
                                    latest_period, facts} — for a custom report's
                                    `as_reported_financial_items`
- "revenue_segments"             -> NEEDS `ticker`. The filer's revenue segments as
                                    tagged in its filings — {product_label,
                                    product_member, product_axis, concept,
                                    latest_period, facts} — for a custom report's
                                    `revenue_segment` (pass the product_label).
                                    A name lookup only: never sum members across it
- "institutional_managers"       -> NEEDS `q` (name fragment, e.g. "berkshire"),
                                    `cik` (SEC CIK, any width) and/or `manager_type`
                                    (from "institutional_investor_types"). Managers as
                                    {cik, name, category, current_portfolio_value},
                                    largest first. The value is the 13F cover-page total,
                                    not AUM, and can include options. Page with `limit`
                                    and `offset`. Pass the `cik` values, never the names,
                                    to get_13f_position_changes, get_13f_cik_allocation
                                    or a custom report's `institutional_ownership`
- "sectors"                      -> valid `sector` filter values
- "institutional_investor_types" -> investor CATEGORIES (not managers) — the keys
                                    `screen_stocks(institutional_ownership=...)`
                                    filters on, and the `manager_type` values for
                                    "institutional_managers" and
                                    get_13f_ownership_by_manager_type
- "countries"                    -> covered countries
- "fiscal_quarter"               -> the most recent fiscal quarter being reported
- "market_cap"                   -> valid `market_cap` buckets (Small-cap,
                                    Medium-cap, Large-cap, Mega-cap)
- "intraday_frequency"           -> supported intraday chart frequencies
- "technical_indicators"         -> indicator names accepted by
                                    `get_technical_indicator_data` (rsi, macd,
                                    sma_50, ...); an unknown indicator there
                                    returns a 400 listing this set
- "tickers"                      -> the full covered symbol universe as bare
                                    symbols — equities PLUS ~420 market indices
                                    as caret-prefixed symbols (^GSPC, ^VIX, ...).
                                    NOTE: thousands of names — a large payload
- "tickers_with_names"           -> {symbol, company_name} pairs for the company
                                    universe ONLY — market indices are NOT in
                                    this list, only in "tickers" (an even larger
                                    payload)
- "data_feeds"                   -> the datasets `download_dataset` accepts, as
                                    {dataset, description, returns ("rows" or
                                    "download_links"), date_field, event_types
                                    (valid filter, null = unsupported)}. Call this,
                                    not download_dataset (3 calls/week), to answer
                                    "what feeds are there"

Returns `options` (the values for that kind). Authoritative and never stale: it
reads the backend's live config, not a hardcoded list. Public — no auth required.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "kind": "<kind>"
    },
    "name": "list_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoManager name fragment, e.g. "berkshire" (institutional_managers).
cikNoSEC CIK, any width, e.g. "1067983" (institutional_managers).
kindYesWhich catalog to list; see the kinds below.
limitNoRows per page, 1-500, default 50 (institutional_managers).
offsetNoRows to skip, default 0; past the end returns [] (institutional_managers).
tickerNoFiler ticker, e.g. "AAPL". Required for as_reported_items and revenue_segments.
manager_typeNoOne value from list_options("institutional_investor_types"), e.g. "Pension Fund" (institutional_managers).

Output Schema

NameRequiredDescriptionDefault
kindYesThe catalog that was listed.
optionsYesThe valid values. Usually a list — bare strings for most kinds, records for event_types, tickers, tickers_with_names, as_reported_items, revenue_segments, institutional_managers and data_feeds. fiscal_quarter is a single quarter number.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / limit
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 500,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Rows per page, 1-500, default 50 (institutional_managers).",
      +  "title": "Limit"
      +}
    • addedInput schema / properties / manager_type
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "One value from list_options(\"institutional_investor_types\"), e.g. \"Pension Fund\" (institutional_managers).",
      +  "title": "Manager Type"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "anyOf": [
      +    {
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Rows to skip, default 0; past the end returns [] (institutional_managers).",
      +  "title": "Offset"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "event_types",
      -  "financial_items",
      -  "financial_ratios",
      -  "sectors",
      -  "institutional_investor_types",
      -  "countries",
      -  "fiscal_quarter",
      -  "market_cap",
      -  "intraday_frequency",
      -  "technical_indicators",
      -  "tickers",
      -  "tickers_with_names",
      -  "as_reported_items",
      -  "revenue_segments",
      -  "institutional_managers"
      -]New value: +[
      +  "event_types",
      +  "financial_items",
      +  "financial_ratios",
      +  "sectors",
      +  "institutional_investor_types",
      +  "countries",
      +  "fiscal_quarter",
      +  "market_cap",
      +  "intraday_frequency",
      +  "technical_indicators",
      +  "tickers",
      +  "tickers_with_names",
      +  "as_reported_items",
      +  "revenue_segments",
      +  "institutional_managers",
      +  "data_feeds"
      +]
    • changedOutput schema / properties / options / description
      Previous value: -"The valid values. Usually a list — bare strings for most kinds, records for event_types, tickers, tickers_with_names, as_reported_items, revenue_segments and institutional_managers. fiscal_quarter is a single quarter number."New value: +"The valid values. Usually a list — bare strings for most kinds, records for event_types, tickers, tickers_with_names, as_reported_items, revenue_segments, institutional_managers and data_feeds. fiscal_quarter is a single quarter number."
  3. First observed

TDQS

A4.9/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only cover readOnlyHint, but the description adds the real behavioral traits: no auth required, live backend config so values are never stale, hard refusal for under-scoped kinds, pagination semantics for institutional_managers, and payload-size warnings for tickers/tickers_with_names. It also flags semantics that would otherwise cause incorrect downstream use, e.g. the 13F cover-page total is not AUM, and revenue_segments is a name lookup only, never to be summed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the key directive, then a scannable per-kind list where each bullet names the kind, its requirement, and its downstream consumer. It is long, but the length is driven by a 16-value enum; the only fat is a mildly redundant closing note about being authoritative and unauthenticated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a catalog-listing tool with 7 params and 16 kinds, the description covers prerequisites, per-kind return shapes, pagination, payload size, and downstream wiring. An output schema exists, so the brief note on the `options` envelope is sufficient rather than padded.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so a 3 would be the baseline, but the description goes well beyond the schema: it maps each `kind` to the exact downstream parameter it feeds, specifies which parameter scopes which kind, and tells the caller to pass `product_label` for revenue segments and `cik` values (never names) to the 13F tools. That is meaning the schema alone does not convey.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource: "Enumerate the valid values for a parameter, straight from the backend," and then enumerates every catalog the `kind` enum can address. An agent can distinguish this from data-fetching siblings like screen_stocks or get_13f_position_changes without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit imperative ("Call this BEFORE guessing a parameter value"), states per-kind prerequisites (ticker for as_reported_items/revenue_segments; q/cik/manager_type for institutional_managers) and warns that those kinds refuse the call without them. It also names an alternative and its cost ("Call this, not download_dataset (3 calls/week)"), which is exactly the when-not guidance a routing agent needs.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources