Skip to main content
Glama

ListFunctionGroupIncludes

Lists the includes of an ABAP function group and identifies its TOP include at the active version, enabling structure inspection.

Instructions

[read-only] Lists the includes (FUGR) of an ABAP function group (FUGR), its TOP include among them, at its active version.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "function_group_name": "<function_group_name>"
    },
    "name": "ListFunctionGroupIncludes"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNoHow much of the answer to return: "terse" (default) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent.terse
function_group_nameYesFunction group name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / detail
      Added value: +{
      +  "default": "terse",
      +  "description": "How much of the answer to return: \"terse\" (default) what a next call needs: the identifiers and a short description; \"medium\" every item the tool read, with its main properties; \"full\" the tool's whole answer; \"raw\" what SAP sent.",
      +  "enum": [
      +    "terse",
      +    "medium",
      +    "full",
      +    "raw"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changedv16.0.0
    • changedInput schema / properties / function_group_name / description
      Previous value: -"Function group name (e.g., Z_MY_FG)."New value: +"Function group name."
  3. Addedv7.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the burden and does add real context: it marks itself '[read-only]' and discloses that results are scoped to the active version and include the TOP include. It says nothing about what happens for an unknown or inactive function group, or how large the listing can get.

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 front-loaded sentence with the read-only tag first and the resource scope immediately after; nothing is wasted. It is arguably a touch too terse for a tool whose output shape is otherwise undocumented, but there is no filler.

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 and no output schema, the description supplies the essentials: what is listed, that the TOP include is among the results, and the version scope. The only remaining gap is the absence of any fallback or sibling routing, which is minor here.

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 coverage is 100%, and the enum for 'detail' is documented verbosely in the schema itself, so the description need not repeat it. The only added nuance is that the version scoping applies to the function group named in the required parameter; that is a marginal contribution, so 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 and resource: lists the includes (FUGR) belonging to an ABAP function group, and adds the notable detail that the TOP include is among them. It does not differentiate itself from the sibling GetIncludesList, so an agent cannot tell from the description alone which lister covers which scope.

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, no prerequisites, and no named alternative such as GetIncludesList or GetFunctionGroup. The phrase 'at its active version' hints that versions matter but never says what to do if the active version is missing or whether inactive includes exist.

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