Skip to main content
Glama

Agent Data Hub

Company financials: revenue, profit, cash, debt (SEC XBRL)

company_financials
Read-onlyIdempotent

Key financials of a US-listed company by ticker, CIK or name, as reported to the SEC (XBRL, US-GAAP): revenue, gross profit, operating income, net income, diluted EPS, total assets, liabilities, equity, cash, operating cash flow, capex, long-term debt — last 1-10 fiscal years plus latest quarter — and ratios (gross/operating/net margin, revenue growth, free cash flow, debt-to-equity). Official SEC data. Price: $0.003 per call (USDC on Base via x402); the first 10 calls per day are free.

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

Input Schema

NameRequiredDescriptionDefault
cikNoAlternative: SEC CIK number
nameNoAlternative: company name
yearsNoFiscal years of history 1-10 (default 3)
tickerNoStock ticker, e.g. MSFT

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorld, so the safety profile is covered. The description adds genuinely non-structured behavior: the data source is official SEC XBRL, history is bounded to the last 1-10 fiscal years plus the latest quarter, and access is metered at $0.003 per call with 10 free calls per day via x402/USDC on Base. Cost and payment mechanics are exactly the kind of trait annotations cannot express.

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, purpose and scope front-loaded, cost and rate-limit placed last where they belong. The long metric enumeration is dense but each item is decision-relevant to whether the agent picks this tool. Slight length inflation is the only deduction.

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?

For a wide, multi-metric data tool with no output schema, the description adequately covers what is returned, the time window, the data provenance and the billing model. The one material omission is that with zero required parameters the agent is not told whether at least one of ticker/CIK/name must be provided, nor what a no-match or non-US ticker yields.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline would be 3. The description earns above baseline by clarifying that ticker, CIK and name are alternative lookup keys rather than conjunctive filters, and by restating the 1-10 fiscal-year window that drives the 'years' parameter. It does not say what happens when no identifier is supplied, which matters since all four parameters are optional.

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 concrete resource (SEC XBRL US-GAAP financial statements for a US-listed company) and enumerates the exact line items returned (revenue, gross profit, operating income, EPS, assets, cash flow, capex, debt, plus derived ratios). This is far more specific than a restated title. It stops short of distinguishing itself from plausible siblings like company_sec_summary or company_sec, leaving the agent to infer which one returns financials versus filings metadata.

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 description makes clear you call it to get financials for a company identified by ticker, CIK or name. There is no statement of when to prefer it over an alternative, no prerequisites, and no exclusion of cases (e.g., non-US issuers or IFRS filers) beyond the phrase 'US-listed' and 'US-GAAP', which the agent must interpret itself.

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