Skip to main content
Glama

GetFunctionGroup

Reads an ABAP function group at the active, inactive, or working-area version, returning its package, description, and contents for inspection.

Instructions

[read-only] Reads an ABAP function group (FUGR) at the version asked, with its package (DEVC), description and contents.

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": "GetFunctionGroup"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionNoThe version read: "active" (default) the activated version, "inactive" the version saved and awaiting activation, "workingArea" the version in the working area, as ADT answers it.active
function_group_nameYesFunctionGroup name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / version / description
      Previous value: -"Version to read: \"active\" (default) for deployed version, \"inactive\" for modified but not activated version."New value: +"The version read: \"active\" (default) the activated version, \"inactive\" the version saved and awaiting activation, \"workingArea\" the version in the working area, as ADT answers it."
    • changedInput schema / properties / version / enum
      Previous value: -[
      -  "active",
      -  "inactive"
      -]New value: +[
      +  "active",
      +  "inactive",
      +  "workingArea"
      +]
  2. Changed1 schema field changedv16.0.0
    • changedInput schema / properties / function_group_name / description
      Previous value: -"FunctionGroup name (e.g., Z_MY_FUNCTIONGROUP)."New value: +"FunctionGroup name."
  3. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden; it does self-declare "[read-only]" and says the package and contents are returned alongside the group. It does not mention permission requirements, behavior when the group does not exist, or how the active/inactive/workingArea versions differ in content beyond what the enum already says.

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 marker first and the return payload last; nothing is redundant. It is terse to the point of leaving "contents" undefined, but there is no filler.

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?

For a two-parameter read with no output schema, the description should characterize the return payload, and "contents" is too vague to tell an agent whether includes or source are included. The essentials (read-only, versioned, returns metadata) are present, so it is adequate but not 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?

Schema description coverage is 100%, with both parameters documented and the version enum fully explained, so the baseline is 3. The phrase "at the version asked" only restates the schema's version field and adds no format or constraint detail.

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 ("Reads") and resource ("ABAP function group (FUGR)") and even enumerates what comes back: package (DEVC), description and contents. It does not explicitly differentiate itself from nearby getters such as GetFunctionInclude or GetFunctionModule, but the resource is unambiguous.

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 exclusion of alternatives, and no statement of prerequisites (e.g. when to prefer this over GetFunctionInclude for a single include). The only usage hint is the implied "version asked" selector, which the schema already supplies.

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