Skip to main content
Glama

diff_versions

Read-only

Compares TWO versions and returns what changed between them: blocks added / removed / renamed, people, shares, dependencies, entity fields, metadata — each in plain words, with the values before and after. This is the tool that lets you ACCOUNT FOR what you did, and check that a restore to an earlier version really undid what it was meant to. Covers SchemaData only: neither tasks, nor comments, nor proposals appear in it (the response says so again). READ-ONLY.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "diff_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesThe number of the END version.
fromYesThe number of the START version (usually the oldest).
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."New value: +"UUID of the project THIS call targets (overrides the session project)."
  2. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."New value: +"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."
  3. Changed3 schema fields changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID du projet visé par CET appel. Cible RÉELLEMENT ce projet au lieu du projet de session. Refusé sans rien modifier si l'accès n'est pas accordé."New value: +"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."
    • changedInput schema / properties / from / description
      Previous value: -"Le numéro de la version de DÉPART (la plus ancienne, en général)."New value: +"The number of the START version (usually the oldest)."
    • changedInput schema / properties / to / description
      Previous value: -"Le numéro de la version d’ARRIVÉE."New value: +"The number of the END version."
  4. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so 'READ-ONLY' is redundant; the added value is elsewhere — the disclosure that only SchemaData is diffed (tasks/comments/proposals are silently absent, and the response repeats that), plus the shape of the return ('in plain words, with the values before and after'). No output schema exists, so this return-value disclosure is doing real work. It does not discuss missing versions, ordering surprises, or result size.

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?

Two sentences, front-loaded with what is compared and what comes back before the usage rationale. Capitalized emphasis and em-dash lists are readable but slightly verbose; no sentence is filler, though the aside about the response repeating the scope limit could be trimmed.

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 no output schema, the description carries the return-value burden and does so by enumerating the categories of change and their before/after form, and it closes the biggest gap by scoping to SchemaData only. Edge behavior (nonexistent version, ordering of from/to, result size) is unaddressed, leaving a small but real hole.

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% and each parameter already carries a description, including the useful hint that `from` is 'usually the oldest'. The description adds no per-parameter meaning beyond emphasizing that exactly two distinct versions are compared, so the baseline 3 applies.

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?

Names a specific verb and resource ('Compares TWO versions') and enumerates exactly what the output covers: blocks added/removed/renamed, people, shares, dependencies, entity fields, metadata, with before/after values. It never names a sibling such as list_versions, so the differentiation is by scope (SchemaData only) rather than by explicit contrast, which keeps it just below a 5.

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?

Gives concrete usage contexts — accounting for what changed, and verifying that a restore actually reverted the intended state — and states a clear exclusion ('Covers SchemaData only: neither tasks, nor comments, nor proposals appear in it'). It does not point to an alternative tool for those excluded domains, so a 4 rather than 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.