Skip to main content
Glama

GetStructureVersionSource

Retrieves an older version of an ABAP structure (TABL) source from version history, enabling inspection or recovery of prior definitions.

Instructions

[read-only] Reads an older version of the source code of an ABAP structure (TABL) 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": "GetStructureVersionSource"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv20.1.0
    • changedInput schema / properties / content_uri / description
      Previous value: -"Opaque content_uri taken from a GetStructureVersions entry."New value: +"Opaque content_uri of a version, from the ABAP structure's version history."
  2. Addedv8.5.0

TDQS

A3.7/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 burden; it does declare '[read-only]' and that the read targets a historical version rather than the live object, which is useful behavioral context. It does not say what is returned (full source text? truncated?), how missing/invalid versions behave, or whether inactive versions are covered.

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 safety tag first and the resource and scope immediately after; every clause carries information and there is no filler.

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, non-destructive read with no output schema, the definition covers what is read, from where, and how the URI is sourced. Remaining gaps (return shape, failure behavior) are minor but would help an agent handle errors.

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?

With one parameter at 100% schema coverage the baseline is 3, and the description adds real meaning by framing content_uri as an opaque handle drawn from the structure's version history, telling the agent where the value must come from. It still doesn't describe format or validity constraints beyond that.

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 ('Reads'), a specific resource ('source code of an ABAP structure (TABL)'), and a scope qualifier ('an older version ... from its version history'), which implicitly separates it from the sibling GetStructureVersionDiff (diff rather than source) and GetStructure (current state). It stops short of naming a sibling explicitly, but the purpose is unambiguous.

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?

The phrase 'from its version history' hints that the caller must first obtain a version entry (e.g. via GetStructureVersions) before calling this, and 'older version' implies it is not for current source. There is no explicit when-to-use/when-not-to-use statement or named alternative for retrieving current or diffed source, so guidance is only implied.

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