Skip to main content
Glama

ReadFunctionInclude

Retrieve ABAP function group include source code and metadata. Provide function group and include names to view the include source.

Instructions

[read-only] Read ABAP function group include source code and metadata. Answers: "show function group include code", "display include source", "view include of function group". Returns source code and include metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionNoVersion to read: "active" (default) or "inactive".active
include_nameYesInclude name.
function_group_nameYesFunction group name containing the include.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv16.0.0
    • changedInput schema / properties / function_group_name / description
      Previous value: -"Function group name containing the include (e.g., Z_MY_FG)."New value: +"Function group name containing the include."
    • changedInput schema / properties / include_name / description
      Previous value: -"Include name (e.g., LZ_MY_FGTOP, LZ_MY_FGU01)."New value: +"Include name."
  2. Addedv7.1.0

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are provided, so the description must carry the safety profile itself, and it does by declaring '[read-only]' up front. It also adds behavioral context by stating the return content is source code plus include metadata. It omits error behavior, permission requirements, and whether inactive-version reads behave differently, keeping it out of 5 territory.

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?

Front-loaded with the core purpose, followed by briefly useful trigger phrases and return summary. The 'Answers:' list is mild redundancy but does aid retrieval; nothing is padded at length.

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?

With no output schema, the description correctly states what is returned (source code and metadata), and it discloses read-only status in the absence of annotations. Complete enough to invoke correctly, though a note on version handling or error cases would round it out.

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 all three parameters (including the active/inactive enum) are already documented in the schema. The description adds no extra parameter meaning, which is the baseline-3 case when the schema does the heavy lifting.

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 and resource: 'Read ABAP function group include source code and metadata.' This is clearly distinct from the mock-style siblings CreateFunctionInclude/UpdateFunctionInclude/DeleteFunctionInclude and from ListFunctionGroupIncludes. It does not explicitly name those alternatives, so it stays 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 Guidelines4/5

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

The 'Answers:' phrase list ('show function group include code', 'display include source') gives concrete trigger conditions for selecting this tool over siblings. However, it offers no when-not guidance or explicit routing to alternatives such as ListFunctionGroupIncludes for enumeration or GetInclude for generic includes.

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