Skip to main content
Glama
abap0917

abap-adt-mcp

by abap0917

adt_get_object_structure

Retrieve the structure of an ABAP object, including methods, attributes, and includes, with source URIs to read specific sections without loading the full source.

Instructions

Get the structure/outline of an ABAP object (methods, attributes, includes, metadata). For classes, returns each include's sourceUri (definitions/implementations/main/testclasses) and the method/attribute outline (name + visibility). Use the include sourceUri with adt_read_source to read a single include, and the method names to request method-level edits. This is the token-optimised entry point for navigating large objects without reading their full source.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
objectUriYesObject URI from adt_search_objects
Behavior3/5

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

No annotations provided, so description carries full burden. Describes what it returns (includes sourceUri, method/attribute outline with name+visibility) and that it's token-optimized, but does not explicitly state it is read-only or disclose any side effects, permissions, or rate limits. Adequate but not fully transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four well-structured sentences: purpose, return content, usage guidance, strategic positioning. No redundant words, each sentence adds value. Highly efficient.

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?

No output schema, but description compensates by detailing the return structure (includes sourceUri, method/attribute outline with name+visibility). Connects to sibling tools for next steps. Could specify more about the outline format, but overall complete for navigating large objects.

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?

Only one parameter (objectUri) with schema description 'Object URI from adt_search_objects'. Schema coverage is 100%, but description adds context by specifying the source of the URI, which helps the agent understand how to obtain it. Baseline 3 with added value.

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?

Description clearly states it gets the structure/outline of an ABAP object, listing specific components (methods, attributes, includes, metadata). It distinguishes from sibling tools like adt_read_source (full source) and adt_search_objects, making the purpose unmistakable.

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?

Explicitly advises using the include sourceUri with adt_read_source for reading includes and method names for edits. Positions itself as a token-optimized entry point for navigating large objects, implicitly telling when to use it (to avoid full source reads). Lacks explicit when-not-to-use conditions but provides clear context.

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