Skip to main content
Glama

GetEnhancementImpl

Reads the active source code of an ABAP enhancement implementation by enhancement name and enhancement spot, enabling inspection of existing ENHO logic.

Instructions

[read-only] Reads the active source code of an ABAP enhancement implementation (ENHO), by its name and enhancement spot (ENHS).

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": {
      "enhancement_spot": "<enhancement_spot>",
      "enhancement_name": "<enhancement_name>"
    },
    "name": "GetEnhancementImpl"
  }
}

Input Schema

NameRequiredDescriptionDefault
enhancement_nameYes[read-only] Name of the enhancement implementation
enhancement_spotYesName of the enhancement spot

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/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 of behavior disclosure. It does usefully declare read-only semantics and that only the ACTIVE version is returned (implying inactive versions are not accessible), but it says nothing about authorization requirements, behavior when the implementation is not found, or whether large source is truncated.

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 first and zero redundant wording. Every clause (verb, active-source scope, type codes, identifying parameters) earns its place.

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 simple two-parameter read tool with no output schema, the description is nearly sufficient: the agent knows it returns source text for a named implementation within a spot. It falls short only on edge-case behavior such as missing implementations or inactive versions, which matter for a debug/read tool.

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%, with both required parameters documented in the schema itself, so the baseline is 3. The description adds only a light mapping of 'its name' and 'enhancement spot' to the two parameters, without format, casing, or lookup-failure semantics beyond what the schema states.

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 states a specific verb ('Reads') and a precise resource ('the active source code of an ABAP enhancement implementation (ENHO)'), and the parenthetical type codes (ENHO vs ENHS) help distinguish this from the sibling GetEnhancementSpot. It never names an alternative tool explicitly, so the differentiation is implicit rather than stated.

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 description implies usage by saying it returns the active source code of an implementation, so an agent can infer that it should be used when source is needed rather than metadata. However, it gives no explicit when-to-use or when-not-to-use guidance, and it doesn't say what to call to list implementations or retrieve the spot itself.

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