Skip to main content
Glama

compare_versions

Compare how a documentation topic differs between product versions, section by section, to identify why behavior changed. Resolves version-ambiguous queries and follows product renames.

Instructions

Show how one documentation topic differs between product versions, section by section. Use this for any 'this worked in version N but not N+1' question, or before answering when search_docs set version_ambiguous. Note that some products were renamed between versions (App Builder became Studio, for example) - this tool follows renames, so it spans them where a name-based search would not.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesTopic slug - the part of a `ref` after the '/'. From 'studio-guide-9/data-binding' pass 'data-binding'.
productNoProduct family to compare within. Omit to infer from `slug` when unambiguous.
versionsNoSpecific versions to compare. Omit for all versions that document this topic.
include_textNoInclude full section text per version. Off by default - the diff summary is usually enough and far cheaper.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYes
productYes
verdictYes'identical' means any version's page answers the question. 'substantive_change' means you MUST establish the user's version before answering.
versionsYes
rename_noteNoSet when the family spans a product rename, e.g. 'App Builder is the pre-Studio-8 name for Studio'.
Behavior4/5

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

No annotations are provided, so the description carries the behavioral burden. It discloses an important non-obvious behavior: the tool follows product renames and spans them where name-based search would not. It does not explicitly say whether the operation is read-only or what happens when no versions match, but the comparison semantics are clear from the description.

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?

Three focused sentences: what the tool does, when to use it, and a relevant caveat. The most useful routing information is front-loaded, and no space is wasted on redundant restatements of the schema or annotations.

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?

Given the parameter schema fully documents all four parameters and an output schema exists, the description provides the missing contextual pieces: use-case triggers, relationship to `search_docs`, and rename-following behavior. This is sufficient for an agent to decide when to invoke the tool and what parameters mean in context.

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 100%, so the baseline is 3. The description adds extra semantic value beyond the schema by explaining that renamed products (e.g., App Builder becoming Studio) are followed, which directly informs how `product` and `versions` parameters should be interpreted.

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 states a specific verb ('Show') and resource ('how one documentation topic differs between product versions, section by section'), making the core function immediately clear. It also references sibling `search_docs` and its `version_ambiguous` output, which differentiates this tool from related search/fetch tools.

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?

Explicit when-to-use guidance is provided: use for 'this worked in version N but not N+1' questions and before answering when `search_docs` set `version_ambiguous`. This tells the agent exactly the triggering conditions and distinguishes the tool from alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jitin-neutrinos/neutrinos-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server