Skip to main content
Glama

Sec 13d Amendment Diff

sec_13d_amendment_diff
Read-onlyIdempotent

Given one 13D/A or 13G/A amendment (issuer + accession_number), find the SAME reporting group's prior filing in the chain and diff what changed: percent of class, aggregate shares owned, sole/shared voting & dispositive power (per reporting owner, matched by CIK or name), and, for 13D, whether the Item 4 purpose text changed. Walks back through the issuer's filing history (bounded, never a bulk crawl) matching on reporting-owner identity, since EDGAR does not carry an explicit "previous accession" link for this form family. Reports prior_filing_found: false honestly if no matching prior filing turns up within the scan bound, or if the chain predates the structured-XML rule (diffing free text is not meaningful). Response field matched_by says whether the company was matched by ticker or by company name.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ticker_or_cik": "IMXI",
      "accession_number": "0000921895-25-002808"
    },
    "name": "sec_13d_amendment_diff"
  }
}

Input Schema

NameRequiredDescriptionDefault
cikNoAlias for ticker_or_cik.
tickerNoAlias for ticker_or_cik.
ticker_or_cikNoTicker, company name, or CIK of the ISSUER.
accession_numberYesAccession number of the AMENDMENT (13D/A or 13G/A) to diff against its predecessor. Also accepts an original 13D/13G, in which case there is by definition no prior filing.

Output Schema

NameRequiredDescriptionDefault
cikYes
noteNo
priorNo
changesNo
currentYes
scannedYes
data_as_ofYes
scan_limitYes
issuer_nameYes
prior_filing_foundYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent safety, and the description adds substantive context beyond them: EDGAR has no explicit previous-accession link so identity matching is heuristic, the scan is bounded, it returns prior_filing_found: false honestly when no match is found or the chain predates structured XML, and it discloses the matched_by field. This is exactly the kind of non-obvious behavior an agent needs.

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?

Front-loaded with the core operation, then the compared fields, then the honest-failure caveats — a logical order. The single dense paragraph is longer than typical but nearly every clause carries information; only the field enumeration could be tightened.

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

Completeness5/5

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

For a complex chain-walking diff tool with an output schema, the description covers inputs, matching strategy, failure modes, and the one output field whose semantics aren't self-evident (matched_by). Nothing needed to invoke it correctly is missing.

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 coverage is 100% and the parameters are already documented, including the ticker/cik aliases and that accession_number refers to the amendment. The description adds a little meaning by clarifying that reporting owners are matched by CIK or name and that company matching may fall back to name (via matched_by), but it does not change how any parameter is supplied. Baseline 3 applies.

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?

States a specific verb (diff) and resource (a 13D/A or 13G/A amendment versus the same reporting group's prior filing), and enumerates the exact fields compared (percent of class, aggregate shares, voting/dispositive power, Item 4 text). An agent can distinguish this from sec_13d_filing/sec_13d_filings purely from the description.

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

Usage Guidelines4/5

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

Clearly frames the input as a single amendment and the operation as a chain walk-back, and notes the edge case where an original 13D/13G is supplied (by definition no prior filing). It also states the operation is 'bounded, never a bulk crawl,' which tells the agent not to use it for enumeration. No explicit sibling routing to sec_13d_filings, which keeps it short of a 5.

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.