Skip to main content
Glama
cliwant

mcp-sam-gov

by cliwant

edgar_company_filings

Read-only

Retrieve SEC filings for a company by CIK or ticker, with optional form filters and full historical archive access via sharded lookup.

Instructions

A company's SEC filings (keyless, from data.sec.gov submissions). Input cikOrTicker (CIK or resolvable ticker/name), optional forms (e.g. ['10-K','8-K']), limit (≤100, default 20), offset, fullHistory (default false), maxShards (1..100, default 10). Returns filings with the REAL primary-document archive URL. By default returns the recent window (up to 1 year OR 1000 filings, whichever is more); set fullHistory:true to ALSO fetch the older filings.files[] shards (newest-first up to maxShards) and assemble the COMPLETE history (recent ++ shard001..N, descending, no re-sort). HONESTY: totalAvailable = recent + Σ ALL older-shard counts (the grand total, incl un-fetched shards — never recomputed down), so a capped/failed fan-out reads complete:false; a note discloses COMPLETE vs PARTIAL-BY-CAP (RAISE maxShards for older un-fetched shards — pagination does NOT reach them) vs PARTIAL-BY-FAILURE (a 404/bad-CIK/transient shard is skipped, missing filings disclosed, never fabricated); fullHistory serializes N shard GETs through the shared EDGAR throttle gate. NOTE: EDGAR keys on CIK, NOT SAM UEI/DUNS.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formsNoOptional form-type filter (e.g. ['10-K','10-Q','8-K']); case-insensitive exact match on the filing's form. Omit for all forms.
limitNoMax filings to return, 1..100, default 20 (offset pagination over the recent window).
offsetNo0-based offset into the (form-filtered) recent filings, default 0.
maxShardsNoFan-out cap when fullHistory is true: at most this many older shards are fetched (newest-first), 1..100, default 10. Bounds wall-time (each shard is one throttle-gated GET, serialized through the SHARED edgar gate) + payload. When totalShards > maxShards the response is PARTIAL-BY-CAP (hasMore:true; older un-fetched shards reached by RAISING maxShards, not by nextOffset). Ignored when fullHistory is false.
cikOrTickerYesA 10-digit (or unpadded) SEC CIK, or a ticker/company-name resolvable via company_tickers.json (e.g. '320193', 'CIK0000320193', 'AAPL').
fullHistoryNoWhen true, ALSO fetch the older filings.files[] submission shards (newest-first, up to maxShards) and assemble the COMPLETE filing history (recent ++ shard001..N, descending order preserved). Default false ⇒ recent window only (byte-identical to omitting it). A capped/failed fan-out is disclosed as PARTIAL — never a capped set claimed complete.
Behavior5/5

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

The description goes well beyond the annotations (readOnlyHint, openWorldHint) by detailing the fullHistory mechanics, shard fetching, honesty in totalAvailable (recent + all shard counts), cap/failure disclosure (PARTIAL-BY-CAP, PARTIAL-BY-FAILURE), and the shared EDGAR throttle gate. No contradictions with annotations.

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 description is dense but efficient, with no wasted words. It front-loads the purpose and input summary, then adds behavioral notes. However, it could benefit from minor structuring (e.g., listing parameters) to improve scanability for an agent.

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?

Given the tool's complexity (6 parameters, shard logic, throttle gate, completeness guarantees) and no output schema, the description covers all essential aspects: input, behavior, edge cases (partial responses), and return format (filings with archive URL). It provides sufficient detail for correct invocation and interpretation.

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?

All 6 parameters have schema descriptions, but the tool description adds substantial value: explains the default for limit (20), maxShards (10), fullHistory (false), clarifies that offset applies to recent window, and describes the interplay between fullHistory and maxShards. It also defines keyless access and the source URL.

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 description clearly states it returns a company's SEC filings from data.sec.gov, specifying inputs (cikOrTicker, forms, limit, offset, fullHistory, maxShards) and output (filings with real primary-document URL). It distinguishes itself from siblings like edgar_company_facts or edgar_full_text_search by focusing on filings retrieval.

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?

The description provides explicit guidance on when to use fullHistory (for complete history vs. recent window), how pagination works (offset vs. maxShards), and what to do if capped (raise maxShards). It also notes the EDGAR throttle gate and that CIK is used, not SAM UEI/DUNS. While it doesn't name alternative tools explicitly, the context is clear enough for an agent to decide.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cliwant/mcp-sam-gov'

If you have feedback or need assistance with the MCP directory API, please join our Discord server