Skip to main content
Glama

GetObjectsList

Reads every object inside an ABAP program, function group, class, package, or composite object, including nested includes and subcomponents, to list all contained development objects.

Instructions

[read-only] Reads every object inside an ABAP program (PROG), function group (FUGR), class (CLAS), package (DEVC) or other composite object, down to its nested includes (PROG) and subcomponents. Runs on an ABAP session of its own. By default the run goes on after the call, and its result comes back under the run_handle the call gives; with background false the result comes back in the call.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "GetObjectsList"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNoHow much of the answer to return: "terse" (default) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent.terse
objectsNo[read-only] Several parents, read together (give this or parent_name)
backgroundNoDefault true: the read runs in the background on an ABAP session of its own and the call answers at once with a run_handle; GetBackgroundRun answers its result once, and DiscardBackgroundRun cancels it while it runs. false: the call answers the result itself.
parent_nameNo[read-only] Parent object name (with parent_tech_name and parent_type; or give objects)
parent_typeNo[read-only] Parent object type (e.g. PROG/P, FUGR)
parent_tech_nameNo[read-only] Parent technical name
with_short_descriptionsNo[read-only] With detail medium or full: read each object's description from its metadata (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / background
      Added value: +{
      +  "description": "Default true: the read runs in the background on an ABAP session of its own and the call answers at once with a run_handle; GetBackgroundRun answers its result once, and DiscardBackgroundRun cancels it while it runs. false: the call answers the result itself.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / detail
      Added value: +{
      +  "default": "terse",
      +  "description": "How much of the answer to return: \"terse\" (default) what a next call needs: the identifiers and a short description; \"medium\" every item the tool read, with its main properties; \"full\" the tool's whole answer; \"raw\" what SAP sent.",
      +  "enum": [
      +    "terse",
      +    "medium",
      +    "full",
      +    "raw"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / properties / timeout
      Removed value: -{
      -  "description": "Seconds to wait for the answer: a whole number, at least 1, no default — without it the call waits until SAP answers. When it passes, the read is cancelled (its ABAP session is logged off) and the call answers that nothing was changed. Set it below your MCP client's request limit — the TypeScript SDK's client cancels at 60 s; a cancel does nothing to SAP.",
      -  "maximum": 2147483,
      -  "minimum": 1,
      -  "type": "integer"
      -}
    • changedInput schema / properties / with_short_descriptions / description
      Previous value: -"[read-only] Include short descriptions (default: true)"New value: +"[read-only] With detail medium or full: read each object's description from its metadata (default: true)"
  2. Changed4 schema fields changedv20.1.0
    • addedInput schema / properties / objects
      Added value: +{
      +  "description": "[read-only] Several parents, read together (give this or parent_name)",
      +  "items": {
      +    "properties": {
      +      "parent_name": {
      +        "description": "Parent object name",
      +        "type": "string"
      +      },
      +      "parent_type": {
      +        "description": "Parent object type (e.g. PROG/P, FUGR)",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "parent_type",
      +      "parent_name"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / parent_name / description
      Previous value: -"[read-only] Parent object name"New value: +"[read-only] Parent object name (with parent_tech_name and parent_type; or give objects)"
    • addedInput schema / properties / timeout
      Added value: +{
      +  "description": "Seconds to wait for the answer: a whole number, at least 1, no default — without it the call waits until SAP answers. When it passes, the read is cancelled (its ABAP session is logged off) and the call answers that nothing was changed. Set it below your MCP client's request limit — the TypeScript SDK's client cancels at 60 s; a cancel does nothing to SAP.",
      +  "maximum": 2147483,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "parent_name",
      -  "parent_tech_name",
      -  "parent_type"
      -]
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does reasonably well: it declares the operation read-only, notes it runs on its own ABAP session, and explains that by default the call returns immediately with a run_handle while background=false returns the result inline. That async contract is the single most important behavioral fact for an agent to know. It does not cover failure modes, permissions, or result size limits, which keeps it from a 5.

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?

Three sentences, front-loaded with the core action and scope before moving to the session and async behavior, with no filler. There is mild redundancy: 'runs on an ABAP session of its own' is stated once as a standalone sentence and again inside the background sentence.

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 7-parameter read tool with no annotations and no output schema, the description covers purpose, scope, read-only status, and the async/inline result model, which is what an agent most needs before calling. Gaps remain around what is returned structurally (though the detail parameter is described in the schema) and what happens when neither parent_name nor objects is supplied, given that zero parameters are formally required.

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%, so every parameter (detail, objects, background, parent_name, parent_type, parent_tech_name, with_short_descriptions) is already documented in structured data. The description echoes the background semantics rather than adding new meaning, and says nothing about the detail levels or the either/or relationship between parent_name and objects. Baseline 3 applies when the schema does the heavy lifting.

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?

States a specific verb and resource — reads every object inside an ABAP program, function group, class, package or other composite object — and enumerates the supported parent types (PROG, FUGR, CLAS, DEVC). It also clarifies the depth of the read (nested includes and subcomponents), which is genuinely informative. It stops short of naming or contrasting siblings such as GetIncludesList or GetObjectsByType, so an agent must infer the boundary itself.

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

Usage Guidelines3/5

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

The description implies usage (reading contents of a composite object) and explains the default-asynchronous mode versus background=false, which is a real when-to-use distinction. However, it gives no guidance on when this tool is preferable to the closely related GetIncludesList, GetStructuresList, or GetObjectsByType, and no prerequisites are mentioned. Usage is implied rather than prescribed.

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