Skip to main content
Glama

GetTypeGroupVersionSource

Reads an older version of an ABAP type group's source code from its version history, enabling comparison or recovery of prior implementations.

Instructions

[read-only] Reads an older version of the source code of an ABAP type group from its version history.

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": "<content_uri>"
    },
    "name": "GetTypeGroupVersionSource"
  }
}

Input Schema

NameRequiredDescriptionDefault
content_uriYesOpaque content_uri of a version, from the ABAP type group's version history.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv26.1.2

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry behavior. The '[read-only]' prefix usefully discloses that this is a non-mutating read operation, and it states the data comes from version history. It does not cover permissions required, error behavior for stale/invalid URIs, or rate limits, leaving gaps for a zero-annotation tool.

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?

A single, front-loaded sentence with the '[read-only]' tag placed first. It is efficient with no wasted wording, though it packs the object-type scoping into one clause rather than separating scope from alternatives.

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?

For a one-parameter read tool with 100% schema coverage and no output schema, the description conveys enough to invoke it: read-only nature, target resource, and that the URI is a historical version reference. Minor gap is not pointing to how to obtain the content_uri (version listing) or describing the returned source content.

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 the single parameter content_uri is fully documented in the schema, including that it comes from the type group's version history. The description adds no syntax, format, or sourcing detail beyond what the schema already states, so baseline 3 applies.

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?

The description gives a specific verb (Reads), resource (source code of an ABAP type group), and scope (an older version from version history). It implicitly distinguishes from GetTypeGroup (current source) and GetTypeGroupVersionDiff (diff), though it does not explicitly name those siblings.

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 implied by the phrase 'older version ... from its version history', suggesting it applies when a specific historical revision is needed. However, no explicit when-to-use conditions, prerequisites for obtaining a content_uri, or named alternatives (e.g., GetTypeGroupVersions to list versions) are given.

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