Skip to main content
Glama

GetClassInclude

Retrieve a specific ABAP class include—definitions, implementations, macros, test classes, or main source—to inspect or manage only the needed code section.

Instructions

Retrieve a specific include from an ABAP class (definitions, implementations, macros, testclasses, or main)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
class_nameYesName of the ABAP class
include_typeYesType of include to fetch. 'definitions' = local class definitions (CCDEF), 'implementations' = local class implementations (CCIMP), 'macros' = local macros (CCMAC), 'testclasses' = test classes (CCAU), 'main' = main source

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a read operation but says nothing about permissions/authorization, behavior when the include does not exist, or what form the result takes — significant gaps for a tool with zero annotation coverage.

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 tight sentence with the verb and resource front-loaded and the enumerated variants parenthesized at the end; nothing is wasted. It is appropriately sized for a two-parameter read tool.

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?

With no output schema and no annotations, the description should carry more: it never says the tool returns source code and never positions itself against GetInclude/GetClass. Adequate to invoke correctly, but thin given the missing structured context.

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 include_type enum already documents each value, including the CCDEF/CCIMP/CCMAC/CCAU mapping. The description only restates the same value list, adding no syntax, format, or edge-case meaning beyond the schema, so the baseline 3 applies.

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 ('Retrieve') and resource (a specific include of an ABAP class) and enumerates the five include kinds, so the agent knows exactly what comes back. It does not explicitly distinguish itself from the nearby siblings GetClass and GetInclude, which likely overlap in scope, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance at all: nothing says when to call GetClassInclude versus GetClass (whole class) or the generic GetInclude. The list of include_type values implies the options but not the selection conditions, so an agent must infer the routing.

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