Skip to main content
Glama

Pension Resource EFAST

Compare with last year's filing

compare_prior_year
Read-only

Line-by-line differences from last year's filing, with large swings flagged.

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": {
      "doc": "<doc>",
      "prior": "<prior>"
    },
    "name": "compare_prior_year"
  }
}

Input Schema

NameRequiredDescriptionDefault
docYesFiling JSON (see document_format from get_filing_types).
priorYesFiling JSON (see document_format from get_filing_types).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered and the description is not required to carry that burden. The description does add behavioral context by disclosing that results are per-line diffs with flagged swings, but it never defines what threshold makes a swing 'large,' which directly affects how an agent should interpret the output. That undefined judgment criterion is the main transparency gap.

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; the most useful information (line-by-line diffs, flagged swings) arrives immediately. It is efficient but borders on under-specified rather than maximally helpful, since there is room for one more clarifying clause at little cost.

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?

The tool takes two nested filing JSON objects and performs comparison logic, yet the description is one sentence with no output schema to fall back on. An agent cannot learn the shape of the diff results, what counts as a flagged swing, or how to interpret unmatched lines. For a tool of this structural complexity, the description leaves meaningful gaps.

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%, so both parameters are documented, though only generically as 'Filing JSON' for both. The description adds marginal value by making clear the comparison target is last year's filing, which helps map 'prior' to the prior-year document and 'doc' to the current one. It gives no guidance on whether the filings must be the same form type or how mismatched lines are handled.

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 concrete output: line-by-line differences against last year's filing with large swings flagged. That is more specific than a restatement of the name, and the 'flagged swings' detail separates it from a plain rollforward. It stops short of stating a verb or explicitly contrasting with rollforward_prior_year, so it is clear but not maximally distinguishing.

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 versus alternatives, even though rollforward_prior_year sits in the same family and an agent could easily pick the wrong one. No prerequisites or exclusions are given. Usage must be inferred entirely from the tool name and sibling names.

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