Skip to main content
Glama

GetAbapKeywordDocumentation

Reads ABAP keyword documentation from the system by search term or documentation link, returning the page text and links so you can look up language syntax and usage.

Instructions

[read-only] Reads the ABAP keyword documentation of the system: its page for a word or phrase, or a topic a documentation link names, with the page's text and links. Runs on an ABAP session of its own. By default the run goes on after the call, and its result comes back under the run_handle the call gives; with background false the result comes back in the call.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "GetAbapKeywordDocumentation"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoA word or phrase to search the documentation for. Give query or topic, not both.
topicNoA topic name, as a documentation link of an earlier answer carries it (its object). Give query or topic, not both.
detailNo"terse" (default) identifiers and summaries; "medium" all items, main properties; "full" whole answer; "raw" SAP response.terse
languageNoThe documentation's language, as a link carries it or as asked; without it, the system's default answers.
backgroundNoDefault true: the read runs in the background on an ABAP session of its own and the call answers at once with a run_handle; GetBackgroundRun answers its result once, and DiscardBackgroundRun cancels it while it runs. false: the call answers the result itself.
topic_versionNoThe version that documentation link carries, sent as given; taken only with topic.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv26.1.2

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full behavioral burden and does so well: it discloses read-only status, that it runs on its own ABAP session, and the default background behavior including the run_handle, GetBackgroundRun, DiscardBackgroundRun, and the inline result when background is false.

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 front-loaded with the core purpose and read-only status, then explains background behavior. It is reasonably tight, though the sentence about 'its page for a word or phrase, or a topic a documentation link names' is slightly dense.

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 six-parameter read-only tool with no output schema, it covers the essential behaviors: purpose, return content ('text and links'), and background run semantics. It does not address permissions or error conditions, but those gaps are minor for this tool.

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 description coverage is 100%, so the baseline is 3. The description mostly repeats parameter details already present in the schema, such as the background/run_handle behavior and query-vs-topic exclusivity, without adding much parameter meaning beyond what the schema already documents.

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 states a specific verb and resource: 'Reads the ABAP keyword documentation of the system' and clarifies that it returns 'the page's text and links' for either a word/phrase or a documentation topic. This is precise enough for an agent to know exactly what the tool does.

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?

It implies usage through 'Give query or topic, not both' and explains the background option, but it does not explicitly say when to choose this tool over alternatives or when to prefer query versus topic. The guidance is present but indirect.

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