Skip to main content
Glama

SAPNavigate

Read-only

Navigate ABAP code with actions for definitions, references (where-used), code completion, and class hierarchy. Supports scope-based queries and ADT object filter.

Instructions

Navigate code: definitions, references (where-used), completion, class hierarchy. references uses the scope-based Where-Used API (line numbers, snippets, package); optional objectType filters by ADT slash type (e.g. CLAS/OC, PROG/P); pass type+name instead of uri. hierarchy returns superclass + interfaces + direct subclasses. For CDS (DDLS), prefer SAPContext(action="impact") — the same where-used pre-classified into RAP buckets, answering "what breaks if I change this view".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uriNoSource URI of the object. Optional for references if type+name are provided.
lineNoLine number (1-based)
nameNoObject name — alternative to uri for references.
typeNoObject type (PROG, CLAS, INTF, FUNC, etc.) — alternative to uri for references.
actionYesNavigation action
columnNoColumn number (1-based)
sourceNoCurrent source code (for definition/completion)
maxResultsNoreferences: max entries (default 100, max 1000). "total" counts every match of the filter.
objectTypeNoreferences: keep only results of this ADT type, slash format (CLAS/OC, PROG/P, FUGR/FF). A bare prefix ("CLAS") matches every subtype.
Behavior5/5

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

The description adds significant behavioral context beyond the readOnlyHint annotation. It explains the scope-based API for references, the format for objectType filtering (ADT slash type), the default and max for maxResults, and that hierarchy returns specific relationships. There is no contradiction with annotations.

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?

The description is information-dense and front-loaded with the main actions. It is slightly long but every sentence serves a purpose. Minor improvement could be more structured formatting, but it is concise enough.

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 complexity (9 parameters, 4 actions) and no output schema, the description covers the main scenarios and parameter usage. It lacks details on return format and error handling, but the schema descriptions and the behavioral context provided are sufficient for an agent to use the tool effectively.

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?

Schema coverage is 100%, but the description adds meaningful context: for references, it explains the scope-based API and the objectType filter format; for hierarchy, it clarifies return types; it also describes the alternative object identification (uri vs name+type). This adds value beyond the schema descriptions.

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 that the tool navigates code for definitions, references, completion, and hierarchy. It provides specific details for each action: references uses the scope-based Where-Used API with line numbers, snippets, and package; hierarchy returns superclass, interfaces, and subclasses. It also contrasts with SAPContext for CDS objects, effectively distinguishing it from siblings.

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 gives explicit guidance on when to use references vs hierarchy and when to prefer SAPContext for CDS impact analysis. It also explains alternative ways to specify objects (uri vs type+name). However, it does not provide when-not-to-use guidance for other actions or list alternatives for definition and completion.

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/dhruvmahendrapatel/abap-mcp-rcp-v1'

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