Skip to main content
Glama

postalref

Compare two editions

diff
Read-onlyIdempotent

What changed in a code table or document between two editions: each code added, removed or changed and each changed section, rated editorial, additive or breaking, with who rated it.

Input Schema

NameRequiredDescriptionDefault
toNoThe newer edition's date. The newest when absent.
codeNoOne code of the table.
fromNoThe older edition's date. The edition before `to` when absent.
limitNoAt most this many changes; 50 when absent.
subjectYesA code table, such as stc, ptr or extra-services, or a document, such as pub-199 or impb-spec.
severityNoOnly changes rated this.

Output Schema

NameRequiredDescriptionDefault
toYes
fromNo
totalYes
countsYes
changesYes
subjectYes
editionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds useful context about the shape of what comes back (per-code deltas, per-section deltas, severity ratings, attribution), but says nothing about pagination/limit behavior, defaults, or cost, so it is a modest add rather than a rich one.

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?

One compact sentence that front-loads the core question ('what changed ... between two editions') and then enumerates the return content. Slightly dense in the trailing clause, but every element earns its place and nothing is redundant.

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?

With a complete input schema, an output schema, and full annotations, the description only needs to convey intent and return shape, which it does. The remaining gap is the absence of guidance on when to reach for this versus read_source or search_documents.

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 description coverage is 100%, so all six parameters (including the from/to/limit defaults and the severity enum) are already documented in the schema. The description adds no syntax, format, or edge-case detail beyond that, which is the baseline-3 case.

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-equivalent (compare editions) plus the two resource types it operates on (code table or document) and enumerates exactly what the result contains: added/removed/changed codes, changed sections, severity ratings, and rater. That level of specificity makes it trivially distinguishable from siblings like lookup, define, or read_source.

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 the wording ('between two editions'), but there is no explicit when-to-use, when-not, or pointer to an alternative such as read_source for a single edition or search for locating a subject. An agent must infer that this is the comparison tool rather than the retrieval tool.

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