Skip to main content
Glama

compare_versions

Diff a NeoForge documentation page between two versions to identify migration changes and update code or guides.

Instructions

Diff one documentation page between two versions (migration helper).

Args: doc: page path or doc_id, e.g. "items/index.md". from_version: older version key, e.g. "1.21.1". to_version: newer version key, e.g. "current".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
docYes
to_versionNocurrent
from_versionNo1.21.1

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden, and it never states that this is a read-only, side-effect-free operation, nor what happens when the page is absent in one of the versions. It does disclose a meaningful behavioral trait beyond the schema: from_version is the older key and to_version the newer one, which prevents reversed-diff mistakes. That partial disclosure earns a 3 rather than a 2.

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?

A single front-loaded sentence states purpose before the arg list, and the Args block is tight with no redundant prose. The pseudo-Python formatting is slightly verbose for three parameters but every line adds 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?

With only three parameters, one required, and an output schema already covering the return shape, the description supplies exactly what is missing: purpose, parameter meanings, and examples. It omits edge-case behavior (unknown doc path, version not containing the page), which is a minor but real gap for a diff tool.

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 description coverage is 0%, so the description must compensate, and it does: 'doc' is explained as a page path OR doc_id with a concrete example ('items/index.md'), and both version params are defined semantically as older/newer with example keys. It stops short of explaining what the 'current' default means or how version keys are discovered, so not quite a 5.

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 first line gives a specific verb ('Diff'), a bounded resource ('one documentation page'), and the scope constraint ('between two versions'), plus a usage tag ('migration helper'). No sibling is named, but the version-comparison scope is inherently distinct from list_docs/get_doc/search_docs, so an agent can identify it without opening 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?

'(migration helper)' implies the context of use, and the from/to framing tells the agent this is for comparing an older against a newer version. However, there is no explicit when-to-use statement, no when-not-to-use, and no pointer to a sibling for the case where the agent instead wants a single version's content (get_doc) or a full-text search.

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