Skip to main content
Glama

CheckFunctionModule

Validates the syntax of an ABAP function module within a function group, optionally for active or inactive versions, to catch code errors early.

Instructions

[read-only] Checks the syntax of an ABAP function module (FUGR) of a function group (FUGR).

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>",
      "function_module_name": "<function_module_name>"
    },
    "name": "CheckFunctionModule"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionNoVersion to check: 'active' or 'inactive'. Default: active.
function_group_nameYesFunction group name containing the function module.
function_module_nameYesFunction module name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv16.0.0
    • changedInput schema / properties / function_module_name / description
      Previous value: -"Function module name (e.g., Z_MY_FUNCTION)."New value: +"Function module name."
  2. Addedv6.5.1

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 '[read-only]' prefix is the description's main contribution and correctly conveys a non-mutating operation. However, it does not say what a check produces (syntax error list? boolean?), whether a failed check returns an error or a result payload, or whether the inactive version must exist first — all important for a validation tool with no output schema.

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 short, front-loaded sentence with no preamble, which is appropriate for a simple check tool. Its only inefficiency is the duplicated, incorrect '(FUGR)' gloss, which costs words without adding clarity.

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?

Parameters are fully documented by the schema, but with no output schema and no annotations the description should explain the shape of the check result and failure behavior; that is missing. Adequate to identify the tool, insufficient to predict its response.

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%, including an enum for the version parameter, so the schema already carries the parameter semantics. The description only restates that the module belongs to a function group and adds no format, naming-convention, or default details beyond the schema; 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?

The description names a specific verb ('Checks the syntax') and a specific resource ('ABAP function module'), which separates it from siblings like GetFunctionModule or ActivateFunctionModule. The parenthetical is garbled, though: '(FUGR)' is applied to both 'function module' and 'function group', so the resource labeling is internally inconsistent and an agent may momentarily confuse it with CheckFunctionGroup.

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 statement of when to use this instead of GetFunctionModule, CheckFunctionGroup, or ActivateFunctionModule, and no prerequisite or ordering guidance (e.g. check before activating). The only implied guidance is that it is a validation step, which the agent must infer from the verb.

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