Skip to main content
Glama
sap-mcp

sap-mcp

by abap-studio

get_object_info

Retrieves metadata and details for an ABAP object such as a program, function group, or class using its ADT URI, so you can inspect object properties before reading or modifying it.

Instructions

Get metadata/details about an ABAP object (program, function group, class, etc.)

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": {
      "objectUri": "<objectUri>"
    },
    "name": "get_object_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
objectUriYesADT URI of the object, e.g. /sap/bc/adt/programs/programs/zmyprogram

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden; "Get" implies a non-destructive read, which is the main safety signal, but nothing is said about what happens with an invalid or unknown URI, whether requests are scoped to a system/connection, or what the 'details' actually comprise. No output schema exists, so the return shape is left entirely unexplained.

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 no filler or redundant restatement of the tool name. It is efficient, though the terseness is partly the source of the disclosure gaps rather than a virtue in itself.

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

Completeness2/5

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

For a tool whose whole value is returning object metadata, the description never indicates what information comes back (type, package, description, source URI, lock state) and there is no output schema to compensate. An agent cannot judge whether one call suffices or whether follow-up calls like get_outline are needed.

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?

The single objectUri parameter is fully documented in the schema, including a concrete ADT URI example, so the structured data already does the work. The description adds no further meaning such as accepted URI patterns, case sensitivity, or whether non-ADT identifiers are tolerated.

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?

Names a specific verb+resource ("Get metadata/details about an ABAP object") and enumerates coverage ("program, function group, class, etc."), which is enough to separate it from source-fetching siblings like get_class_source by topic. It never names an alternative explicitly, so differentiation is inferential rather than stated.

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?

Usage is only implied: an agent can infer you call this to inspect an object, but nothing says when to prefer it over get_class_source, get_program_source, or get_outline, nor any prerequisite such as needing an existing ADT URI. No when-not conditions and no exclusions.

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