Skip to main content
Glama
abap0917

abap-adt-mcp

by abap0917

adt_create_dataelement

Create an ABAP DDIC data element by referencing a domain; the technical type is automatically derived from the domain.

Instructions

Create a DDIC data element (DTEL) that references an existing domain. The technical type (CHAR/length/decimals) is derived automatically from the referenced domain. Field-label lengths default to short 10 / medium 20 / long 40 / heading 55; a longer supplied label uses its actual length. Created in the given package (default $TMP, local/no transport) and optionally activated. Name must match Z*/Y* prefix. Returns the object URI, referenced domain, derived type and activation status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoData element name, e.g. YTESTDE_192637. Must match Z*/Y* prefix.
domainNoExisting domain to reference, e.g. YTEST_192637.
packageNoTarget devclass. Omit to be asked (create new package | use $TMP).
activateNoActivate after creation. Default true.
longLabelNoLong field label. Default length 40; a longer supplied text keeps its actual length. Defaults to description.
transportNoTransport request. Omit + non-$TMP package -> asked to create one.
shortLabelNoShort field label. Default length 10; a longer supplied text keeps its actual length. Defaults to description.
descriptionNoShort text / description, e.g. 'AI测试用数据元素'.
mediumLabelNoMedium field label. Default length 20; a longer supplied text keeps its actual length. Defaults to description.
headingLabelNoHeading label. Default length 55; text keeps its actual length (SAP cap). Defaults to description.
Behavior4/5

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

Without annotations, the description effectively discloses key behaviors: type derivation, label length handling, package and activation defaults, and return values. It does not cover error scenarios or authentication, but the core behavioral traits are well explained.

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?

The description is a single, dense paragraph that efficiently conveys purpose, behavior, and key parameter nuances. It is front-loaded with the core action and follows with relevant details. While not structured with bullet points, it remains concise and scannable.

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?

Given the complexity (10 parameters, no output schema, no annotations), the description covers purpose, behavioral details, label defaults, return values, and naming constraints. Missing are explicit error conditions and prerequisites (e.g., domain existence), but the overall completeness is high.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema coverage, the baseline is 3. The description adds valuable context beyond schema descriptions, particularly the default label lengths and behavior when longer labels are supplied. This helps an agent understand parameter constraints without relying solely on 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 clearly states the verb 'create', the resource 'DDIC data element (DTEL)', and key differentiators like referencing an existing domain and automatic type derivation. It distinguishes well from sibling tools like adt_create_domain by specifying the reliance on a pre-existing domain.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage when needing a data element based on a domain, mentioning the package default ($TMP) and naming convention. It lacks an explicit statement of when not to use or direct comparison to alternatives, but the context is sufficiently clear for an agent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/abap0917/abap-adt-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server