Skip to main content
Glama

Browse Package Contents

sap_browse_package
Read-onlyIdempotent

Inspect an ABAP package's contents by listing its repository objects and sub-packages, so you can understand its scope before changes or audits. Choose Markdown or JSON output.

Instructions

List the repository objects and sub-packages inside an ABAP package. Useful for exploring what's in a package before making changes or doing an audit.

Args:

  • package_name (string).

  • response_format.

Returns (json): { packageName, count, nodes: [{uri, type, name, description?, expandable?}] }. type: DEVC/K (sub-package), PROG/P (program), CLAS/OC (class), INTF/OI (interface), FUGR (function group), etc.

Examples:

  • "What's in package ZDEV?" -> package_name='ZDEV'.

  • Browse $TMP to see local objects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
package_nameYesPackage name (e.g. 'ZDEV', '$TMP', 'ZFI_REPORTS').
response_formatNoOutput format: 'markdown' (human-readable, default) or 'json' (structured).markdown
Install Server

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already mark it read-only, idempotent, and non-destructive; the description adds behavior beyond that by specifying the JSON response shape and node type taxonomy. There is no contradiction with the annotations, and the examples reinforce safe 'browse' usage.

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 front-loaded with the purpose, then compactly covers inputs, return shape, and examples. The Args section is somewhat redundant with the schema, but the overall length is justified by the useful return-shape and type details.

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?

With no output schema, the description compensates by documenting the returned object and node list. The only ambiguity is that it says 'Returns (json)' while response_format can default to markdown, but the examples and return structure still give an agent enough to call it correctly.

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?

Schema coverage is 100%, so the schema already documents both parameters with examples and defaults. The description's Args list and examples add little beyond the schema, meeting the baseline but not exceeding it.

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 opens with a specific verb and resource: 'List the repository objects and sub-packages inside an ABAP package.' This clearly identifies the tool's scope and differentiates it from global search or source-retrieval siblings like sap_search_objects and sap_get_source.

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?

It states when to use the tool: 'exploring what's in a package before making changes or doing an audit.' It does not explicitly name alternatives or exclusion conditions, so it stops short of the strongest guidance, but the context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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/appmaster3000/sap-abap-mcp-server'

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