Skip to main content
Glama

SEC XBRL GAAP Financials MCP

Get company US-GAAP revenue history

get_revenue_history
Read-onlyIdempotent

Extract clean 10-K or 10-Q revenue history with year-over-year percentage change across standard US-GAAP revenue tags for a CIK.

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": {
      "cik": "<cik>"
    },
    "name": "get_revenue_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
cikYesSEC CIK number (e.g. "320193" for Apple).
formNoSEC filing form ("10-K" or "10-Q"). Default "10-K".
limitNoMaximum periods to return (1 to 20). Default 10.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds real behavior — tag normalization ('clean') and a computed year-over-year percentage change — but says nothing about behavior when no standard revenue tag exists or how fiscal periods are aligned.

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

Conciseness5/5

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

A single front-loaded sentence covering verb, output characteristics, and scope, with no redundant or filler wording.

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?

For a three-parameter, read-only tool with no output schema, the description conveys the general return content (periodized revenue plus YoY change), but leaves undefined what 'clean' and 'standard tags' mean and what is returned when a company reports revenue under a non-standard tag.

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 100%, so cik, form, and limit are already fully documented with defaults and ranges. The description restates the CIK and form scoping without adding syntax or constraints beyond the schema, so the baseline 3 applies.

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 verb and resource ('Extract ... revenue history') plus the scope constraints (10-K/10-Q, US-GAAP revenue tags, CIK). An agent can distinguish it from the fact/concept siblings by the revenue-specific, periodized framing, though no sibling is named explicitly.

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?

Usage is only implied: the mention of 'standard US-GAAP revenue tags' signals this is for revenue questions rather than arbitrary XBRL concepts, but there is no explicit when-to-use, when-not, or routing to get_company_facts / get_company_concept.

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.