Skip to main content
Glama

UpdateTextElements

Updates text elements—symbols, selection texts, and headings—of existing ABAP programs, function groups, or classes, replacing stored values and optionally activating the object.

Instructions

Updates the text elements of an existing ABAP program (PROG), function group (FUGR) or class (CLAS), each part given replacing its stored one, activating the object when asked.

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": {
      "object_kind": "<object_kind>",
      "object_name": "<object_name>",
      "activate": "<activate>"
    },
    "name": "UpdateTextElements"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNoHow much of the answer to return: "terse" (default) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent.terse
symbolsNoThe text symbols: the whole list; symbols left out are deleted.
activateYestrue activates the object together with its text elements after the write; false leaves them inactive.
headingsNoThe list header and four column headers (programs and function groups); a heading given empty or left out is deleted.
selectionsNoThe selection texts (programs and function groups): the whole list; texts left out are deleted.
object_kindYesKind of object: program, function_group, class.
object_nameYesName of the program, function group or class.
transport_requestNoTransport request number, not a task. Optional if the object is local or already in a transport request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does add real value by disclosing replacement semantics ('each part given replacing its stored one') and that activation is conditional, but it omits that omission means deletion, that the object must already exist (only implied by 'existing'), any transport/permission prerequisites, and what happens if the named object is not found.

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?

One front-loaded sentence with no filler, and the resource plus object kinds come before the replacement caveat. The clause 'each part given replacing its stored one' is grammatically awkward and slightly obscures the destructive ('left out is deleted') consequence the schema spells out.

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

Completeness4/5

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

For an eight-parameter nested-schema mutation tool with no annotations or output schema, the description plus rich schema is close to sufficient: replacement semantics, activation control and object scope are all covered. What is missing is failure behavior and the fact that omitted list entries are deleted, which only the parameter descriptions reveal.

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 documents all eight parameters including the detail enum and the delete-on-omission rules. The description largely restates this ('activating the object when asked'), adding only the object-kind abbreviations and a compact framing of the replacement rule.

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 text elements') and enumerates the three object kinds it operates on with their SAP abbreviations (PROG, FUGR, CLAS), which separates it from generic siblings like UpdateProgram or UpdateClass. It does not name a sibling explicitly, so it stops short of a 5.

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: an agent can infer this is the write counterpart to GetTextElements and should be used instead of UpdateProgram when only text elements change, but the description never states that or names an alternative. The only explicit conditional is 'activating the object when asked', which maps to the activate parameter rather than to tool selection.

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