Skip to main content
Glama

GetObjectInfo

Retrieve ABAP object tree structure for packages, classes, programs, function groups, and other objects. Shows root, groups, and leaves up to specified depth, with optional enrichment of descriptions and packages.

Instructions

[read-only] Return ABAP object tree structure for packages (DEVC), classes (CLAS), programs (PROG), function groups (FUGR), and other objects. Shows root, group nodes, and terminal leaves up to maxDepth. Enrich each node with description and package via SearchObject if enrich=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
parent_typeYes[read-only] Parent object type (e.g. DEVC/K, CLAS/OC, PROG/P)
parent_nameYes[read-only] Parent object name
maxDepthNo[read-only] Maximum tree depth (default depends on type)
enrichNo[read-only] Whether to add description and package via SearchObject (default true)
Behavior4/5

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

Description explicitly states [read-only], discloses tree depth up to maxDepth, and enrichment behavior via SearchObject. This is good for a read-only tool without annotations. Missing details on default depth per type or error handling.

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?

Three sentences: first states purpose and types, second explains tree structure, third describes enrichment. No redundancy, front-loaded with key information.

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 read-only tree query with no output schema, description covers core behavior (types, tree, enrichment, depth). Lacks return structure details and error handling, but adequate given complexity.

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?

Schema coverage is 100%, but description adds context: enrichment depends on SearchObject, and depth is constrained. Small inconsistency: schema says maxDepth default=1, description says depends on type.

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?

Description clearly states it returns ABAP object tree structure for specific types (DEVC, CLAS, PROG, FUGR) with root, group nodes, and leaves. It lists types and mentions enrichment, which distinguishes from generic getters, though not explicitly from similar tree tools like GetObjectStructure.

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?

No guidance on when to use this tool versus alternatives like GetObjectStructure or GetClass. The description does not mention when not to use it or provide selection criteria beyond the listed types.

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

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