Skip to main content
Glama

SEC XBRL GAAP Financials MCP

Get cross-company SEC XBRL frame

get_xbrl_frame
Read-onlyIdempotent

Retrieve a cross-company SEC XBRL frame aggregating one concept across all filers for a period (e.g. "CY2024Q4I" for instant balance-sheet metrics, "CY2024" for annual flow metrics).

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": {
      "tag": "<tag>",
      "period": "<period>"
    },
    "name": "get_xbrl_frame"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYesXBRL concept tag (e.g. "Assets", "Revenues", "NetIncomeLoss").
unitNoUnit of measure (default "USD").
limitNoMaximum top filers to return (1 to 100). Default 20.
periodYesCalendar period frame (e.g. "CY2024Q4I", "CY2024", "CY2025Q1I").
taxonomyNoXBRL taxonomy (default "us-gaap").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds genuine behavioral context beyond them: it explains that results span all filers for a single concept, and that the 'I' suffix denotes instant (point-in-time) frames versus durations for flow metrics — domain semantics the agent cannot get from the annotation block.

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?

A single front-loaded sentence with the resource and scope stated first, then the period examples. Nothing is wasted, though the parenthetical period examples partially duplicate the schema's own examples, making it slightly redundant rather than maximally tight.

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

Completeness3/5

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

There is no output schema, so the description carries the burden of describing the return value, yet it never says what a frame contains (e.g. a ranked list of filers with reported values) or that 'limit' caps it to the top filers. Parameter coverage is otherwise complete via the schema, but the absent return-shape information leaves a real gap for a 5-parameter data tool.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description still earns above baseline by explaining the meaning of the 'period' frame format and which form matches which metric type, going beyond the schema's bare example list. It says nothing extra about tag, unit, taxonomy or limit, but those are already fully documented in the schema.

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?

States a specific verb ('Retrieve'), a specific resource ('cross-company SEC XBRL frame'), and the exact scope ('aggregating one concept across all filers for a period'). The 'cross-company / all filers' framing implicitly separates it from get_company_concept and get_company_facts, which are per-company lookups, so an agent can route without opening a schema.

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

Usage Guidelines3/5

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

The description gives useful context for choosing a period ('CY2024Q4I' for instant balance-sheet metrics, 'CY2024' for annual flow metrics), which implies when this tool fits. However, it never states when not to use it or explicitly names an alternative such as get_company_concept for single-issuer queries, so routing relies on inference from the scope phrase.

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.