Skip to main content
Glama

GetObjectVersionDiff

Compute a unified diff between two object versions using their content URIs, revealing source code changes.

Instructions

[read-only] Compute a unified diff between two object versions. Pass the two opaque content_uris from GetObjectVersions entries; returns the unified diff (jsdiff) of their sources.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
object_typeYesObject type (same value used in GetObjectVersions).
content_uri_toYesOpaque content_uri of the NEW/compare version (from a GetObjectVersions entry).
content_uri_fromYesOpaque content_uri of the OLD/base version (from a GetObjectVersions entry).
Behavior3/5

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

With no annotations, the description carries the full burden. It declares the tool is read-only ([read-only]) and returns a unified diff (jsdiff), but does not mention potential side effects, authorization needs, or payload size. This is acceptable for a simple diff tool but lacks depth.

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?

The description consists of two short sentences with no extraneous information. It is front-loaded with the read-only indicator and immediately states the main action. Every word is purposeful.

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?

Given no output schema, the description adequately specifies the return value ('unified diff (jsdiff)'). It also links the input to GetObjectVersions, providing essential context. It could mention that the diff is textual, but it is sufficient for agent comprehension.

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% and each parameter description is clear. The tool description adds value by clarifying that content_uris come from GetObjectVersions entries, but this is minor. The enum for object_type is well documented in schema, so description does not need to repeat it.

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 clearly states the verb 'compute a unified diff' and resource 'between two object versions'. It distinguishes itself from sibling tools (like GetClassVersionDiff) by being generic (requires object_type), and explicitly links to GetObjectVersions for input URIs, making the tool's role precise and unique.

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?

The description tells when to use the tool ('when you have two content_uris from GetObjectVersions') and what it returns, but does not explicitly state when not to use it or mention alternative specific version diff tools (like GetClassVersionDiff) for type-specific scenarios. It provides clear context but lacks exclusion guidance.

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/fr0ster/mcp-abap-adt'

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