Skip to main content
Glama

SEC EDGAR Filings (10-K, 8-K, Form 4, XBRL) MCP

Get SEC XBRL financial facts

sec_xbrl_financials
Read-onlyIdempotent

Query official audited US-GAAP XBRL financial facts from data.sec.gov for a company by ticker or CIK. Supports preset metrics ("summary", "revenue", "net_income", "operating_income", "assets", "liabilities", "cash", "stockholders_equity", "eps_diluted") or any custom US-GAAP concept tag across annual 10-K or quarterly 10-Q filings.

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": "sec_xbrl_financials"
  }
}

Input Schema

NameRequiredDescriptionDefault
cikNoSEC CIK number (e.g. "0000320193"). Provide cik or ticker.
formNoFiling form filter: "10-K" (annual), "10-Q" (quarterly), or "all". Default "10-K".
metricNoPreset financial metric or "summary" for a full income statement and balance sheet snapshot. Default "summary".
tickerNoStock ticker symbol (e.g. "AAPL", "MSFT"). Provide ticker or cik.
conceptNoOptional custom US-GAAP XBRL tag (e.g. "LongTermDebt", "ResearchAndDevelopmentExpense"). Overrides metric if provided.
periodsNoNumber of recent periods to return (1 to 20). Default 5.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered structurally. The description adds useful context that the data is official/audited and comes from data.sec.gov, but omits behavior an agent would want: rate limits, what happens when a concept tag is absent for a company, and how periods are ordered.

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?

Two tightly written sentences with the source-of-truth and identifier options front-loaded, followed by the metric/concept coverage. The enumerated preset list is somewhat redundant with the schema enum but is defensible as scannable context.

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 is the only place to convey the return shape, yet it never says what a 'fact' looks like (value plus unit, fiscal period end, accession source) or how multiple periods are returned. For a six-parameter data-retrieval tool with no output schema, that is a meaningful gap even though the input side is fully specified.

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 description coverage is 100%, so every parameter including cik, ticker, form, metric, concept and periods is already documented in structured form. The description repeats the preset metric values and the concept-overrides-metric rule that the schema already states, adding no syntax or format detail beyond it. Baseline 3 applies when the schema does the heavy lifting.

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: 'Query official audited US-GAAP XBRL financial facts from data.sec.gov for a company by ticker or CIK.' That is far more precise than the title alone. It does not explicitly differentiate itself from siblings like sec_company_filings or sec_filing_compare, relying on the resource name to carry the distinction.

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?

Implies usage through the preset metric list and the 10-K vs 10-Q form choice, and notes that ticker or CIK must be supplied. But it never says when to reach for this tool instead of sec_company_filings or sec_filing_compare, nor any exclusions or prerequisites such as rate limits or ticker-to-CIK resolution behavior.

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.