Skip to main content
Glama

Show what changed to the reader

show_changes
Read-onlyIdempotent

Shows the reader what changed: presents a comparison or a change inventory to the reader as an interactive card, this service's intended way of showing what changed between the two texts of a served pair. With article, the card is that article's word-level comparison, side by side with every change marked, as compare_versions serves it. With articles, one card holds those articles as a filtered inventory, each opening its comparison in place. Without either, the card is the instrument's inventory of changed articles grouped by kind of change, with the editors' notes, as list_version_changes serves it. The result is a one-line summary with the site link; the card loads its own data. compare_versions and list_version_changes return the same comparison as data, for an answer that quotes or reasons over the wording.

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": {
      "instrument_id": "<instrument_id>"
    },
    "name": "show_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
articleNoAn article number. With it, the card is that article's comparison; without it and without articles, the instrument's change inventory.
articlesNoSeveral article numbers: one card holding those articles as a filtered inventory, each opening its comparison in place. Not with article.
instrument_idYesRegistry id of the instrument, e.g. "psr".
to_version_idNoOptional ending version. Supply with `from_version_id`; accepts the same version IDs and aliases.
from_version_idNoOptional starting version. Supply both version IDs or neither; without them, returns the instrument's latest available comparison. Accepts a version ID or a supported alias.

Output Schema

NameRequiredDescriptionDefault
cardYes
textYes
warningsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / from_version_id / description
      Previous value: -"Optional; both ids or neither. Where the instrument has one published pair, that pair is shown. A version id, or an alias the instrument defines: proposal, compromise, council, published."New value: +"Optional starting version. Supply both version IDs or neither; without them, returns the instrument's latest available comparison. Accepts a version ID or a supported alias."
    • changedInput schema / properties / to_version_id / description
      Previous value: -"With from_version_id, the later text of the pair: both ids or neither. The same ids and aliases."New value: +"Optional ending version. Supply with `from_version_id`; accepts the same version IDs and aliases."
  2. Changed1 schema field changed
    • addedOutput schema / properties / warnings
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "code": {
      +        "type": "string"
      +      },
      +      "details": {
      +        "additionalProperties": {},
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "message": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "message"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  3. Added
  4. Removed
  5. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), but the description adds the non-obvious detail that the result is only 'a one-line summary with the site link' and that 'the card loads its own data' — preventing an agent from expecting inline comparison content. It does not discuss pagination, limits on the inventory, or error behavior for invalid article numbers.

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?

The purpose is front-loaded in the first clause and every sentence carries mode or alternative information. It is a single dense paragraph with some redundancy against the schema descriptions for article/articles and slightly convoluted phrasing ('this service's intended way of showing what changed between the two texts of a served pair'), which keeps it from a 5.

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?

With 5 parameters, full schema description coverage, an output schema, and read-only annotations, the description covers what remains: mode semantics, what the caller receives, and how it relates to sibling tools. Nothing an agent needs to select or invoke it correctly is missing.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the schema by describing what each mode yields (word-level side-by-side comparison vs. filtered inventory opening comparisons in place vs. inventory grouped by kind of change with editors' notes). The version-ID parameters are left entirely to the schema, which documents them adequately.

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 description names a specific verb and outcome ('presents a comparison or a change inventory to the reader as an interactive card') and immediately distinguishes the three modes it can take. It is clearly differentiable from compare_versions and list_version_changes, which are named and characterized as returning the same comparison as data.

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

Usage Guidelines5/5

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

It states explicitly when to use this tool (showing the changes to a reader) versus the siblings (compare_versions and list_version_changes, 'for an answer that quotes or reasons over the wording'). The article/articles/neither branching gives concrete selection conditions for each mode.

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