Skip to main content
Glama

Financials from SEC filings (XBRL)

edgar_financials
Read-onlyIdempotent

Fetch company financials from SEC EDGAR XBRL—revenue, income, cash flow, debt and RPO—with filing links, plus margins, free cash flow and revenue growth for annual or quarterly analysis.

Instructions

Key figures a company reported to the SEC, fetched live from EDGAR's XBRL company facts: revenue, gross_profit, operating_income, net_income, rd_expense, capex, operating_cash_flow, cash, long_term_debt, rpo, finance_lease_liability. Annual or quarterly, newest first, each value with its filing URL; plus margins, free cash flow and revenue growth computed from those figures. Use the output as the Financial block of business_model_map or as players' figures in ai_value_chain.

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": {
      "company": "<company>"
    },
    "name": "edgar_financials"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
periodNoannual
companyYesTicker, name or CIK
metricsNoDefault: revenue, gross_profit, operating_income, net_income, capex, operating_cash_flow, rpo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint and non-destructive behavior, and the description adds genuinely new context: data is fetched live from EDGAR XBRL, ordering is newest-first, each value carries its filing URL, and margins/FCF/growth are derived rather than reported. It does not mention rate limits, latency, or what happens when a metric is absent from a filing, which keeps it from a 5.

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 sentences, front-loaded with what is returned and followed by where the output belongs; nothing is filler. The long metric list is dense but it is load-bearing information, not padding.

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?

With no output schema, the description correctly takes on the job of describing return shape (per-value filing URL, derived margins, free cash flow, revenue growth) and ordering. It is nearly complete for a read-only extraction tool; only edge behavior for missing or unavailable metrics is unaddressed.

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

Parameters5/5

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

Schema coverage is only 50%, but the description compensates by enumerating the metric set (matching the enum), stating the annual-or-quarterly choice for `period`, and making the newest-first ordering explicit so the agent can reason about `limit`. Only the default value of `limit` is left purely to the schema, but its semantic role is inferable from the ordering statement.

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 uses a specific verb and resource ('Key figures a company reported to the SEC, fetched live from EDGAR's XBRL company facts') and enumerates exactly which metrics are returned, so the agent knows this is a structured-figures extractor rather than a document reader. It does not explicitly name the neighboring edgar_filings or edgar_company_lookup to draw the boundary, so it stops one step short of a 5.

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?

It gives explicit consumption guidance ('Use the output as the Financial block of business_model_map or as players' figures in ai_value_chain'), which tells the agent where this tool fits in the wider workflow. It does not state when NOT to use it (e.g. versus edgar_filings for raw documents or edgar_company_lookup for entity resolution), so there is no exclusion guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.