Skip to main content
Glama

Compare 2ools versions

compare_versions
Read-onlyIdempotent

Identify differences between two project versions—lineage, review state, page additions/removals, byte sizes, and SHA-256 identity—without returning source.

Instructions

Compare two saved versions in one project without returning source. Reports lineage, review state, page additions/removals, byte sizes, and SHA-256 identity for each page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesProject containing both versions.
left_version_idYesEarlier or baseline version ID.
right_version_idYesLater or candidate version ID.
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive. The description adds valuable context beyond annotations: it specifies that source content is not returned and enumerates exactly what metrics are reported (lineage, review state, page additions/removals, byte sizes, SHA-256 per page). This gives a concrete behavioral picture without contradicting the safety annotations.

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?

Two sentences deliver the core action, scope, and output details with no filler. The first sentence is immediate about the tool's function, and the second sentence efficiently lists the reported dimensions.

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?

For a read-only comparison tool with all parameters documented and safety covered by annotations, the description sufficiently explains what the tool does and what it reports. The absence of an output schema is mitigated by the explicit list of reported attributes.

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?

All three parameters have complete descriptions in the schema (100% coverage), including formats and intended roles ('Earlier or baseline version ID', 'Later or candidate version ID'). The description adds no additional parameter-level meaning, so the baseline of 3 applies.

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 uses a specific verb 'Compare' with a clear resource 'two saved versions in one project' and explicitly excludes returning source, distinguishing it from export-like siblings such as prepare_version_export. This makes the tool's primary function unambiguous.

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?

It sets clear context by stating the comparison happens without returning source, which hints at when to use it versus export tools. It also lists the reported attributes (lineage, review state, page changes) that signal its use case. However, it does not explicitly name alternative tools or exclusion criteria.

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/2ools/mcp-server'

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