Skip to main content
Glama
fairquery-agent-trust-mcp

fairquery-agent-trust-mcp

Official

List SEC filings for a company

edgar_list_filings
Read-onlyIdempotent

List a company's SEC EDGAR filings newest first, filter by form type and filing date, and page results to find accession numbers or document URLs for further retrieval.

Instructions

WHAT: List one company's SEC EDGAR filings (newest first) with form type, filing and report dates, accession number and direct document URLs. Filter by form type and filing date, then page with limit and offset. WHEN: To find which filings exist ("Apple's 10-Ks since 2020", "Tesla 8-Ks this year") and to get an accession_number or document_url for edgar_get_filing_document, or index_url for edgar_get_filing_index. WHEN NOT: For document text use edgar_get_filing_document. For XBRL numbers use edgar_get_company_facts. Many companies at once: edgar_get_concept_across_companies (free, one concept) or edgar_batch_export (paid). COST: Free. Direct sec.gov requests from this MCP server. No APIFY_TOKEN and no Apify billing. RETURNS: One row per filing. document_url is null when SEC lists no primary document; index_url still lists every file. Errors: COMPANY_NOT_FOUND, NOT_FOUND, SEC_FETCH_FAILED (retryable). BEHAVIOR: HTTPS only to www.sec.gov and data.sec.gov. User-Agent is "Fairquery info@getfairquery.com". At most 5 requests/second, shared by every free edgar_* tool. Redirects are refused. Responses are size-capped. The ticker map is cached for 6 hours. APIFY_TOKEN is not read. Reads the data.sec.gov submissions API. includeOlder=false searches about the newest 1,000 filings. PARAMETERS: company: a numeric value is always a CIK; other text is matched as a ticker, then as a name fragment (first match). formTypes: exact, case-insensitive equality, so "10-K" does not include amendments; add "10-K/A" yourself. Insider filings are "4", proxies are "DEF 14A". since and until are inclusive and compare filing_date, not report_date. includeOlder (default false) also loads archived filings older than the newest ~1,000 (one extra SEC request per archive file). Filters run before paging. total is the filtered count, rows are newest first, and the next page is offset = nextOffset. EXAMPLE: {"company":"AAPL","formTypes":["10-K"],"since":"2020-01-01","limit":5} -> the 5 newest Apple 10-K rows with accession_number and document_url.

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": {
      "company": "<company>"
    },
    "name": "edgar_list_filings"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoOptional page size: items to return, integer 1-200 (default 20). Example: 20
sinceNoOptional inclusive lower bound on filing_date, format YYYY-MM-DD (pattern ^\d{4}-\d{2}-\d{2}$), e.g. "2020-01-01". Default: no lower bound.
untilNoOptional inclusive upper bound on filing_date, format YYYY-MM-DD (pattern ^\d{4}-\d{2}-\d{2}$), e.g. "2024-12-31". Default: no upper bound.
offsetNoOptional zero-based number of items to skip, integer 0-1000000 (default 0); pass nextOffset from the previous response, e.g. 100
companyYesRequired, 1-200 chars. Ticker ("AAPL", case-insensitive), CIK of 1-10 digits ("320193" or "0000320193"; any SEC filer, even without a ticker) or registrant-name fragment ("Apple"; the first SEC ticker-map match is used). Call edgar_resolve_company first if a name is ambiguous.
formTypesNoOptional, default omitted = all forms. 1-20 exact SEC form types (case-insensitive equality; amendments like "10-K/A" must be listed separately). Example: ["10-K","10-Q"], ["8-K"], ["4"], ["DEF 14A"]
includeOlderNoOptional boolean, default false. true also loads the archived filings older than the ~1000 most recent (one extra SEC request per archive file). Example: true

Output Schema

NameRequiredDescriptionDefault
metaNoTool-specific context (summary counts, cost notes, ...)
countYesNumber of items in this page
itemsYesResult rows for this page
totalYesTotal items before paging
offsetYesOffset of the first item in this page
hasMoreYesTrue if more items exist after this page
nextOffsetYesOffset to pass for the next page, or null

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.2

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and open-world, and the description goes well beyond them: 5 requests/second shared across all free edgar_* tools, fixed User-Agent, HTTPS-only to sec.gov/data.sec.gov, redirects refused, size caps, 6-hour ticker-map cache, and named error codes with retryability (SEC_FETCH_FAILED). The only gap is that it doesn't explain the pagination envelope in detail, but an output schema exists to carry that.

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?

Labeled sections (WHAT/WHEN/WHEN NOT/COST/RETURNS/BEHAVIOR/PARAMETERS/EXAMPLE) make it scannable and the selection-critical content is front-loaded. It is long and the PARAMETERS section partly restates the already-thorough schema, so a little redundancy costs it the top score.

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 7-parameter, filter-plus-paginate list tool, everything an agent needs is present: resolution rules for the required company arg, inclusion of archived filings via includeOlder with its extra-request cost, filter-before-page ordering, error taxonomy, and a worked example. An output schema exists, so the brief RETURNS note is sufficient rather than deficient.

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, and the description still adds genuine meaning: a numeric company value is always a CIK while other text resolves ticker-then-name-fragment, formTypes is exact equality so "10-K" excludes "10-K/A", and since/until compare filing_date rather than report_date. It also states filters run before paging and the next page is offset = nextOffset, which the schema only hints at.

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?

Opens with a specific verb and resource ("List one company's SEC EDGAR filings") plus return shape (form type, dates, accession number, document URLs) and scope (newest first, one company). It explicitly separates itself from edgar_get_filing_document, edgar_get_company_facts, edgar_get_concept_across_companies and edgar_batch_export, so an agent can pick it without opening sibling schemas.

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?

Has explicit WHEN examples ("Apple's 10-Ks since 2020"), explicit WHEN NOT with the correct alternative named for each case (document text, XBRL numbers, multi-company), and a forwarding rule (use the returned accession_number/document_url/index_url downstream). Cost and eligibility (free, no APIFY_TOKEN) are stated, which affects selection against the paid batch tool.

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