Skip to main content
Glama
filinggate-mcp

filinggate-mcp

by MiusHuv

get_segments

Read-onlyIdempotent

Extract segment revenue by business, product, and geography and check hierarchical reconciliation status from SEC EDGAR XBRL facts to verify reported totals.

Instructions

Extract business/product/geographic segment revenue and hierarchical reconciliation status.

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>"
    },
    "name": "get_segments"
  }
}

Input Schema

NameRequiredDescriptionDefault
cikYes
periodNo
accessionNo
as_of_dateNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds that the payload includes hierarchical reconciliation status, which is genuine behavioral context about the data returned. It says nothing about how period/accession selection affects which filing is read, which is the main behavioral risk for this tool.

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?

A single front-loaded sentence with no filler and the key payload detail placed first. It is efficient, though for a four-parameter extraction tool the terseness crosses into under-specification rather than economy.

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?

An output schema exists, so return values need not be described, but the input side is unaddressed: four parameters with zero schema descriptions and no guidance on filing selection. For a financial-data extraction tool with multiple scoping options, this leaves an agent guessing at invocation.

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?

Schema description coverage is 0% across four parameters (cik, period, accession, as_of_date), and the description explains none of them. It never clarifies how period differs from as_of_date, whether accession pins a specific filing, or what format period accepts, 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 ('Extract') and a specific resource ('business/product/geographic segment revenue and hierarchical reconciliation status'), which is far more informative than the bare tool name. It does not explicitly contrast itself with close siblings such as get_financials, so an agent must infer the boundary from the segment-specific framing.

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 reach for this tool versus get_financials or build_fact_pack, and no prerequisites or exclusions are given. The agent can guess that segment breakdowns are the use case, but nothing in the text confirms it.

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