Skip to main content
Glama
SEC EDGAR MCP Server

SEC EDGAR MCP Server

Filings by year

list_filings_by_year
Read-onlyIdempotent

Retrieve a company's SEC filings for a specific calendar year, optionally filtered by form type, returned newest first with paging.

Instructions

Filings a company submitted to the SEC during one calendar year, newest first, paged.

year selects filings by filing_date, the date the SEC received the filing, not by report_date (the period the filing covers): a 10-K for the fiscal year ending September 2025 that was filed in January 2026 belongs to year=2026. forms restricts the list to exact form types, case-insensitive (["10-K"] matches 10-K but not 10-K/A). Older years are served from the SEC's history files automatically.

Args: ticker: Stock ticker symbol, e.g. "AAPL"; case and surrounding whitespace are ignored. year: Calendar year of the filing date, 1993 or later; a future year returns an empty list. forms: Optional list of SEC form types, e.g. ["10-K", "10-Q"]; omit it for every form. limit: Page size (default 100); larger values are clamped to the server's cap. offset: Filings to skip, for paging; pass the previous result's next_offset. cik: Optional SEC CIK (1-10 digits, string or integer) to pick one issuer when a previous call returned "ambiguous"; it must be listed under ticker.

Returns: A JSON object with status and a one-line message. On "ok": company {cik, name, ticker, exchange}, year, forms, limit (the effective page size), offset, total_count, returned_count, next_offset (null on the last page) and filings (newest first; each has form, filing_date, report_date, accession_number, filing_url, primary_document_url); an empty year is "ok" with total_count 0. Page with offset=next_offset until null. The other statuses (not_found, ambiguous with candidates, invalid_input with field, upstream_error with retryable) are defined in the server instructions.

Example: list_filings_by_year("AAPL", 2025, ["10-K", "10-Q"]) lists Apple's 2025 reports.

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": {
      "ticker": "<ticker>",
      "year": "<year>"
    },
    "name": "list_filings_by_year"
  }
}

Input Schema

NameRequiredDescriptionDefault
cikNo
yearYes
formsNo
limitNo
offsetNo
tickerYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/openWorld, and the description adds substantial context beyond them: newest-first ordering, automatic fallback to SEC history files for older years, clamping of oversized `limit`, and the fact that a future year returns an empty 'ok' result rather than an error. It also enumerates the non-ok statuses and their payload fields.

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?

The lead sentence is front-loaded with purpose, ordering, and paging, and the Args/Returns/Example structure is easy to scan. It is on the long side and the Returns block partly restates what the output schema already encodes, but nearly every line carries operational 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 six-parameter, paged, multi-status tool, the description covers input semantics, paging loop, ordering, empty-result behavior, and error statuses. Nothing an agent needs in order to call it correctly and interpret the response is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and does: it defines each of the six parameters, including ticker normalization, the 1993 floor on `year`, exact-match semantics for `forms`, the server cap on `limit`, and the `offset=next_offset` paging contract.

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?

The first sentence states a specific verb and resource ('Filings a company submitted to the SEC during one calendar year') plus ordering and paging. It is clearly distinct from the siblings get_latest_filing and list_form_types, which an agent can rule out from the description alone.

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

Usage Guidelines4/5

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

It gives explicit selection rules: `year` keys off filing_date not report_date (with a concrete 10-K example), `forms` is exact-match and case-insensitive, and `cik` is only for resolving an 'ambiguous' result. It does not explicitly say when to prefer this over get_latest_filing, so it stops short of full alternative routing.

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