Skip to main content
Glama

GetClassVersionDiff

Compare two versions of the same ABAP class from its version history to identify changes between the selected base and compare versions.

Instructions

[read-only] Reads two versions of the same ABAP class (CLAS) from its version history and compares them.

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": {
      "content_uri_from": "<content_uri_from>",
      "content_uri_to": "<content_uri_to>"
    },
    "name": "GetClassVersionDiff"
  }
}

Input Schema

NameRequiredDescriptionDefault
content_uri_toYesOpaque content_uri of the NEW/compare version, from the ABAP class's version history.
content_uri_fromYesOpaque content_uri of the OLD/base version, from the ABAP class's version history.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv20.1.0
    • changedInput schema / properties / content_uri_from / description
      Previous value: -"Opaque content_uri of the OLD/base version (from a GetClassVersions entry)."New value: +"Opaque content_uri of the OLD/base version, from the ABAP class's version history."
    • changedInput schema / properties / content_uri_to / description
      Previous value: -"Opaque content_uri of the NEW/compare version (from a GetClassVersions entry)."New value: +"Opaque content_uri of the NEW/compare version, from the ABAP class's version history."
  2. Addedv8.5.0

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden, and the only behavioral disclosure is the bracketed [read-only] tag. It says nothing about what the diff output looks like, how large diffs are handled, whether both URIs must belong to the same class, or any permission requirement for reading version history.

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 front-loaded sentence with the read-only marker leading and no filler. Every clause contributes: the resource, the source (version history), and the action (comparison).

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Two fully documented required parameters and an explicit read-only marker make it adequate, but with no output schema, the description should at least characterize the comparison result; it says nothing about what the diff returns.

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 coverage is 100% and already labels the two opaque content_uri values as old/base versus new/compare. The description adds a real constraint beyond the schema: both URIs must be versions of the same ABAP class, which an agent could otherwise miss.

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?

States a concrete verb pair (reads and compares) with the exact resource: two versions of the same ABAP class (CLAS) from version history. This implicitly separates it from the *VersionSource siblings that only read source, though it never names an alternative 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?

When-to-use is only implied by the name and purpose: call it when you need to compare two historical versions. There is no statement about when not to use it, nor a pointer to GetClassVersionSource when only a single version's source is needed.

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

Deploy Server

Other Tools