Skip to main content
Glama

One filing

filing_get
Read-onlyIdempotent

Return one filing by its SEC accession number: registry, form, period end, fiscal year and period, filing date and acceptance time, the primary document name and its SEC source URL, and the accession it amends (for 10-K/A and 10-Q/A). The document itself is not returned (it can be megabytes); read it from source_url, and read its numbers with financials_as_reported. Use it when you hold an accession number and need the filing's form, dates and source 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": {
      "accession": "<accession>"
    },
    "name": "filing_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
accessionYesSEC accession number in dashed form, for example 0000320193-24-000123.

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • removedInput schema / examples
      Removed value: -[
      -  {
      -    "accession": "0000320193-24-000123"
      -  }
      -]
    • removedInput schema / properties / accession / examples
      Removed value: -[
      -  "0000320193-24-000123"
      -]
    • removedOutput schema / description
      Removed value: -"The FinancialMD envelope (docs/API.md section 2): data plus meta (request_id, as_of knowledge time, matched company, coverage, pipeline_version, licence, terms, proof_base). Every numeric value inside data is an object with value, unit, currency, period, known interval, restated flag, method and a proof pointing at the filing. On failure the result is isError with an error object instead."
    • removedOutput schema / properties / data / description
      Removed value: -"The filing: accession, registry, form, period_end, fiscal_year, fiscal_period, filed, accepted_at, primary_doc, source_url, amends, pipeline_version."
    • removedOutput schema / properties / error / description
      Removed value: -"Present only on isError results: the API error code and message plus remedy hints."
    • removedOutput schema / properties / error / properties
      Removed value: -{
      -  "available_datasets": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "code": {
      -    "type": "string"
      -  },
      -  "docs": {
      -    "type": "string"
      -  },
      -  "message": {
      -    "type": "string"
      -  },
      -  "request_id": {
      -    "type": "string"
      -  },
      -  "retry_after": {
      -    "type": [
      -      "integer",
      -      "string"
      -    ]
      -  },
      -  "status": {
      -    "type": "integer"
      -  }
      -}
    • removedOutput schema / properties / meta / description
      Removed value: -"Request metadata: request_id, as_of, company resolution, coverage, pipeline_version, licence, terms, proof_base."
    • removedOutput schema / properties / meta / properties
      Removed value: -{
      -  "as_of": {
      -    "type": "string"
      -  },
      -  "attribution": {
      -    "description": "Citations a source requires on anything shown from the answer.",
      -    "items": {
      -      "properties": {
      -        "source": {
      -          "type": "string"
      -        },
      -        "text": {
      -          "type": "string"
      -        },
      -        "url": {
      -          "type": "string"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "company": {
      -    "properties": {
      -      "cik": {
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "fmd_id": {
      -        "type": "string"
      -      },
      -      "matched_by": {
      -        "type": "string"
      -      },
      -      "name": {
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "coverage": {
      -    "properties": {
      -      "from": {
      -        "type": "string"
      -      },
      -      "periods": {
      -        "type": "integer"
      -      },
      -      "to": {
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "licence": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "pipeline_version": {
      -    "type": "string"
      -  },
      -  "proof_base": {
      -    "type": "string"
      -  },
      -  "request_id": {
      -    "type": "string"
      -  },
      -  "terms": {
      -    "type": "string"
      -  }
      -}
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive, so the safety profile is covered; the description adds real context beyond that — payload size rationale for excluding the document, where the document actually lives, and the semantic meaning of the amended-accession field for 10-K/A and 10-Q/A. It stops short of stating not-found behavior or whether the accession must match exactly, which keeps it from a 5.

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 core action is front-loaded in the first clause, followed by the field list and the exclusions. The field enumeration is dense but each item is a selector-relevant fact; only the return-field roll call partly duplicates the output schema and could be trimmed.

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?

With an output schema and full annotation coverage, the description only needs to cover selection and invocation — and it does, including the accession precondition, what is excluded, and the redirect targets for the excluded data. Nothing an agent needs to call this correctly is missing.

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% with a regex pattern and a concrete example, so the baseline is 3; the description slightly exceeds it by naming the identifier as an 'SEC accession number' and tying it to the lookup precondition, reinforcing the dashed format without restating it.

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?

States a specific verb+resource ('Return one filing by its SEC accession number') and enumerates exactly what comes back: registry, form, period end, fiscal year/period, filing date and acceptance time, primary document name and source URL, and amended accession. That enumeration plus the explicit 'the document itself is not returned' cleanly separates it from the document-fetching and financials siblings.

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?

Gives an explicit precondition ('when you hold an accession number') and an explicit alternative for the two adjacent needs: read the document from source_url, read numbers with financials_as_reported. It also states the negative case (document body not returned) so an agent won't call it expecting filings text.

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