Skip to main content
Glama
filinggate-mcp

filinggate-mcp

by MiusHuv

build_fact_pack

Read-onlyIdempotent

Build Stage 2/3 extended fact packs with canonical fact IDs, segment deltas, audit trails, and drilldowns for SEC XBRL filing analysis.

Instructions

Build Stage 2/3 extended fact pack with canonical fact_ids, segment deltas, audit, and drilldowns.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "build_fact_pack"
  }
}

Input Schema

NameRequiredDescriptionDefault
cikNo
formNo10-Q
sinceNo
tickerNo
accessionNo
as_of_dateNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so safety is covered. The description adds only an enumerated list of output content (fact_ids, deltas, audit, drilldowns), which duplicates what the output schema likely conveys, and says nothing about cost, latency, whether a filing must exist first, or how accession/cik/ticker interplay.

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 a single front-loaded sentence with no padding, which is good, but it is packed with undefined internal terms ('Stage 2/3', 'fact pack', 'drilldowns') that trade brevity for unreadability.

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?

For a 6-parameter derivation tool with an output schema, the description leaves out the essential information: which identifier is needed, what 'Stage 2/3' means, and what the agent must supply to get a useful result. The output schema covers return values, but that only excuses part of the omission.

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

Parameters1/5

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

Six parameters with 0% schema description coverage and zero mention in the description. Nothing explains the relationship between cik, ticker, and accession, what 'since' or 'as_of_date' control, or how 'form' (default 10-Q) narrows the pack. This is a severe gap the description does nothing to close.

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 names a specific verb ('Build') and resource ('fact pack'), but the qualifiers 'Stage 2/3 extended' are internal jargon that an agent cannot decode without prior context. It also does not distinguish this tool from siblings like get_financials, get_segments, or audit_statements, which appear to overlap in domain.

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?

There is no statement of when to use this tool, what prerequisites it requires, or which sibling to prefer instead. The agent must guess whether it complements or replaces get_financials and get_segments.

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