Skip to main content
Glama

GetClass

Retrieve ABAP class source code from SAP systems. Specify class name and version (active or inactive) to access development content.

Instructions

Retrieve ABAP class source code. Supports reading active or inactive version.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
class_nameYesClass name (e.g., ZCL_MY_CLASS).
versionNoVersion to read: "active" (default) for deployed version, "inactive" for modified but not activated version.active
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool retrieves source code and supports version selection, which is useful behavioral context. However, it doesn't mention potential limitations like permissions required, error handling, or output format, leaving gaps in transparency for a read operation.

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?

The description is two sentences with zero waste: it states the purpose and a key feature succinctly. It's front-loaded with the core action, making it efficient and easy to parse without unnecessary details.

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?

Given the tool's moderate complexity (2 parameters, no output schema, no annotations), the description is adequate but incomplete. It covers the basic purpose and version support but lacks details on what the retrieved source code includes, potential errors, or how it differs from similar tools, leaving some contextual gaps.

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 schema already fully documents the parameters. The description adds no additional meaning beyond what the schema provides, such as clarifying parameter interactions or edge cases. This meets the baseline for high schema coverage but doesn't enhance understanding.

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 clearly states the verb ('Retrieve') and resource ('ABAP class source code'), making the purpose unambiguous. However, it doesn't explicitly differentiate from sibling tools like 'ReadClass' or 'GetAbapAST', which might have overlapping functionality, so it doesn't reach the highest score.

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 specifying 'Supports reading active or inactive version,' which provides some context for when to choose this tool based on version needs. However, it lacks explicit guidance on when to use this versus alternatives like 'ReadClass' or other retrieval tools in the sibling list, leaving room for ambiguity.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fr0ster/mcp-abap-adt'

If you have feedback or need assistance with the MCP directory API, please join our Discord server