Skip to main content
Glama

UpdateMessageClassMessage

Updates the text and flags of an ABAP message class message, creating it in the class when absent and recording the change in a transport request.

Instructions

Updates the text and flags of a message in an ABAP message class (MSAG), creating the message when the class (CLAS) lacks it, 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": {
      "message_class_name": "<message_class_name>",
      "msgno": "<msgno>",
      "msgtext": "<msgtext>"
    },
    "name": "UpdateMessageClassMessage"
  }
}

Input Schema

NameRequiredDescriptionDefault
msgnoYesMessage number (e.g., "001").
msgtextYesNew message text. May contain placeholders &1 &2 &3 &4 (or &).
descriptionNo(optional) Long description for the message.
self_explanatoryNo(optional) Mark the message as self-explanatory.
transport_requestNo(optional) Transport request number, not a task. Required for transportable objects.
message_class_nameYesParent message class name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv16.0.0
    • changedInput schema / properties / message_class_name / description
      Previous value: -"Parent message class name (e.g., ZMY_MSGS)."New value: +"Parent message class name."
    • changedInput schema / properties / transport_request / description
      Previous value: -"(optional) Transport request number. Required for transportable objects."New value: +"(optional) Transport request number, not a task. Required for transportable objects."
  2. Addedv8.6.1

TDQS

B3.4/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 usefully discloses the upsert behavior and that the change is recorded in the given transport, but is silent on whether existing text is overwritten, whether activation is required afterward, and what happens if the transport is missing or the class is locked.

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 dense sentence, front-loaded with the verb and resource, with no filler. It is slightly awkward in phrasing ('recorded in the transport given') and packs the create-if-absent qualifier mid-sentence, but nothing is wasted.

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 6-parameter mutation tool with no annotations and no output schema, the description covers purpose, upsert semantics, and transport recording, and the schema covers all parameters. It still leaves the agent without guidance on post-write activation, overwrite semantics, and error conditions, 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%, so the schema already explains msgno format, placeholder syntax (&1 &2), the optional long description, self_explanatory flag, and that transport_request must be a request not a task. The description's 'text and flags' and 'transport given' phrasing restates that rather than adding new meaning; 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 gives a specific verb (updates text and flags) and a specific resource (a message in an ABAP message class/MSAG), and adds the meaningful upsert nuance that the message is created when the class lacks it. That distinguishes it functionally from CreateMessageClassMessage, though it never names the sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is only implied: the word 'updates' plus the create-if-absent clause tells an agent this is the upsert path, but there is no explicit 'use this when X, use CreateMessageClassMessage when Y', no exclusions, and no stated prerequisites such as needing a transport for transportable objects.

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