Skip to main content
Glama
sap-mcp

sap-mcp

by abap-studio

list_package_objects

Returns every repository object in an SAP package, including programs, classes, CDS views, tables, structures, and data elements, so you can inspect package contents.

Instructions

List all repository objects inside an SAP package (programs, classes, CDS views, tables, structures, data elements, domains, function groups, and everything else in it)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "packageName": "<packageName>"
    },
    "name": "list_package_objects"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxResultsNoMax number of objects to return (default 100)
packageNameYesPackage name, e.g. ZMYPACKAGE

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies a read-only enumeration that returns everything in the package, but says nothing about permissions, whether subpackages are traversed, cost/latency for large packages, or ordering of results.

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?

A single front-loaded sentence with the verb and resource first; the parenthetical enumeration is long but earns its place by defining scope. No filler or redundancy.

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?

For a simple two-parameter read tool it covers what is listed, but with no output schema the description should say more about the shape of returned objects (names only, types, descriptions) and whether results are truncated. Adequate but with clear gaps.

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 description coverage is 100%, with both packageName and maxResults documented in the schema (including the default of 100), so parameter meaning is already carried by structured data. The description adds nothing about the package name format or the effect of truncation when maxResults is hit, so the baseline of 3 applies.

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?

The description gives a specific verb ('List') and resource ('repository objects inside an SAP package') and enumerates the object types covered (programs, classes, CDS views, tables, etc.), which makes the scope unambiguous. It does not explicitly contrast itself with siblings like list_bsp_files or list_class_includes, so it stops short of a 5.

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?

There is no guidance on when to use this tool versus alternatives, no prerequisites (e.g., package must exist), and no exclusions. The only hint of usage is the purpose statement itself, which leaves an agent to infer that this is a discovery step before get_/create_ calls.

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