Skip to main content
Glama

GetObjectInfo

Return the ABAP object tree for packages, classes, programs, and function groups. Enrich nodes with descriptions and packages to explore structure and dependencies.

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)
Behavior3/5

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

The description declares the tool as read-only via '[read-only]' and mentions the default enrichment behavior. However, with no annotations provided, it lacks details on potential performance impacts for large trees, error handling for invalid types, or any side effects beyond the stated read operation.

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?

The description is two sentences, front-loads the essential read-only qualifier, and conveys all necessary behavioral and input information without unnecessary words or repetition.

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

Completeness3/5

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

While the description explains the tool's purpose and parameters, it lacks details about the output structure (format of tree nodes, fields returned). Without an output schema, more specificity about the return value would be beneficial for an agent to process the results correctly.

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?

All parameters are described in the input schema, but the description adds value by explaining that parent_type values like 'DEVC/K' correspond to specific object types, and clarifies that enrich adds description/package via SearchObject. This context helps agents understand parameter purpose beyond the schema's minimal descriptions.

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 it returns an ABAP object tree structure for specific object types (DEVC, CLAS, PROG, FUGR, etc.) and explains the tree components (root, group nodes, leaves) up to maxDepth. This distinguishes it from sibling tools like GetClass or GetPackage which return single objects, not tree hierarchies.

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 explicit guidance on when to use this tool versus alternatives like GetPackageTree or GetObjectStructure. The description does not mention prerequisites, exclusions, or scenarios where another tool would be more appropriate.

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