Skip to main content
Glama

diff_versions

Compare two app versions by ID to identify breaking, behavior, and cosmetic changes before updating bundles or publishing, with optional per-field and script details.

Instructions

What changed between two versions — read-only. Entities are matched by id (it is shared across versions); changes are split into breaking (break users' bundles: users move to the new version on their own), behavior and cosmetic. detail: "full" — per field; for scripts — line counts and a short diff.

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

Input Schema

NameRequiredDescriptionDefault
baseNoA version ID or "last_public" (default) — the latest public version
appIdYesApp ID
detailNo
targetNoA version ID or "latest" (default)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it declares read-only, explains that entities are matched by shared id across versions, and defines the three change categories including what "breaking" means for user bundles. What is missing is output shape/ordering per category and why detail="summary" returns, leaving some behavioral gaps for a diff tool.

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 purpose in the first clause and compact overall. The parenthetical and em-dash chains make the detail explanation slightly dense, but every sentence conveys usable information.

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?

For a 4-parameter read-only diff tool with no output schema and no annotations, the description covers the conceptual model (id-matching, change categories, detail levels) well. Version-resolution edge cases (invalid or inaccessible versions) and a summary of the returned structure are the remaining gaps.

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 75% and already documents base/target defaults, so the description's main added value is explaining the detail enum — "full" yields per-field results and script line counts plus a short diff. The default value for detail and the meaning of appId are left unstated, so it adds real but partial meaning.

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 states a specific operation on a specific resource — computing differences between two versions — and adds 'read-only' as scope. No sibling in the catalog does version diffing, so it is naturally distinct, but it never names the app/version domain explicitly (appId is only implied through the schema).

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 rather than prescribed: you compare two versions, and the defaults (base = "last_public", target = "latest") show the common comparison case. There is no statement of when-not to use it, no prerequisite that an editable/shared version may be required, and no alternative tool suggested.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.