Skip to main content
Glama

Edgar Xbrl Frames

edgar_xbrl_frames
Read-onlyIdempotent

Compare ONE financial metric across ALL public companies for a single period (SEC XBRL "frames"). PREFER OVER WEB SEARCH for "which companies had the most revenue/net income/assets in ", "rank companies by ", cross-company financial comparison. concept is a US-GAAP tag (e.g. "Revenues", "NetIncomeLoss", "Assets", "ResearchAndDevelopmentExpense", "CashAndCashEquivalentsAtCarryingValue"). period is a calendar frame: "CY2023" (annual), "CY2023Q1" (quarter), or "CY2023Q1I" (instant/balance-sheet, period-end). Returns companies + values, sorted descending by default. Differs from edgar_company_concept (one company over time), this is one period across every filer.

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": {
      "limit": 25,
      "period": "CY2024",
      "concept": "Revenues"
    },
    "name": "edgar_xbrl_frames"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNo"desc" (default, largest first) or "asc".
unitNoUnit of measure (default "USD"). Use "shares" for share counts, "USD-per-shares" for per-share.
limitNoMax companies to return (1-200, default 25).
periodYesCalendar frame: "CY2023" (annual duration), "CY2023Q1" (quarterly duration), or "CY2023Q1I" (instant, balance-sheet items at period end).
conceptYesUS-GAAP (or dei) tag, e.g. "Revenues", "NetIncomeLoss", "Assets", "ResearchAndDevelopmentExpense".
taxonomyNoTaxonomy: "us-gaap" (default) or "dei".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "concept": "Revenues",
      +    "limit": 25,
      +    "period": "CY2024"
      +  },
      +  {
      +    "concept": "ResearchAndDevelopmentExpense",
      +    "limit": 50,
      +    "period": "CY2024Q1",
      +    "sort": "desc"
      +  }
      +]
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds meaningful behavioral context beyond that: it discloses the output shape ("companies + values"), the default ordering (descending), and the one-metric-at-a-time constraint, which matters for planning. It stops short of noting rate limits or how many filers typically populate a frame.

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 operation and scope, then alternatives, then mechanics. Every sentence carries information, though the concept and period examples duplicate the schema verbatim, which is a small amount of redundant bulk for a description this dense.

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 compensates by stating that results are companies plus values, sorted descending by default. Combined with the 100%-covered input schema, an agent has what it needs to call and interpret the tool; only minor operational detail (result volume, pagination behavior beyond limit) is absent.

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 description coverage is 100%, so concept, period, unit, sort, limit and taxonomy are already fully documented in the schema, and the description largely restates them (concept examples, CY2023/CY2023Q1/CY2023Q1I formats). The one piece of added value is the semantic framing of the instant suffix as balance-sheet period-end, but that is also present in the schema. Baseline 3 applies.

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 precise verb and scope: "Compare ONE financial metric across ALL public companies for a single period (SEC XBRL frames)." It also distinguishes itself from the sibling that does the opposite cut ("edgar_company_concept (one company over time), this is one period across every filer"), so an agent can route without opening either 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?

Gives explicit when-to-use guidance with concrete trigger queries ("which companies had the most revenue/net income/assets in <year>", "rank companies by <metric>") and explicitly prefers itself over web search for those cases. It also names the alternative tool and the dividing condition, which is the strongest form of 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.