Skip to main content
Glama

UpdateTableType

Modify an existing ABAP table type's description, row type, access type, and primary key, then activate it to apply the changes.

Instructions

Updates the definition of an existing ABAP table type (TTYP): its description, the type it holds, its access type and primary key, activating it 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": {
      "table_type_name": "<table_type_name>"
    },
    "name": "UpdateTableType"
  }
}

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
lengthNoLength of the built-in row type (ttyp:builtInType/ttyp:length).
activateNoActivate the table type after the update (default: true).
decimalsNoDecimal places of the built-in row type (ttyp:builtInType/ttyp:decimals).
key_kindNoKind of the primary key (ttyp:primaryKey/ttyp:kind).
data_typeNoBuilt-in data type of the row (ttyp:builtInType/ttyp:dataType).
access_typeNoAccess type of the table (ttyp:accessType).
descriptionNoNew table type description.
row_type_kindNoKind of the row type (ttyp:rowType/ttyp:typeKind).
row_type_nameNoDictionary type used as the row type (ttyp:rowType/ttyp:typeName).
key_definitionNoDefinition of the primary key (ttyp:primaryKey/ttyp:definition).
table_type_nameYesTable type name. The table type must already exist.
transport_requestNoTransport request number, not a task. Required for transportable packages.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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 behavioral burden. It does disclose the activation side effect ("activating it when asked"), but says nothing about whether omitted fields are preserved, permission/auth requirements, transport implications, or failure behavior — significant gaps for a 13-parameter mutation.

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 that states the operation and its editable surface without filler. It is compact and readable, though the parenthetical field list is somewhat dense.

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 13-parameter mutation tool with no annotations and no output schema, the definition covers purpose and fields adequately but leaves behavioral questions open (partial-update semantics, transport requirement, activation failure handling). The rich schema offsets much of this, keeping it at a viable 3.

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 all 13 parameters are already documented in the schema. The description echoes the affected field groups (description, row type, access type, primary key) but adds no syntax or interaction semantics beyond that, so 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 and resource — updating an existing ABAP table type (TTYP) — and enumerates the editable aspects (description, row type, access type, primary key). This clearly separates it from UpdateTable/UpdateDataElement siblings, though it does not explicitly contrast with CreateTableType or CheckTableType.

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?

"Existing" implies the table type must already be present, which rules out creation and hints at a prerequisite. However, there is no explicit guidance on when to prefer CheckTableType/GetTableType first, nor on when not to use this tool.

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