Skip to main content
Glama

Inspect source-native XML JSON

get_filing_xml
Read-onlyIdempotent

Actual manifest XML to source-native JSON,900KBlimit. Namespace prefixes removed; decimal strings preserved. Not standardized statements.

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": {
      "cik": "<cik>",
      "accession": "<accession>",
      "document": "<document>"
    },
    "name": "get_filing_xml"
  }
}

Input Schema

NameRequiredDescriptionDefault
cikYesSEC CIK, decimal string; leading zeroes accepted.
documentYesActual filename from this accession’s document manifest.
accessionYesDashed accession from filing metadata.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds real behavioral detail beyond that: a 900KB size limit, namespace-prefix stripping, and preservation of decimal strings as strings. It does not say what happens when the 900KB limit is exceeded (error vs truncation), which is the key operational unknown.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short with no filler, but it is written as punctuated fragments ('900KBlimit', semicolon-chained clauses) that read as notes rather than a structured definition. The most important constraint, the 900KB limit, is buried mid-sentence rather than front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-required-parameter read tool with full schema coverage and full annotations, the description covers the essential transformation semantics and a size cap. It stops short on failure behavior at the size limit and on any indication of the JSON structure returned (no output schema exists to carry that).

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?

Schema description coverage is 100%, so the schema already documents cik, accession and document with patterns and constraints. The description's use of 'manifest' loosely reinforces that 'document' is a filename from the accession manifest, but adds no syntax or format detail beyond the schema. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description conveys that this returns the raw manifest XML converted to source-native JSON, which usefully corrects the impression given by the name 'get_filing_xml' that raw XML text is returned. However, it is a verbless fragment ('Actual manifest XML to source-native JSON') rather than a stated action, and the only sibling differentiation is the terse negation 'Not standardized statements.' An agent can guess the purpose but does not get a clean verb+resource statement.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Not standardized statements' hints at a when-not condition (don't use this for normalized financial statements), but no alternative tool is named and no positive when-to-use guidance is given. The agent must infer that extract_section or get_companyfacts covers the standardized path.

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