Skip to main content
Glama

Get SEC filing tables

sec_get_tables
Read-onlyIdempotent

Tables of an SEC 10-K, 10-Q, or 20-F filing's primary document (financial statements, segment and compensation tables, and any HTML table), with parsed numbers and scale. Use when the figure you need is in a table in the text rather than in XBRL (sec_get_financials). Input: accession; then block for one table. Example: {"accession": "0000320193-26-000026", "kind": "data"}, then {"accession": "...", "block": "b17"}. Returns: the table list (block_id, caption, rows, columns, scale), or one table as a text grid with its cells. Limits: 10-K, 10-Q, 20-F, and their amendments only; the primary document only.

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": {
      "accession": "<accession>"
    },
    "name": "sec_get_tables"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoList mode: data (financial and other data tables), layout (tables used for page layout) or all (default).
blockNoOne table by its block_id (from the list, e.g. b17): its cells with parsed numeric values. Omit to list the tables.
limitNoList mode: tables per page, 1..1000 (default 100).
cursorNoList mode: next_cursor of the previous page, with the same arguments.
accessionYesAccession number of a 10-K, 10-Q, or 20-F (or an amendment), with or without dashes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered. The description goes further by disclosing document-type limits (10-K, 10-Q, 20-F and amendments, primary document only), the two-mode behavior (omit block to list, supply block for one table), and what the return contains. It does not spell out pagination semantics beyond the example flow, which keeps it from a 5.

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 purpose, then use-case, then inputs, returns, and limits — a scannable structure. Slightly dense with inline JSON examples, but every sentence carries information and nothing is redundant.

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 5-parameter, no-output-schema listing/fetch tool, the definition covers purpose, selection, invocation sequence, return shape, and hard scope limits. Minor gaps remain (explicit pagination behavior for the cursor, what happens with an invalid or absent block id), but nothing critical to correct invocation 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 earns above baseline by showing a concrete argument pairing (accession + kind="data" to list, accession + block="b17" to fetch) that makes the list/fetch duality obvious in a way the raw schema does not. It still defers block-id format details to the schema.

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?

Names a specific resource (HTML/financial tables within an SEC 10-K/10-Q/20-F primary document) and a specific capability (parsed numbers and scale), and explicitly contrasts itself with sec_get_financials' XBRL figures. An agent can tell from the first sentence whether this is the right tool.

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 an explicit selection rule ("Use when the figure you need is in a table in the text rather than in XBRL") and names the alternative tool. It also states the two-step invocation pattern (list first with accession, then fetch one table with block) so the agent knows the correct sequence.

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