Skip to main content
Glama

GetTableType

Reads an ABAP table type (TTYP) at the active, inactive, or working-area version, returning its element type, access, key, package, and description.

Instructions

[read-only] Reads an ABAP table type (TTYP) at the version asked, with its element type, access, key, package (DEVC) and description.

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": "GetTableType"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionNoThe version read: "active" (default) the activated version, "inactive" the version saved and awaiting activation, "workingArea" the version in the working area, as ADT answers it.active
table_type_nameYesTable type name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does declare "[read-only]" and enumerates the returned aspects (element type, access, key, package DEVC, description), which compensates for the missing output schema. It says nothing about prerequisites such as authorization, or what happens when the requested inactive/workingArea version does not exist, which for a versioned read is a meaningful gap.

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 sentence, front-loaded with the read-only marker and then the resource and return scope. Nothing is redundant, though the return-field enumeration is dense enough that it reads more as a spec than a lead sentence.

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 a simple two-parameter read tool with no output schema and no annotations, the definition covers what it reads, which version it reads, and what comes back, which is close to sufficient. The remaining shortfall is the absence of failure-mode or permission context for the non-active version options.

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%, with both parameters fully documented including the enum semantics for version, so the schema already does the heavy lifting. The description reinforces the version dimension with "at the version asked" but adds no format or constraint detail beyond it; 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 and resource ("Reads an ABAP table type (TTYP)") and scopes it to a single requested version, which implicitly distinguishes it from the sibling GetTableTypeVersions and from GetTable. It stops short of explicitly naming those siblings, so differentiation requires a small inference.

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?

There is no when-to-use or when-not-to-use guidance and no alternatives are named, even though GetTableTypeVersions and GetTable are obvious candidates an agent could confuse with this. The only implicit steer is "at the version asked", which hints the tool returns one version rather than a list.

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