Skip to main content
Glama
Hollway

mcp-abap-abap-adt-api

by Hollway

packageTree

Read-only

Lists every object in an ABAP package and its sub-packages with type, owning package, and source URL. Walks breadth-first, so a result limit still gives a complete upper-level overview.

Instructions

List what is in a package, following its sub-packages: every object with its type, the package it sits in and the URL that serves its source where there is one. nodeContents answers one level and gives most objects a SAPGUI bridge URI that serves no content; this resolves the source locations and walks the tree breadth-first, so a limit leaves a complete picture of the upper levels and names the packages it did not open.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxDepthNoHow deep to go: 1 is the package alone, 2 adds its sub-packages. Default 3.
maxObjectsNoCap on the objects returned, default 500. A single real package can hold 900.
objectTypesNoOnly these ADT types, e.g. ["CLAS/OC","PROG/P"].
packageNameYesPackage to walk, e.g. ZAPP_BASE.
readableOnlyNoKeep only objects whose text ADT serves (CLAS/OC, INTF/OI, PROG/P, PROG/I, FUGR/F, DDLS/DF, TABL/DT, TABL/DS, DCLS/DL, XSLT/VT).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and destructiveHint, so the safety profile is covered. The description adds meaningful behavioral details beyond annotations: breadth-first traversal, the effect of a limit on upper-level completeness, and that it names packages it did not open.

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?

The description is dense but each sentence carries distinct value: the first defines output and scope, the second contrasts with a sibling and explains traversal behavior. It is somewhat long with a few parenthetical details, but there is no filler or repetition.

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?

There is no output schema, so the description's specification of returned fields (type, package, source URL) is helpful. It also covers the key selector (nodeContents alternative) and behavior under limits. Minor gaps like pagination details or exact error behavior are not critical for a read-only listing tool.

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%, so the baseline is 3. The description adds semantic value by explaining the behavior of limits and depth traversal, which informs how maxObjects and maxDepth operate in practice. It also frames readableOnly's purpose indirectly through the mention of source-serving URLs.

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 states a clear, specific action: list a package's contents and follow its sub-packages, including type, package, and source URL. It explicitly contrasts itself with nodeContents, which only answers one level, making the tool's scope and differentiation immediately clear.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains when to choose this tool over nodeContents, noting that nodeContents gives one level and a non-content SAPGUI URI while packageTree resolves source locations and walks recursively. This gives the agent an explicit selection rule without requiring it to inspect sibling schemas.

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