Skip to main content
Glama

SAPNavigate

Read-only

Navigate SAP ABAP code objects with actions for definitions, references (where-used), code completion, and class hierarchy, filtering results by ADT object type or using URI-based lookup.

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.
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds behavioral detail: references uses a scope-based Where-Used API, objectType filters by ADT slash type with bare-prefix behavior, and hierarchy returns superclass+interfaces+subclasses. However it doesn't disclose edge cases like authentication requirements, error conditions, or what happens when neither uri nor type+name is provided.

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 reasonably tight, front-loaded with the four actions, and each sentence adds value. The CDS recommendation sentence is slightly long but necessary for sibling differentiation. No wasted prose.

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 9-parameter navigation tool with no output schema, the description covers the main behavioral surface: what each action does, the scope-based references approach, filtering behavior, and a strong sibling alternative. Some gaps remain (e.g., what definition/completion return, line/column handling), but the core guidance is present and actionable.

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%, so baseline is 3. The description adds value by explaining the bare-prefix matching behavior for objectType ('A bare prefix matches every subtype'), the maxResults default/cap semantics, and the type+name-as-uri-alternative pattern for references. These go beyond the literal schema texts.

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?

The description clearly states the tool navigates code with four specific actions: definitions, references, completion, and class hierarchy. It distinguishes itself from siblings by mentioning SAPContext for CDS views specifically, giving some differentiation though not for all sibling tools (SAPSearch, SAPLint etc.).

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

Usage Guidelines5/5

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

The description gives explicit when-to-use guidance, notably recommending SAPContext(action='impact') as an alternative for CDS (DDLS) where-used queries — a clear when-not-here, use-this-instead directive. It also explains when to pass type+name instead of uri for references, which is actionable usage guidance.

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/arc-mcp/arc-1'

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