Skip to main content
Glama

Extract a filing narrative section

extract_section
Read-onlyIdempotent

Heading-based10-K/10-Q/8-K extraction.10-Q requires part. Can reject unreliable boundaries; verify against original filing.

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>",
      "form": "<form>",
      "section": "<section>"
    },
    "name": "extract_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
cikYesSEC CIK, decimal string; leading zeroes accepted.
formYes
partNo
limitNo
offsetNo
sectionYes
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

B3.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), so the bar is lower, yet the description adds a genuinely non-obvious trait: the tool may reject unreliable heading boundaries rather than return a bad span, and callers should verify against the original filing. It omits how rejection surfaces (error vs empty result) and says nothing about pagination via limit/offset.

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 and front-loads the purpose, with no filler sentences. But the telegraphic, run-together phrasing ('Heading-based10-K/10-Q/8-K extraction.') reads as clipped notes rather than clear prose, costing readability for little size gain.

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

Completeness2/5

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

With 8 parameters, 5 required, 38% schema coverage, and no output schema, the description leaves major gaps: what a 'section' value looks like, what is returned (heading plus body?), how offset/limit paginate, and how a rejected boundary manifests. For a tool of this complexity it does too little.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 38%, and the description explains just one parameter relationship (part is required for 10-Q). The most opaque parameter, 'section' (1-8 chars, presumably a heading key), and the limit/offset paging controls get no explanation anywhere, so the description fails to compensate for the coverage gap.

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

Purpose4/5

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

The description names a specific verb and resource ('Heading-based ... extraction' of narrative sections from 10-K/10-Q/8-K filings), which is clearly a different operation from a full-text search or raw XML fetch. It does not, however, explicitly contrast itself with siblings like search_filing_text or get_filing_xml, leaving the agent to infer the boundary.

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

Usage Guidelines3/5

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

'10-Q requires part' is a concrete conditional rule for correct invocation, and 'verify against original filing' gives a post-hoc validation habit. There is no explicit guidance on when to choose this tool over the sibling search/extract tools, so usage is implied rather than stated.

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