Skip to main content
Glama

sap_read_where_used

Trace object dependencies in SAP: forward shows what uses an object; inverse shows what the object uses.

Instructions

Cross-reference lookup (like SE84): direction 'forward' answers 'what programs/classes use this object?', direction 'inverse' answers 'what does this program use?'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
directionNo'forward' (what uses X, default) or 'inverse' (what X uses)
max_resultsNoMaximum results (default 100)
object_nameYesObject name, e.g. MARA, ZCL_MY_CLASS
object_typeNoTABL, VIEW, DTEL, DOMA, STRU, PROG, INCL, FUNC, CLAS or FUGR (default TABL)
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explains the non-obvious direction parameter semantics (forward/inverse) which is a critical behavioral trait. While it doesn't mention side effects or errors, the tool appears to be a read-only lookup and the description covers the primary gotchas.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, well-structured sentence that front-loads the core concept ('Cross-reference lookup') and immediately clarifies the ambiguous 'direction' parameter with parallel phrasing. Every word earns its place, and the SE84 reference adds immediate recognition for SAP-savvy users.

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?

Given the tool's moderate complexity (four parameters, no output schema), the description effectively explains the core behavior and the key parameter that affects results. It doesn't discuss max_results defaults, but the schema already documents it. The description feels complete for the main use case without being verbose.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although the input schema already describes all parameters (100% coverage), the description adds valuable meaning to the 'direction' parameter by clarifying the forward/inverse distinction with concrete examples. It also provides realistic example values for object_name and object_type in the schema, reducing ambiguity beyond a simple list of allowed values.

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 clearly states the tool's purpose as a cross-reference lookup and distinguishes it from typical read operations by explaining the two direction semantics: 'forward' finds users of an object and 'inverse' finds dependencies of a program. It effectively disambiguates the tool from siblings like sap_read_table_data or sap_read_code.

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?

The description provides clear context on when to use each direction with explicit examples ('what programs/classes use this object?' vs. 'what does this program use?'). It does not explicitly mention when not to use the tool or name alternatives, though the sibling list contains no directly competing tool, so this is acceptable.

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

Install Server

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/NicoHern/abapilot-mcp'

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