Skip to main content
Glama

Read Filing

read_filing
Read-onlyIdempotent

Extract a named section or search excerpts from a company's latest SEC filing, returning matched text within a character budget for focused financial analysis.

Instructions

Read a named section out of a company's latest filing, or search its text.

Filings are far too large to hand over whole — a Micron 10-K is ~610,000 tokens raw and ~97,000 after stripping markup — so this locates what you asked for and returns it under a character budget.

This reads inside one filing. To find out which filings exist, or to search across many companies' filing bodies, use get_edgar_filings; for the headline numbers as XBRL facts rather than prose, use get_company_financials.

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": {
      "symbol": "<symbol>"
    },
    "name": "read_filing"
  }
}

Input Schema

NameRequiredDescriptionDefault
formNoFiling type — 10-K, 10-Q, 8-K, S-1, DEF 14A.10-K
queryNoInstead of a section, return excerpts around each match of this phrase.
budgetNoMaximum characters of section text to return (default 6000).
symbolYesTicker symbol (e.g. MU, AAPL).
sectionNoItem number to extract: 1 (Business), 1A (Risk Factors), 3 (Legal), 7 (MD&A), 7A (Market Risk), 8 (Financial Statements), 9A (Controls).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.1
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "type": "object",
      -  "x-fastmcp-wrap-result": true
      -}New value: +null
  2. First observedv0.2.0

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 and destructiveHint=false, so safety is covered; the description adds genuinely new behavior: filings are too large to return whole, output is truncated to a character budget (with concrete token figures for scale). It stops short of saying what happens when a requested section is absent or how truncation is signalled to the 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?

Front-loaded with the core action, then the size rationale, then the sibling routing. Three short paragraphs with no filler. The 610,000/~97,000-token figures are illustrative rather than essential, which keeps it just under a 5.

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, read-only retrieval tool with a fully described schema and no output schema, the description covers purpose, size constraints, and alternatives. The only gap is edge-case behavior: missing sections, empty query matches, or how truncation is reported back.

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 all five parameters including the section item list and budget default are already documented in the schema. The description reinforces the budget concept ('returns it under a character budget') and the section-vs-query duality but adds no syntax, defaults, or precedence rules beyond what the schema provides, so the baseline of 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 specific verb and resource ('Read a named section out of a company's latest filing') and adds the second mode ('or search its text'). It also distinguishes itself from get_edgar_filings and get_company_financials by name, so the agent can route without opening any 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 delineates scope: this tool reads inside one filing, get_edgar_filings finds which filings exist or searches across companies, get_company_financials returns headline numbers as XBRL facts rather than prose. Both the when and the when-not cases are covered with named alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.