Skip to main content
Glama

GetTypeInfo

Reads the DDIC definition of an ABAP type name, including data elements, domains, structures, table types, and inactive versions, to verify type metadata.

Instructions

[read-only] Reads the DDIC definition of a type name: each data element (DTEL), domain (DOMA), structure (TABL) or table type (TTYP) of that name, its inactive version where one exists.

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": {
      "type_name": "<type_name>"
    },
    "name": "GetTypeInfo"
  }
}

Input Schema

NameRequiredDescriptionDefault
type_nameYesName of the ABAP type
include_structure_fallbackNoWhen true (default), the name is also read as a DDIC structure; false leaves the structure read out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv21.0.0
    • changedInput schema / properties / include_structure_fallback / description
      Previous value: -"When true (default), tries DDIC structure lookup only if type lookup returns 404/empty."New value: +"When true (default), the name is also read as a DDIC structure; false leaves the structure read out."
  2. Changed1 schema field changed
    • addedInput schema / properties / include_structure_fallback
      Added value: +{
      +  "default": true,
      +  "description": "When true (default), tries DDIC structure lookup only if type lookup returns 404/empty.",
      +  "type": "boolean"
      +}
  3. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It does disclose that the operation is read-only and that an inactive version is returned 'where one exists', but it omits failure behavior (e.g., what happens if the name is not found) and any detail on how the response is shaped beyond 'reads the definition'.

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 leads with the read-only marker and then packs in the object kinds and inactive-version behavior. Every element earns its place, though the parenthetical abbreviations add visual density without hurting comprehension.

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 low-complexity read-only lookup with full schema coverage and no output schema, the description supplies enough to call it correctly: the input is a type name, the output is the DDIC definition, and the supported object kinds are named. The only meaningful remaining gap is error/not-found behavior, which is minor for this tool class.

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 both parameters, including the default and effect of include_structure_fallback. The description adds no parameter-level meaning beyond referencing 'a type name', so the baseline of 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?

States a specific verb ('Reads') and resource ('DDIC definition of a type name') and enumerates the supported object kinds (DTEL, DOMA, TABL, TTYP), which tells an agent exactly what scope to expect. It does not explicitly contrast itself with siblings like GetDataElement or GetTableType, so it stops short of full differentiation.

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?

The description only states what the tool does; it gives no when-to-use guidance, no conditions that select it over the type-specific siblings, and no prerequisites or exclusions. Usage is implied at best by the purpose statement.

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