Skip to main content
Glama

GetObjectsByType

Reads ABAP objects of a single type, such as classes, tables, programs, or interfaces, from a specified package or composite object.

Instructions

[read-only] Reads the objects of one type, such as classes (CLAS), tables (TABL), programs (PROG) or interfaces (INTF), in an ABAP package (DEVC) or other composite object.

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": {
      "parent_name": "<parent_name>",
      "parent_tech_name": "<parent_tech_name>",
      "parent_type": "<parent_type>",
      "node_id": "<node_id>"
    },
    "name": "GetObjectsByType"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNo[read-only] Output format: 'parsed' (default). 'raw' is accepted for backward compatibility and answers the same TSV.
node_idYes[read-only] Node ID
parent_nameYes[read-only] Parent object name
parent_typeYes[read-only] Parent object type
parent_tech_nameYes[read-only] Parent technical name
with_short_descriptionsNo[read-only] Include short descriptions (default true): a description column on each row

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / format / description
      Previous value: -"[read-only] Output format: 'parsed' (default). 'raw' is accepted for backward compatibility but answers the same parsed text — see the note on `nodeLevel` below."New value: +"[read-only] Output format: 'parsed' (default). 'raw' is accepted for backward compatibility and answers the same TSV."
    • changedInput schema / properties / with_short_descriptions / description
      Previous value: -"[read-only] Include short descriptions"New value: +"[read-only] Include short descriptions (default true): a description column on each row"
  2. Changed1 schema field changedv16.0.0
    • changedInput schema / properties / format / description
      Previous value: -"[read-only] Output format: 'raw' or 'parsed'"New value: +"[read-only] Output format: 'parsed' (default). 'raw' is accepted for backward compatibility but answers the same parsed text — see the note on `nodeLevel` below."
  3. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description self-declares '[read-only]', which is useful safety context, and it hints at the result shape by naming the type codes returned. It says nothing about permissions, error behavior, result volume, or ordering, so it carries only part of the burden a 0-annotation tool demands.

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 compact sentence, front-loaded with the read-only marker and the core action, with zero filler. Slightly dense parenthetical enumeration, but nothing is wasted.

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 6-parameter tool with an opaque required node_id and no output schema, the description covers parent semantics but leaves node_id and the returned row format unexplained. It is adequate to attempt a call but not complete enough to prevent misuse of the required identifier.

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 baseline is 3. The description does add meaning by mapping parent types to concepts (a DEVC package or 'other composite object' acting as the parent), but it never clarifies node_id, format, or with_short_descriptions beyond what the schema already states.

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?

Uses a specific verb ('Reads') plus a scoped resource ('objects of one type ... in an ABAP package (DEVC) or other composite object') and enumerates concrete type codes (CLAS, TABL, PROG, INTF). It does not explicitly name a sibling such as GetObjectsList to differentiate itself, 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?

The description implies the use case (enumerate children of a package or composite object) but gives no explicit when-to-use guidance, no when-not-to-use conditions, and no named alternative for the adjacent list/type tools. The agent must infer the choice between this and GetObjectsList on its own.

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