Skip to main content
Glama

get_fundamentals

Read-only

XBRL financials from 10-K/10-Q filings (SEC), AS FILED. One row = one concept at one period end. S&P 500 refreshed three times a week; any other company in SEC's ticker list is read live on first request (USD only) and stored. coverage_warning explains an empty result. On 10-Qs, frame (e.g. CY2025Q3) marks a quarter's own value; no frame usually = year-to-date. More: keyvex.com/docs/tools/get_fundamentals

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_fundamentals"
  }
}

Input Schema

NameRequiredDescriptionDefault
formNo
limitNoDefault 50.
sinceNoYYYY-MM-DD, inclusive, on sort_by's date (period_end default).
untilNoYYYY-MM-DD, inclusive, as since.
tickerNoAny case; BRK.B = BRK-B.
conceptNoExact XBRL tag, case-sensitive, e.g. 'NetIncomeLoss'.
sort_byNoDefault period_end.
categoryNometrics: EPS, share counts. entity: dei shares.
sort_orderNoDefault desc.
company_cikNo
fiscal_yearNoYear the financials describe, not filing year.
latest_onlyNoNewest per (ticker, concept). Default false.
fiscal_periodNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • changedInput schema / properties / category / description
      Previous value: -"Bucket filter when you don't know the exact concept name."New value: +"metrics: EPS, share counts. entity: dei shares."
    • removedInput schema / properties / company_cik / description
      Removed value: -"SEC CIK number. Alternative to ticker."
    • changedInput schema / properties / concept / description
      Previous value: -"Exact XBRL tag name (e.g., 'NetIncomeLoss', 'Revenues', 'Assets', 'CashAndCashEquivalentsAtCarryingValue'). Case-sensitive."New value: +"Exact XBRL tag, case-sensitive, e.g. 'NetIncomeLoss'."
    • removedInput schema / properties / fiscal_period / description
      Removed value: -"Filter to one fiscal period."
    • changedInput schema / properties / fiscal_year / description
      Previous value: -"Filter to one fiscal year — the year the financials DESCRIBE (the company's own fiscal-year label, derived from the original filing), NOT the filing year. Handles non-December fiscal years: e.g. NVDA's year ending 2024-01-28 is fiscal_year 2024, Apple's ending 2024-09-28 is 2024. For point-in-time period filtering, period_end / since / until and frame are also available."New value: +"Year the financials describe, not filing year."
    • removedInput schema / properties / form / description
      Removed value: -"Filter to one filing form."
    • changedInput schema / properties / latest_only / description
      Previous value: -"When true, return only the most-recent observation per (ticker × concept). Default false."New value: +"Newest per (ticker, concept). Default false."
    • changedInput schema / properties / limit / description
      Previous value: -"Default 50, max 500."New value: +"Default 50."
    • changedInput schema / properties / since / description
      Previous value: -"ISO date YYYY-MM-DD. Applied to sort_by field."New value: +"YYYY-MM-DD, inclusive, on sort_by's date (period_end default)."
    • changedInput schema / properties / ticker / description
      Previous value: -"Stock symbol filter, e.g. 'AAPL'. Case-insensitive."New value: +"Any case; BRK.B = BRK-B."
    • changedInput schema / properties / until / description
      Previous value: -"ISO date YYYY-MM-DD."New value: +"YYYY-MM-DD, inclusive, as since."
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only declare readOnly/openWorld/non-destructive; the description adds behavior they cannot convey — caching and refresh cadence, live first-request reads for non-S&P 500 tickers, a USD-only currency constraint, and the existence of coverage_warning on empty results. The note on 10-Q frame semantics ('frame marks a quarter's own value; no frame usually = year-to-date') is exactly the kind of trap an agent would otherwise fall into.

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 and dense — source, grain, freshness, and the empty-result caveat all appear before the docs link. The telegraphic telegraph style ('AS FILED', 'USD only') is efficient, though the final docs URL is mildly extraneous for an agent that cannot browse it.

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

Completeness4/5

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

For a 13-parameter, zero-required read tool with no output schema, the definition covers the essentials: what a row is, currency, refresh/latency behavior, and result-empty signaling. What's missing is a brief statement of which row fields come back (beyond the frame hint) and how ticker vs company_cik or fiscal_period vs fiscal_year interact — though the schema covers the latter directly.

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

Parameters3/5

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

Schema coverage is 77%, so the schema already carries most parameter meaning (defaults for limit/sort, ticker casing, category meanings). The description's additional detail concerns frame semantics for returned rows rather than any of the 13 declared parameters, so it adds little parameter-level guidance beyond the schema baseline.

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

Purpose4/5

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

States a specific resource and source precisely: 'XBRL financials from 10-K/10-Q filings (SEC), AS FILED,' and defines row granularity as 'One row = one concept at one period end.' The scope is clear enough to distinguish it from price or profile tools, but it does not name a sibling (e.g. get_annual_financial_disclosures) to disambiguate the closest alternative.

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

Usage Guidelines4/5

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

Gives real usage context: S&P 500 data is refreshed three times a week while other tickers are fetched live on first request and stored, so an agent knows to expect latency or freshness differences. It also tells the agent that 'coverage_warning explains an empty result,' which preempts a false negative. It stops short of explicit when-not-to-use or alternative-tool routing.

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