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

fairquery-agent-trust-mcp

Official

Resolve company to SEC CIK (free)

edgar_resolve_company
Read-onlyIdempotent

Resolve US company tickers, CIKs, or name fragments to official SEC CIK numbers, tickers, and registrant names before fetching filings or facts.

Instructions

WHAT: Resolve US company tickers, CIKs or name fragments to official SEC CIK numbers, tickers and registrant names using the SEC public ticker map (company_tickers.json). WHEN: First, when you only need an identifier (for example "what is Nvidia's CIK?") or you must confirm which company a name refers to before fetching filings or facts. WHEN NOT: Not for filings (edgar_list_filings) or financial values (edgar_get_company_facts). Those tools already accept a ticker, CIK or name. COST: Free. Direct sec.gov requests from this MCP server. No APIFY_TOKEN and no Apify billing. RETURNS: "company_match" rows (cik zero-padded to 10 digits; match is cik, ticker or name) or one COMPANY_NOT_FOUND error row per unmatched query. Tool error: 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. This tool downloads the ticker map only. It covers SEC registrants that have a listed ticker, not delisted or private filers. PARAMETERS: queries: each string is resolved on its own, so one miss does not fail the batch. Precedence per query: an all-digit string is tried as a CIK first (leading zeros optional; it must be in the ticker map), then an exact ticker (case-insensitive; class shares use a dash, such as "BRK-B"), then a case-insensitive substring of the registrant name. The first rule that matches wins. maxMatchesPerQuery (1-25, default 5) caps rows of every query and matters for broad name fragments such as "bank" and for CIKs with several tickers (GOOG and GOOGL). EXAMPLE: {"queries":["NVDA","apple"]} -> {"count":2,"items":[{"type":"company_match","cik":"0001045810","ticker":"NVDA","name":"NVIDIA CORP","match":"ticker"}, ...]}

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": {
      "queries": "<queries>"
    },
    "name": "edgar_resolve_company"
  }
}

Input Schema

NameRequiredDescriptionDefault
queriesYesRequired. 1-50 strings, 1-200 chars each: a ticker ("NVDA", "BRK-B"), a CIK of 1-10 digits ("1045810" or "0001045810") or a case-insensitive registrant-name fragment ("nvidia"). Example: ["NVDA","apple","320193"]
maxMatchesPerQueryNoOptional integer 1-25, default 5. Max company_match rows returned per query (matters for name fragments and multi-ticker CIKs). Example: 10

Output Schema

NameRequiredDescriptionDefault
countYesNumber of rows returned
itemsYesResult rows; each has a "type" field (data rows or "error" rows with code/message/retryable)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.2

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, openWorld), the description discloses transport constraints (HTTPS only to www.sec.gov/data.sec.gov), User-Agent string, a shared 5 req/s rate limit across all free edgar_* tools, refused redirects, size caps, and a 6-hour ticker-map cache. It also states a meaningful coverage boundary: only SEC registrants with a listed ticker, excluding delisted or private filers.

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 labeled-section structure (WHAT/WHEN/WHEN NOT/COST/RETURNS/BEHAVIOR/PARAMETERS/EXAMPLE) is well front-loaded and easy to scan. There is minor redundancy: "No APIFY_TOKEN and no Apify billing" under COST is repeated as "APIFY_TOKEN is not read" under BEHAVIOR, and the COST section is somewhat padded for a single free tool.

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?

An output schema exists, yet the description still adds the pieces an agent needs operationally: the company_match row shape with zero-padded CIK, one COMPANY_NOT_FOUND row per unmatched query, and the retryable SEC_FETCH_FAILED tool error. Nothing required to call this correctly at the documented complexity appears 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 coverage is 100%, but the description still adds substantial semantics the schema cannot express: per-query precedence (all-digit tried as CIK first, then exact case-insensitive ticker, then name substring), class-share dash notation like "BRK-B", and why maxMatchesPerQuery matters for broad fragments and multi-ticker CIKs like GOOG/GOOGL.

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 opens with a specific verb and resource: resolve US company tickers, CIKs or name fragments to official SEC CIK numbers. It also explicitly names the sibling tools it is not (edgar_list_filings, edgar_get_company_facts), so an agent can distinguish it 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?

The WHEN/WHEN NOT blocks give an explicit trigger ("you only need an identifier" or "must confirm which company a name refers to") and explicit exclusions routed to two named alternatives. Nothing about when to reach for this tool versus its siblings is left to inference.

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