Skip to main content
Glama

Compare versions

compare_versions
Read-onlyIdempotent

Answer “what changed between two versions, and what do I need to change?”: breaking changes with migration steps, deprecations and every release after from up to to.

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": {
      "changelog": "<changelog>"
    },
    "name": "compare_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoThe version to upgrade to. Omit for the latest.
fromNoThe version the user is on, e.g. 1.4.0. Omit to start from the first release.
formatNomarkdown (default) returns an upgrade guide; json returns structured data only.
changelogYesChangelog slug, e.g. "acme". Use search_changelogs to find it from a package, repository or product name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and closed-world, so safety is covered; the description usefully adds what the response actually contains (migration steps, deprecations, full release span) despite there being no output schema. It does not mention that omitting `from`/`to` widens the range, though the schema covers that.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence, front-loaded with the user question it answers and then the concrete payload. No filler and no restatement of the tool name.

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 does the work of telling the agent what comes back, and it does so concretely. It stops short of covering the `format` choice and default-range behavior, which matter for this tool, but the essentials are present.

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 all four parameters are already documented, including the markdown-vs-json output distinction. The description only echoes the range semantics of `from`/`to` by backticking them, adding no format or edge-case detail beyond the schema — 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 operation (compare two versions of a changelog) and enumerates exactly what the result contains: breaking changes with migration steps, deprecations, and all intervening releases. An agent can distinguish this from get_release or list_releases by the range/migration framing, though no sibling is named explicitly.

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?

The framing question ("what changed between two versions, and what do I need to change?") implies the situation, and use of `from`/`to` signals the range use case. However, there is no explicit when-to-use/when-not guidance and no alternative named in the description itself (the search_changelogs pointer lives only in the schema).

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