Skip to main content
Glama

CreateTableType

Creates ABAP table types with defined row, access, and primary key settings, optionally activates them, and records changes in the specified transport request.

Instructions

Creates an ABAP table type (TTYP), with the type it holds, its access type and primary key, 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": {
      "table_type_name": "<table_type_name>",
      "package_name": "<package_name>"
    },
    "name": "CreateTableType"
  }
}

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 creation (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).
descriptionNoTable type description. When left out, table_type_name is used.
package_nameYesPackage the table type is created in.
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.
transport_requestNoTransport request number, not a task. Required for transportable packages.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/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 and does disclose optional activation and transport recording. However, it omits preconditions such as whether the table type must not already exist, permission requirements, failure behavior, and whether activation can be deferred or reversed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is a single front-loaded sentence that states the object created first and then packs the key operational details without filler. Every clause contributes to purpose or behavior.

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 14-parameter creation tool with no annotations and no output schema, the description is minimal but the schema is unusually rich and fully describes parameters. It still lacks important operational context such as transport requirements for transportable packages and what the creation response provides.

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 input schema already defines all 14 parameters including enums and defaults. The description only refers generally to the held type, access type, and primary key, adding little parameter meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource, 'Creates an ABAP table type (TTYP)', and identifies the core elements: the type it holds, its access type, and primary key. This clearly separates it from sibling tools such as CreateTable, which creates a different object.

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?

The description implies the tool is for creating a table type and notes that activation and transport recording are part of the operation, but it gives no explicit when-to-use guidance or alternatives such as UpdateTableType or CheckTableType. The agent must infer call conditions from the name and schema.

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