Skip to main content
Glama

sap_read_includes

Retrieve all include files and their source code for ABAP programs, classes, or function groups. Use to inspect complete program structure and dependencies directly from SAP.

Instructions

Retrieves all include files for a program with their source code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
object_nameYesName of the object (case-insensitive)
object_typeYesType of ABAP object

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv0.1.2

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It clearly indicates a read-only retrieval of source code but adds little beyond that: it does not clarify whether includes are listed by name, whether source is returned in full, or whether nested include chains are included. The verb 'Retrieves' is transparent enough to avoid confusion, but only minimally.

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 a single, front-loaded sentence with no filler. It conveys the core operation and the returned content efficiently.

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 full schema coverage, the description is nearly complete: it names the resource and the returned source code. The main gap is not clarifying how the object_type values map to the term 'program', but this is a minor omission given the schema enum.

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 documents both parameters fully. The description does not add parameter-specific meaning beyond the schema, which keeps it at the baseline 3.

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 clear action ('Retrieves') on a specific resource ('all include files... with their source code'), which differentiates it from sibling tools like sap_read_code. However, it refers to 'a program' while object_type allows CLAS and FUGR, introducing slight ambiguity for those object kinds.

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?

The description gives no guidance on when to prefer this tool over alternatives such as sap_read_code or sap_read_object_details, and it does not mention exclusions or prerequisites. Usage context must be inferred entirely from the tool name and resource phrasing.

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

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/NicoHern/abapilot-mcp'

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