Skip to main content
Glama

Search the bundled SAP knowledge base

search_sap_knowledge
Read-onlyIdempotent

Search a dated, cited knowledge base for SAP ABAP facts on Clean Core levels and contracts, ATC checks, RAP release deltas, and SAP AI options, returning sources and confidence flags.

Instructions

Search one dated, cited knowledge bundle covering three areas: ABAP Cloud / RAP release deltas, Clean Core governance (SAP's extensibility Levels A-D, release contracts C0 to C4, the real ATC check and variant names, and the SAP/abap-atc-cr-cv-s4hc Cloudification Repository file and schema inventory), and decision cards for the SAP AI options an ABAP team can reach (SAP-ABAP-1, the Generative AI Hub orchestration API, the ABAP AI SDK powered by ISLM, Joule for Developers, SAP's official ADT MCP server, the custom code migration agent, and the community MCP ecosystem). Every hit returns its sources, a confidence flag and the full card. Use this when a question is about SAP facts rather than about a piece of source text — which Clean Core level a pattern lands in, what a C1 release contract guarantees, which ATC variant to run, whether SAP-ABAP-1 accepts a system prompt, which classes the ABAP AI SDK exposes, or what SAP's own MCP server can and cannot do. It does not connect to any SAP system, does not run ATC, does not fetch anything live, and is not a substitute for a real ATC run or for SAP's own documentation — it is a curated snapshot (curated 2026-11-23) and the target system and SAP's current documentation stay authoritative. For release-timeline questions prefer explain_abap_release; for the release state of a specific object use check_released_api; to analyze actual source text use lint_abap or check_cloud_readiness. Example: search_sap_knowledge({ "query": "sap-abap-1 system prompt" }).

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": {
      "query": "<query>"
    },
    "name": "search_sap_knowledge"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaNoRestrict the search: "release" (release deltas), "clean-core" (levels, contracts, ATC and repository facts), "sap-ai" (the AI decision cards), or "all" (default).
limitNoMaximum ranked cards to return, 1 to 25; defaults to 5. The SAP-AI cards are large, so keep this small.
queryYesThe question or terms to search for, e.g. "clean core level C", "release contract C1", "sap-abap-1 system prompt", "ADT MCP server tools". Names, identifiers and class names work well.

Output Schema

NameRequiredDescriptionDefault
hitsYesRanked cards, most relevant first.
scopeNoteYesDated-knowledge caveat to repeat to the user.
truncatedYesTrue when more cards matched than were returned.
matchCountYesHow many cards matched before the limit was applied.
curatedDateYesDate the bundled knowledge base was curated.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.12.0

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/closed-world annotations, the description discloses that this is a curated snapshot dated 2026-11-23, that it makes no live connection and runs no ATC, and that the target system and SAP documentation remain authoritative. It also notes every hit returns sources, a confidence flag and the full card. It stops short of explaining ranking or how the confidence flag is derived.

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?

Front-loads purpose, then usage, then exclusions, then an example call — a logical order with no filler. The dense run-on enumeration of every AI card topic makes the middle sentence heavy, but each clause carries matching signal.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Complete for a read-only search tool: scope, freshness caveat, negative capabilities, sibling routing, query examples and return shape are all covered, and an output schema plus full annotations handle the rest. Nothing an agent needs before calling is missing.

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 the baseline is 3, but the description adds real meaning: it spells out what each area actually contains (release deltas vs. Clean Core governance facts vs. AI decision cards) and supplies worked query strings, which helps an agent phrase queries rather than just read enum labels.

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?

States a specific verb and resource ('search one dated, cited knowledge bundle') and enumerates the three content areas with concrete named artifacts (RAP release deltas, Clean Core Levels A-D, C0-C4 contracts, AI decision cards). An agent can distinguish this from the sibling tools without opening the schema.

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?

Gives an explicit selection rule ('when a question is about SAP facts rather than about a piece of source text') with concrete example questions, then routes each excluded case to a named alternative: explain_abap_release for release timelines, check_released_api for object release state, lint_abap and check_cloud_readiness for source analysis.

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