Skip to main content
Glama

GetDataElement

Reads an ABAP data element at active, inactive, or working-area version, including its domain or built-in type, labels, search help, package, and description.

Instructions

[read-only] Reads an ABAP data element (DTEL) at the version asked, with its domain (DOMA) or built-in type, its labels, search help, 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": {
      "data_element_name": "<data_element_name>"
    },
    "name": "GetDataElement"
  }
}

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
data_element_nameYesData element name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / version / description
      Previous value: -"Version to read: \"active\" (default) for deployed version, \"inactive\" for modified but not activated version."New value: +"The 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."
    • changedInput schema / properties / version / enum
      Previous value: -[
      -  "active",
      -  "inactive"
      -]New value: +[
      +  "active",
      +  "inactive",
      +  "workingArea"
      +]
  2. Changed1 schema field changedv16.0.0
    • changedInput schema / properties / data_element_name / description
      Previous value: -"Data element name (e.g., Z_MY_DATA_ELEMENT)."New value: +"Data element name."
  3. First observed

TDQS

A3.5/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 burden: it does disclose that the operation is read-only and enumerates what the response contains, which is real behavioral value. It says nothing about behavior when the data element does not exist, whether authorization or a transport request context is needed, or how inactive/workingArea versions differ in availability.

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 with the read-only marker first and the returned content enumerated afterward; no filler or repetition. It is dense but each clause carries information an agent needs.

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?

This is a simple two-parameter read tool with no output schema, so enumerating the returned artifacts (domain or built-in type, labels, search help, package, description) is exactly the right compensation for the absent output schema. Only the missing not-found/error behavior keeps it from being fully complete.

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% and both parameters are fully documented in the schema, including enum values and the default for version. The description's phrase "at the version asked" reinforces that the version parameter is meaningful rather than decorative, but adds no semantics beyond what the schema already states.

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 ("Reads") and a precise resource ("ABAP data element (DTEL)") plus the payload it returns: domain/built-in type, labels, search help, package and description. That makes the tool's job unmistakable versus the Create/Update/Delete/ActivateDataElement siblings, which are clearly mutations, though no sibling is named explicitly.

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 bracketed "[read-only]" tag implies this is the non-mutating path, which implicitly steers an agent away from the Create/Update/Delete siblings. There is no explicit when-to-use statement, no mention of when to prefer GetDomain or the version-diff siblings, and no stated prerequisites or exclusion cases.

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