Skip to main content
Glama

GetObjectStructureLow

Retrieve the structure of an ABAP Development Tools (ADT) object as a compact JSON tree. Provide object type and name to get the hierarchical structure, optionally using an existing session.

Instructions

[low-level] Retrieve ADT object structure as compact JSON tree. Returns XML response with object structure tree. Can use session_id and session_state from GetSession to maintain the same session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idNoSession ID from GetSession. If not provided, a new session will be created.
object_nameYesObject name (e.g., "ZMY_CLASS", "ZMY_PROGRAM")
object_typeYesObject type (e.g., "CLAS/OC", "PROG/P", "DEVC/K", "DDLS/DF")
session_stateNoSession state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.
Behavior3/5

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

No annotations provided, so description carries full burden. Describes return as XML response, implying a read operation. Lacks details on error handling, performance implications, or whether it's stateless beyond session hints.

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?

Three sentences, each serving a purpose: purpose, return type, session guidance. Could be slightly tighter by merging first two sentences, but overall efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite no output schema, the description inconsistently states 'compact JSON tree' then 'XML response' – a potential source of confusion. Does not explain the structure or contents of the tree, leaving gaps for an AI agent.

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?

Input schema covers 100% of parameters with clear examples and descriptions. The tool description adds minimal extra meaning beyond the schema, so baseline of 3 is appropriate.

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?

Clearly states it retrieves ADT object structure as a compact JSON tree, with a sibling GetObjectStructure suggesting this is a lower-level variant. Verb 'Retrieve' and resource 'ADT object structure' are specific.

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?

Mentions session management with GetSession, providing context for maintaining sessions. However, no explicit guidance on when to use this low-level variant versus GetObjectStructure or alternatives.

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/ChinhHN-DEV/abap-mcp-adt'

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