Skip to main content
Glama

GetFunctionModuleVersionDiff

Compares two versions of an ABAP function module from its version history to show differences between the base and newer revisions.

Instructions

[read-only] Reads two versions of the same ABAP function module (FUGR) 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": "GetFunctionModuleVersionDiff"
  }
}

Input Schema

NameRequiredDescriptionDefault
content_uri_toYesOpaque content_uri of the NEW/compare version, from the ABAP function module's version history.
content_uri_fromYesOpaque content_uri of the OLD/base version, from the ABAP function module'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 GetFunctionModuleVersions entry)."New value: +"Opaque content_uri of the OLD/base version, from the ABAP function module's version history."
    • changedInput schema / properties / content_uri_to / description
      Previous value: -"Opaque content_uri of the NEW/compare version (from a GetFunctionModuleVersions entry)."New value: +"Opaque content_uri of the NEW/compare version, from the ABAP function module's version history."
  2. Addedv8.5.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden, and it does self-declare '[read-only]' plus the fact that both inputs are pulled from version history. However, it says nothing about the shape of the diff produced, ordering guarantees, or what happens when the two content_uris belong to different objects or when a version was deleted — meaningful gaps for a comparison tool with zero annotation coverage.

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?

One sentence, front-loaded with the '[read-only]' marker and the core verb-resource pair, with no wasted wording. The bracketed tag is slightly informal but functions as an effective leading signal.

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?

For a two-parameter, non-nested tool with no output schema, the description covers what the tool consumes but not what it returns, and it omits any failure modes. An agent could invoke it correctly but would not know what to expect from the result beyond 'a comparison'.

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 description coverage is 100%, so the baseline is 3; the description adds only the constraint that both URIs must refer to the same function module, which the schema does not state. It adds no guidance on URI provenance beyond what the property descriptions already say.

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 specific verb pair (reads and compares) against a specific resource (ABAP function module / FUGR version history), which is enough to tell it apart from GetFunctionModuleVersionSource (single-version read) and GetObjectVersionDiff (generic object diff). It stops short of naming the sibling it supersedes, so it is clear but not fully differentiated.

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?

Usage is only implied: an agent can infer 'use this when you need to compare two versions' from the verb 'compares'. There is no explicit when-to-use, no when-not-to-use (e.g. for non-FUGR object types), and no mention of the sibling GetFunctionModuleVersionSource for single-version retrieval.

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