Skip to main content
Glama

DeleteMessageClassMessage

Deletes a single message by its number from an ABAP message class while preserving the class and all other messages, useful for targeted MSAG cleanup.

Instructions

Deletes one message, by its number, from an ABAP message class (MSAG), keeping the class (CLAS) and its other messages.

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

Input Schema

NameRequiredDescriptionDefault
msgnoYesMessage number to delete (e.g., "001").
transport_requestNoTransport request number, not a task. Required for transportable objects, optional for local ones.
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: -"Transport request number. Required for transportable objects, optional for local ($TMP)."New value: +"Transport request number, not a task. Required for transportable objects, optional for local ones."
  2. Addedv8.6.1

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden; it usefully discloses the blast radius (only the one message goes, class and siblings survive). It says nothing about irreversibility, whether the parent class must be inactive, whether the deletion must be activated or captured in a transport, or locking/error behavior.

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 sentence that front-loads the destructive action and its scope, with zero wasted clauses. The parenthetical SAP abbreviations (MSAG, CLAS) are mildly noisy but clarify the domain.

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 mutation tool with no annotations and no output schema, the description covers scope but omits prerequisites (inactive object, transport request semantics) and return/error behavior. Adequate to call correctly, not complete enough to call safely.

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%, so msgno and message_class_name are already documented in the schema, and the description only echoes 'by its number'. The transport_request parameter is not addressed at all in the description, leaving its transport implications unexplained.

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 (deletes) and a tightly scoped resource (one message, by number, from an ABAP message class). The clause 'keeping the class (CLAS) and its other messages' implicitly separates it from DeleteMessageClass, though no sibling is named.

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?

No explicit when-to-use guidance and no alternative named, despite DeleteMessageClass and UpdateMessageClassMessage existing. The agent must infer that this is the single-message variant rather than being told.

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