Skip to main content
Glama

mtgmon Mortgage Analytics

SEC filing detail

get_sec_filing
Read-onlyIdempotent

Full detail for one SEC filing: metadata and EDGAR link, mtgmon's machine-generated summary, which tracked mortgage entities the filing concerns and in what role, named people with titles and compensation, extracted financial facts, and ownership rows.

Get the filing_id from search_sec_filings first.

Returns data.filing {filing_id, accession_number, filer_cik, form, filing_date, company_name, description, canonical_summary, summary_status, summary_model, edgar_url, ...}, data.associations [{display_name, ticker (current symbol), retired_tickers, cik, relationship_role, summary, link_status, ...}], data.people [{name, title, compensation, note}], data.financials [{metric, value, unit, period}], and data.ownership. Lists are previews; use list_sec_records and its next_cursor to retrieve all metadata. Verify summaries against the linked filing before relying on them.

Behavior: read-only, no auth or API key, no PII, idempotent and safe to retry. The public endpoint https://mtgmon.com/mcp allows about 60 requests/min and 250 tool calls/day per client IP. Result shape is {data, meta}; meta carries available, as_of, source_scope, weighting, units, cache_status, caveats, and truncated. If meta.available is false, never report it as zero: retry after a few seconds only when meta.cache_status is 'miss' (warming); otherwise report the data as unavailable.

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": {
      "filing_id": "<filing_id>"
    },
    "name": "get_sec_filing"
  }
}

Input Schema

NameRequiredDescriptionDefault
filing_idYesFiling identifier exactly as returned in a search_sec_filings result's filing_id field, typically the SEC accession number such as '0002100121-26-001023'. Letters, digits, '-' and '_' only.

Output Schema

NameRequiredDescriptionDefault
dataNo
metaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / $defs / ResultMeta / properties / cache_status / description
      Added value: +"Server cache state: hit; stale (older than its TTL, still served); stale-refresh; miss (warming, retry after a few seconds); failed or required-miss (not available now, a retry soon will not help); none; unknown."
  2. Changed1 schema field changed
    • addedInput schema / properties / filing_id / description
      Added value: +"Filing identifier exactly as returned in a search_sec_filings result's filing_id field, typically the SEC accession number such as '0002100121-26-001023'. Letters, digits, '-' and '_' only."
  3. Added

TDQS

A4.4/5.0
Behavior5/5

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

Far beyond what the annotations declare: it discloses concrete rate limits (~60 requests/min, 250 calls/day per client IP), that no auth or API key is needed, the {data, meta} envelope, the meaning of meta.available/as_of/weighting/caveats/truncated, and an explicit failure-handling rule (never report unavailable as zero; only retry on cache_status 'miss'). It also warns that summaries are machine-generated and must be verified against the linked filing, which is a substantive trust caveat an agent could not infer from readOnlyHint/idempotentHint.

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 purpose, then return fields, then operational behavior — a sensible order, and the failure-handling paragraph is dense with non-obvious value. It loses a point for repeating what annotations already state ('read-only... idempotent and safe to retry') and for the '...' elisions in the field lists, which add length without adding precision.

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 single-parameter read tool with an output schema, this covers everything an agent needs to call it correctly and interpret the response: identifier sourcing, payload sections, preview-vs-full-list distinction, rate limits, and the availability/truncation semantics. Even though the output schema exists, the prose adds interpretation guidance (meta.available false ≠ zero) that a schema alone would not convey.

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?

There is a single parameter with 100% schema description coverage, and the schema already specifies the accession-number format, length bounds, and allowed characters. The description adds only the sourcing instruction (obtain it from search_sec_filings), not new meaning about the parameter itself, so the high-coverage 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?

The first sentence names a specific verb and resource ('Full detail for one SEC filing') and then enumerates exactly what the payload contains — metadata/EDGAR link, machine-generated summary, entity associations with roles, people with titles and compensation, financial facts, ownership rows. That enumeration makes it trivially distinguishable from search_sec_filings (which finds filings) and list_sec_records (which lists metadata), so an agent can route without opening a schema.

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 an explicit prerequisite chain: 'Get the filing_id from search_sec_filings first,' which tells the agent this tool is a second step and not a discovery entry point. It also redirects bulk-retrieval intent to list_sec_records with next_cursor. It stops short of stating when NOT to use this tool (e.g., when a summary or evidence-only view would suffice, such as get_sec_record_evidence), so it is clear context rather than full exclusions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources