Skip to main content
Glama

UpdateTypeGroup

Updates the source code of an existing ABAP type group, optionally activating it and recording the change in a specified transport request.

Instructions

Updates the source code of an existing ABAP type group, activating it when asked, recorded in the transport given.

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": {
      "type_group_name": "<type_group_name>",
      "source_code": "<source_code>"
    },
    "name": "UpdateTypeGroup"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNo"terse" (default) identifiers and summaries; "medium" all items, main properties; "full" whole answer; "raw" SAP response.terse
activateNoActivate the type group after the write. Default: false.
source_codeYesComplete ABAP source of the type group.
type_group_nameYesType group name. The type group must already exist.
transport_requestNoTransport request number, not a task. Required for transportable packages.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv26.1.2

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden and does little with it. It signals a mutation and optional activation plus transport recording, but says nothing about whether source is fully replaced, whether a syntax check or activation failure aborts or rolls back the write, or what the call returns on success versus failure.

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 verb and resource first; nothing is padded or repeated. The trailing clause 'recorded in the transport given' is slightly awkward but still carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter write operation with no annotations and no output schema, one sentence is thin. The description should cover activation side effects, error behavior, and how the returned detail level affects the response, none of which it addresses.

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 explains type_group_name, source_code, activate, transport_request, and the detail enum. The description only echoes the activation and transport semantics and adds no format, constraint, or precedence detail beyond the schema.

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 ('Updates the source code of an existing ABAP type group'), which distinguishes it from CreateTypeGroup/DeleteTypeGroup/GetTypeGroup by the word 'existing' and the code-editing focus. It does not differentiate itself from ActivateTypeGroup, which is the closest overlapping sibling, leaving a small ambiguity.

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 explicit when-to-use or when-not-to-use guidance; the phrases 'activating it when asked' and 'recorded in the transport given' merely paraphrase the activate and transport_request parameters. An agent must infer from the name alone that this should not be used to create a type group or that ActivateTypeGroup exists as a separate action.

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