Skip to main content
Glama

Section diff

get_section_diff
Read-onlyIdempotent

What changed in one section between a company's two most recent filings of the same form: character counts, a similarity ratio and the changed passages. Both filings are cited (accession, source_url). section: mda, risk_factors, results_of_operations, liquidity. form: 10-K or 10-Q; default, the newest extracted filing's form.

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": {
      "ticker": "<ticker>",
      "section": "<section>"
    },
    "name": "get_section_diff"
  }
}

Input Schema

NameRequiredDescriptionDefault
formNo
tickerYes
sectionYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare this is a read-only, idempotent, closed-world, non-destructive operation, so the safety profile is covered. The description adds real value beyond them by stating that both filings are cited (accession, source_url), which tells the agent the result is verifiable and self-contained. It does not mention behavior when fewer than two filings exist, which is the main remaining gap.

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

Conciseness5/5

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

Two tight sentences, front-loaded with the core verb and return content, followed by the parameter constraints. Every clause carries information: section values, form values, and the default rule, with no filler.

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

Completeness4/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-value explanation is optional, yet the description still summarizes the payload usefully. With three simple parameters and full annotation coverage, what remains is edge-case behavior (missing comparandum, form mismatch), which is a modest gap rather than a blocking one.

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 description coverage is 0% and the schema has no enums, so the description has to compensate, and it largely does: it enumerates valid section values (mda, risk_factors, results_of_operations, liquidity) and form values (10-K or 10-Q) and explains the default for form. The ticker parameter is left implicit, which is a minor omission given it is self-explanatory.

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?

The first sentence names a specific verb and resource: it diffs one section between a company's two most recent same-form filings. It also enumerates the return payload (character counts, similarity ratio, changed passages), so the agent knows exactly what it gets back and can separate it from a filing-list or section-retrieval tool.

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?

Usage is implied by 'between a company's two most recent filings of the same form,' which tells the agent this is a comparison tool rather than a fetch tool. However, it never says when not to use it or names an alternative such as get_filing_sections for reading a single filing, so routing depends on the agent's own inference.

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