Skip to main content
Glama

sec_frames

Read-only

Rank all US public companies by a financial metric (SEC XBRL frames) — One value per SEC filer for a calendar year or quarter: revenue, net income, operating income, operating cash flow, R&D, EPS, assets, liabilities, equity, cash or long-term debt (or any us-gaap tag). Returns top/bottom N, company count, median, total, and optional rank + percentile for one ticker. Source: SEC EDGAR (public domain). JSON. Price: $0.006 USDC (Base, via x402).

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": {
      "metric": "<metric>",
      "order": "<order>"
    },
    "name": "sec_frames"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNocalendar year, default last year
limitNo1-100 (default 25)
orderYesdesc|asc
metricYesrevenue|net-income|operating-income|operating-cash-flow|rd-expense|eps|assets|liabilities|equity|cash|long-term-debt
symbolNooptional ticker to rank, e.g. AAPL
conceptNooptional raw us-gaap tag instead of metric
quarterNo1-4 optional

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, the description discloses materially important behavior: one value per SEC filer per calendar year or quarter, the exact shape of the return (top/bottom N, company count, median, total, optional rank and percentile), the data source (SEC EDGAR, public domain), the response format (JSON), and a paid invocation cost of $0.006 USDC via x402. The pricing/payment disclosure is a genuine auth-style requirement that annotations do not convey and that would otherwise surprise a caller.

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?

A single front-loaded paragraph that leads with purpose, then return contents, then source, format, and price — no filler sentences. It is dense with semicolon- and parenthesis-delimited lists, which slightly hurts scannability but every clause carries information.

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 seven parameters and no output schema, the description correctly compensates by describing the return payload (top/bottom N, count, median, total, rank/percentile per ticker) and the underlying data model. It is nearly complete for an agent to call it correctly; the residual gap is that value units/currency and coverage caveats for the reported figures are unstated.

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, but the description adds real meaning: it clarifies that 'metric' accepts friendly names while 'concept' takes 'any us-gaap tag' as an alternative, and that year/quarter define a single-frame snapshot per filer rather than a time series. It still does not explain value units, currency, or how missing/late filers are handled for a given period.

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 opens with a specific verb and resource — 'Rank all US public companies by a financial metric (SEC XBRL frames)' — and enumerates the supported metrics and the one-value-per-filer granularity, so the operation is unambiguous. It does not, however, explicitly contrast itself with nearby siblings like sec_compare or sec_financials, leaving the agent to infer that this is the cross-company ranking tool rather than a per-company lookup.

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 rather than stated: the phrase 'optional rank + percentile for one ticker' hints that supplying a symbol narrows the call to a single-company placement within the ranked set, which is useful implicit guidance. There is no explicit when-to-use or when-not-to-use statement, and no named alternative for single-company financials, so the agent must reason about routing on its own.

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