Skip to main content
Glama

Bosco Labs: official records for AI agents

SEC EDGAR Financials API: financial statements, cash flow, 10-K

get_sec_financials
Read-onlyIdempotent

Get clean financial statements of any US-listed company from the SEC's own XBRL data: revenue, profit, EPS, balance sheet, cash flow, free cash flow and margins, per fiscal year or per quarter, by ticker or CIK. Every value cites the XBRL tag and the SEC filing it came from.

Needs tickers or ciks.

Inputs: tickers or ciks (at least one); period annual gives one row per fiscal year, quarterly one per fiscal quarter; years (default 5, max 20) sets how far back; metrics keeps only the named fields; includeSources false makes rows about 3x smaller.

Read-only, no side effects. Charged per row returned, at the price below; a call that fails or runs out of time (55 s) is free. If one source does not answer, the rest still comes back and warnings names the gap. Limit: 60 calls a minute per key (10 on a new free key); past it the call is refused (rate_limited, free): retry after about 10 seconds.

Price: $0.005 per company-period.

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

Input Schema

NameRequiredDescriptionDefault
ciksNoSEC Central Index Keys as digits, leading zeros optional, e.g. ["320193"] for Apple
yearsNoHow many of the latest fiscal years to return per company, e.g. 5 (5 rows annual, up to 20 rows quarterly; 2 with quarterly = the last 8 quarters)
periodNo"annual" = one row per fiscal year (FY)annual
metricsNoOnly these output fields, e.g. ["revenue", "net_income", "free_cash_flow", "operating_margin"]
tickersNoUS tickers as listed by the SEC, e.g. ["AAPL", "MSFT"]; share classes with a dash or dot, e.g. "BRK-B"
includeSourcesNotrue = each row has `sources` (per value: the XBRL tag and the SEC accession number it came from, plus how it was derived) and `filings` (form, filing date and URL of each filing cited)

Output Schema

NameRequiredDescriptionDefault
rowsYes
toolNo
countYes
messageNo
warningsNo
balance_usdNo
charged_usdNo
duration_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description goes well beyond them: per-row billing ($0.005 per company-period), free failed or timed-out calls (55 s), rate limits of 60/min (10 on a new free key) with the exact rate_limited retry guidance, and graceful partial results surfaced via `warnings`. The includeSources tradeoff ('about 3x smaller' rows) is also disclosed, which materially affects cost.

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-loaded with the one-sentence purpose, then a labeled Inputs block and a commercial/operational block — easy to scan. There is minor redundancy between the standalone 'Needs `tickers` or `ciks`.' line and the repeat 'at least one' in the Inputs line, but nothing wasteful overall.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter, paid, open-world data tool it covers everything an agent needs to call correctly: required input, defaults and caps, granularity, output-size tradeoff, pricing, timeout, rate limit with retry, and degraded-response behavior. An output schema exists, so omitting return-value detail is appropriate.

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 is 3; the description still adds meaning by stating `years` max 20 and the annual-vs-quarterly row math, and by explaining that includeSources=false shrinks rows roughly 3x and metrics keeps only named fields. That is useful cost/shape guidance rather than restatement.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Get clean financial statements of any US-listed company from the SEC's own XBRL data') and enumerates the covered fields (revenue, profit, EPS, balance sheet, cash flow, margins) plus the two addressing modes (ticker or CIK). This is clearly distinguishable from siblings like find_sec_company or search_sec_filings, which are lookup/search tools rather than statement extractors.

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?

Gives clear usage context: at least one of `tickers`/`ciks` is required, `period` chooses annual vs quarterly granularity, and `metrics` narrows output. It stops short of naming when to use a sibling instead (e.g. find_sec_company to resolve a ticker first, or search_sec_filings for raw filings), so there is no explicit alternative routing.

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.