Skip to main content
Glama

company_facts

Key XBRL financials for a company: revenue, net income, operating income, operating cash flow, EPS, assets, liabilities, equity, cash, shares outstanding. Each metric includes the XBRL tag, unit, latest annual and quarterly values, and history. Uses the freshest us-gaap or ifrs-full tags. Optional metrics subset. Data: SEC EDGAR public APIs, no API key. Missing XBRL and upstream errors are not charged. Costs $0.003 USDC per call via x402. Free sample: GET /v1/sample.

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

Input Schema

NameRequiredDescriptionDefault
companyYesTicker (AAPL, BRK.B), CIK (320193 or 0000320193) or company name
metricsNoSubset of metrics (default all): revenue, net_income, operating_income, operating_cash_flow, eps_basic, eps_diluted, total_assets, total_liabilities, stockholders_equity, cash, shares_outstanding
annual_periodsNoAnnual history length per metric (0-10, default 3)
quarterly_periodsNoQuarterly history length per metric (0-12, default 4)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description does real work: it names the upstream source (SEC EDGAR public APIs, no API key), discloses per-call pricing of $0.003 USDC via x402, and states that missing XBRL and upstream errors are not charged. It also says the freshest us-gaap/ifrs-full tags are used, which explains data-selection behavior; rate limits and response envelope details are absent.

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?

Front-loads the metric list, then assembles source, billing, and error-charging notes in short clauses with no filler. The list-of-metrics sentence is long but each item earns its place by defining scope.

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?

Explains what each metric record contains (XBRL tag, unit, annual and quarterly values, history) and covers cost and error billing, which is good for a tool with no output schema. However, nothing is said about response size, pagination, or how history interacts with the period parameters beyond the schema defaults.

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 the schema already documents company, metrics, annual_periods, and quarterly_periods. The description only adds 'Optional metrics subset' and the 'freshest tags' note, which is marginal beyond the structured fields — 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 resource (key XBRL financials) and enumerates exactly which metrics are returned, which clearly separates it from filing_text and recent_filings. It does not explicitly distinguish itself from company_lookup, which also takes a company identifier, so an agent must infer the division of labor.

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 implied by the metric list — use this to get standardized financial statement values — but there is no explicit when-to-use/when-not statement and no sibling tool is named as an alternative. The free-sample hint gives a trial path but not routing guidance.

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.

Resources