Skip to main content
Glama

GetFunctionModuleVersionSource

Reads an older version of an ABAP function module's source code from its version history using a content_uri, so you can inspect or compare prior implementations.

Instructions

[read-only] Reads an older version of the source code of an ABAP function module (FUGR) 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": "GetFunctionModuleVersionSource"
  }
}

Input Schema

NameRequiredDescriptionDefault
content_uriYesOpaque content_uri of a version, from the ABAP function module'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 GetFunctionModuleVersions entry."New value: +"Opaque content_uri of a version, from the ABAP function module's version history."
  2. Addedv8.5.0

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 carries the full disclosure burden; it does state '[read-only]' and scopes retrieval to version history, which is genuine safety context. It does not say how the call behaves when a version is unavailable or the URI is stale, nor what form the returned source takes, leaving the mutation-free read profile only partially characterized.

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 no wasted clauses, and the bracketed read-only marker is placed where an agent will see it first. Slightly terse for a tool whose only input is an opaque identifier, but nothing is redundant.

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 covers what it returns (source code of an older version) and the read-only nature. The remaining gap is that it does not describe the shape of the returned source, which matters somewhat since no output schema exists.

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% and the single parameter is already documented as an opaque content_uri from the version history, so the schema does the heavy lifting. The description's 'from its version history' merely echoes that, adding no format, provenance, or failure semantics beyond the schema.

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) and specific resource (an older version of the source code of an ABAP function module from its version history), which lets an agent distinguish it from GetFunctionModuleVersionDiff (diff) and GetFunctionModuleVersions (list). It does not explicitly say it differs from the sibling version-source tools for other object types (GetClassVersionSource, GetProgramVersionSource), so sibling differentiation rests partly on the resource noun rather than explicit routing.

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 by the phrase 'from its version history' — an agent can infer this is the historical-read path rather than the current-source or diff path, but the description never states when to choose this over GetFunctionModuleVersionDiff or GetFunctionModuleVersions. It also omits the prerequisite that the content_uri must first be obtained from the version-list tool.

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