Skip to main content
Glama

SEC XBRL GAAP Financials MCP

Get SEC XBRL company facts

get_company_facts
Read-onlyIdempotent

Retrieve an index of XBRL financial concepts and latest reported values for a public company by SEC CIK (e.g. "320193" for Apple, "789019" for Microsoft).

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_company_facts"
  }
}

Input Schema

NameRequiredDescriptionDefault
cikYesSEC CIK number (e.g. "320193" or "0000320193").
limitNoMaximum concepts to return (1 to 100). Default 25.
queryNoOptional keyword filter on concept tag or label (e.g. "Revenue", "Cash", "Debt").
taxonomyNoXBRL taxonomy (default "us-gaap"; also "dei" or "ifrs-full").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds that results are an index of concepts with only the latest reported values (not full history), which is genuinely useful. It omits SEC EDGAR access requirements, rate limits, and pagination behavior.

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 that states the verb, resource, and lookup key with zero filler. It is appropriately sized for a simple read tool, though it could have used its brevity budget for one routing sentence.

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?

With no output schema, the description does state the return shape (concept index plus latest values), which is the key gap it needed to fill. However, it says nothing about response size, ordering, or behavior for an unknown CIK, leaving the agent to discover these at call time.

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 cik, limit, query and taxonomy are already documented with examples and bounds. The description only restates the CIK lookup with sample values and adds no extra meaning about how query or taxonomy interact with results.

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?

The description names a specific verb (retrieve) and resource (an index of XBRL financial concepts and latest reported values) scoped by SEC CIK, with concrete example values. It does not distinguish itself from siblings like get_company_concept or get_xbrl_frame, so the agent must infer the boundary.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no mention of alternatives such as get_company_concept for a single concept or get_xbrl_frame for cross-company comparison. The CIK examples hint at the lookup context but do not tell the agent when this tool is the right choice.

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.