Skip to main content
Glama

Edgar Product Revenue

edgar_product_revenue
Read-onlyIdempotent

PRODUCT-LEVEL or segment-level revenue as STRUCTURED data, e.g. "how much revenue did Keytruda generate", "AAPL revenue by product line". Regular XBRL tools (edgar_company_concept, edgar_company_facts) only expose UNDIMENSIONED totals; a filer's product/segment breakdown is tagged with an XBRL dimension (e.g. a "Keytruda [Member]"), which those APIs cannot see no matter which concept is requested. This tool reads SEC's own standardized "Financial Report" rendering of that dimensional data straight out of the annual or quarterly segment-reporting / revenue-disaggregation note, 10-K and 10-Q for US filers, 20-F for foreign private issuers (Novartis, AstraZeneca, GSK, Sanofi, Novo Nordisk, Takeda) and 40-F for Canadian MJDS filers, resolved automatically and reported back as resolved_form, the same note human analysts read, but pre-parsed into rows. Pass product_filter (case-insensitive substring, matched against the dimension breadcrumb, e.g. "Keytruda") to get just one product/segment instead of the whole table. Every result carries a citation (accession, filing date, exact report + URL it came from). Not every filer discloses product-level revenue in XBRL, and a small fraction use a non-standard table layout this parser can't read, both are reported as an explicit status rather than a silent empty array, with a fallback to edgar_filing_text for the prose note. A retired or reassigned ticker returns found:false with empty_reason ticker_not_current and the nearest company-name candidates, never a different company.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ticker_or_cik": "MRK",
      "product_filter": "Keytruda"
    },
    "name": "edgar_product_revenue"
  }
}

Input Schema

NameRequiredDescriptionDefault
cikNoAlias for `ticker_or_cik`, the spelling edgar_company_concept and edgar_company_facts use for the same thing. Takes a ticker or a CIK.
limitNoMax rows to return (1-200, default 100).
tickerNoAlias for `ticker_or_cik`, the spelling edgar_fund_holdings and edgar_ticker_to_cik use for the same thing. Takes a ticker or a CIK.
accessionNoOptional exact accession number (from edgar_company_filings) to read a specific past filing instead of the latest matching form_type.
form_typeNoFiling type to read the note from. Omit it to try 10-K, then 20-F, then 40-F automatically, foreign private issuers (NVS, AZN, GSK, SNY, NVO, TAK) file 20-F and Canadian MJDS filers file 40-F. "10-Q" also works for filers that disaggregate revenue quarterly. The form actually used comes back as `resolved_form`.
ticker_or_cikNoREQUIRED (or one of its aliases `cik` / `ticker`). Ticker (e.g. "MRK") or CIK (e.g. "310158"). Tickers are auto-resolved.
product_filterNoOptional case-insensitive substring to match against the product/segment dimension, e.g. "Keytruda". Omit to get every disaggregated row in the table.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / cik / description
      Previous value: -"Alias for `ticker_or_cik` — the spelling edgar_company_concept and edgar_company_facts use for the same thing. Takes a ticker or a CIK."New value: +"Alias for `ticker_or_cik`, the spelling edgar_company_concept and edgar_company_facts use for the same thing. Takes a ticker or a CIK."
    • changedInput schema / properties / form_type / description
      Previous value: -"Filing type to read the note from. Omit it to try 10-K, then 20-F, then 40-F automatically — foreign private issuers (NVS, AZN, GSK, SNY, NVO, TAK) file 20-F and Canadian MJDS filers file 40-F. \"10-Q\" also works for filers that disaggregate revenue quarterly. The form actually used comes back as `resolved_form`."New value: +"Filing type to read the note from. Omit it to try 10-K, then 20-F, then 40-F automatically, foreign private issuers (NVS, AZN, GSK, SNY, NVO, TAK) file 20-F and Canadian MJDS filers file 40-F. \"10-Q\" also works for filers that disaggregate revenue quarterly. The form actually used comes back as `resolved_form`."
    • changedInput schema / properties / ticker / description
      Previous value: -"Alias for `ticker_or_cik` — the spelling edgar_fund_holdings and edgar_ticker_to_cik use for the same thing. Takes a ticker or a CIK."New value: +"Alias for `ticker_or_cik`, the spelling edgar_fund_holdings and edgar_ticker_to_cik use for the same thing. Takes a ticker or a CIK."
  2. Changed4 schema fields changed
    • addedInput schema / properties / cik
      Added value: +{
      +  "description": "Alias for `ticker_or_cik` — the spelling edgar_company_concept and edgar_company_facts use for the same thing. Takes a ticker or a CIK.",
      +  "type": "string"
      +}
    • addedInput schema / properties / ticker
      Added value: +{
      +  "description": "Alias for `ticker_or_cik` — the spelling edgar_fund_holdings and edgar_ticker_to_cik use for the same thing. Takes a ticker or a CIK.",
      +  "type": "string"
      +}
    • changedInput schema / properties / ticker_or_cik / description
      Previous value: -"Ticker (e.g. \"MRK\") or CIK (e.g. \"310158\"). Tickers are auto-resolved."New value: +"REQUIRED (or one of its aliases `cik` / `ticker`). Ticker (e.g. \"MRK\") or CIK (e.g. \"310158\"). Tickers are auto-resolved."
    • changedInput schema / required
      Previous value: -[
      -  "ticker_or_cik"
      -]New value: +[]
  3. Changed2 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "product_filter": "Keytruda",
      -    "ticker_or_cik": "MRK"
      -  }
      -]New value: +[
      +  {
      +    "product_filter": "Keytruda",
      +    "ticker_or_cik": "MRK"
      +  },
      +  {
      +    "product_filter": "Entresto",
      +    "ticker_or_cik": "NVS"
      +  }
      +]
    • changedInput schema / properties / form_type / description
      Previous value: -"Filing type to read the note from (default \"10-K\"). \"10-Q\" also works for filers that disaggregate revenue quarterly."New value: +"Filing type to read the note from. Omit it to try 10-K, then 20-F, then 40-F automatically — foreign private issuers (NVS, AZN, GSK, SNY, NVO, TAK) file 20-F and Canadian MJDS filers file 40-F. \"10-Q\" also works for filers that disaggregate revenue quarterly. The form actually used comes back as `resolved_form`."
  4. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent/openWorld annotations: it discloses that the filing form is auto-resolved and returned as `resolved_form` (10-K, 20-F, 40-F, optionally 10-Q), that every row carries a citation with accession, filing date and report URL, that non-disclosure or unparseable tables surface as an explicit status rather than a silent empty array, and that a retired ticker yields found:false with nearest name candidates instead of a wrong company.

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 core purpose and the sibling contrast in the first two sentences, and almost every clause carries decision-relevant information. The main drag is redundancy: the parenthetical lists of foreign private issuers (Novartis, AstraZeneca, GSK, Sanofi, Novo Nordisk, Takeda) and of tickers duplicate what the form_type schema property already lists, and the heavy all-caps emphasis adds length without adding meaning.

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 seven-parameter tool with no output schema and no enums, the description covers the full decision space: what it reads, which forms it resolves automatically, how to filter, what accompanying metadata (citation, resolved_form) comes back, and the two failure modes plus the fallback path. Nothing an agent needs in order to call it correctly or interpret an empty result is missing.

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 adds modest but real meaning by clarifying that product_filter matches case-insensitively against the dimension breadcrumb and that omitting it returns every disaggregated row. The alias relationship for ticker_or_cik/cik/ticker is only spelled out in the schema, not the description, so it stops short of a 5.

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+resource+scope: product- or segment-level revenue as structured rows pulled from the segment/revenue-disaggregation note. It also explains the mechanism that distinguishes it (dimensional XBRL tags such as "Keytruda [Member]" that undimensioned concepts cannot see), so an agent can tell it apart from edgar_company_concept and edgar_company_facts without opening a schema.

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

Usage Guidelines5/5

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

Explicitly names the alternatives and the conditions that select them: regular XBRL tools only expose undimensioned totals, so use this tool when a product/segment breakdown is wanted, and fall back to edgar_filing_text for the prose note when the parser reports a non-standard layout. It also states the product_filter shortcut for narrowing to a single product versus the whole table.

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.