Skip to main content
Glama

ReadClass

Retrieve ABAP class source code and metadata like package, responsible, and description from SAP systems. Use to access active or inactive versions for development and analysis.

Instructions

[read-only] Read ABAP class source code and metadata (package, responsible, description, etc.).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
class_nameYesClass name (e.g., ZCL_MY_CLASS).
versionNoVersion to read: "active" (default) or "inactive".active
Behavior4/5

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

Since no annotations are provided, the description carries full burden. It explicitly states '[read-only]' which clearly indicates non-destructive behavior. It also specifies what information is returned (source code and metadata like package, responsible, description), providing good behavioral context beyond basic functionality.

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 extremely concise - a single sentence that efficiently communicates the tool's purpose and scope. The '[read-only]' prefix is front-loaded for immediate behavioral understanding, and every word serves a clear purpose without waste.

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 read-only tool with 2 parameters and no output schema, the description provides good coverage. It specifies the read-only nature, what data is returned, and the resource type. The main gap is lack of information about return format or potential limitations, but given the tool's simplicity and clear purpose, it's reasonably complete.

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?

With 100% schema description coverage, the schema already fully documents both parameters (class_name and version). The description doesn't add any parameter-specific information beyond what's in the schema, so it meets the baseline expectation without adding extra value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Read') and resource ('ABAP class source code and metadata'), specifying what information is retrieved (package, responsible, description, etc.). It distinguishes from sibling tools like GetClass by emphasizing source code reading rather than general class information retrieval.

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 for reading ABAP class details, but doesn't explicitly state when to use this tool versus alternatives like GetClass or ReadBehaviorDefinition. It provides some context through the '[read-only]' prefix, but lacks explicit guidance on use cases or exclusions.

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