Skip to main content
Glama
marianfoo

SAP Documentation MCP Server

fetch

Retrieve full SAP documentation content and metadata by providing a specific document ID from search results, returning structured JSON for developer reference.

Instructions

GET SPECIFIC DOCS: fetch(id="result_id")

FUNCTION NAME: fetch

RETRIEVES: Full content from search results WORKS WITH: Document IDs returned by search

ChatGPT COMPATIBLE: • Uses "id" parameter (required by ChatGPT) • Returns structured JSON content • Includes full document text and metadata

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesUnique document ID from search results. Use exact IDs returned by search.
Behavior3/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 adds useful context about ChatGPT compatibility, structured JSON returns, and inclusion of full text and metadata. However, it doesn't cover important behavioral aspects like error handling, rate limits, authentication needs, or whether this is a read-only operation (though 'GET' implies it).

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

Conciseness3/5

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

The description is appropriately sized but has structural issues. It uses all-caps headers inconsistently and includes redundant information (repeating 'FUNCTION NAME: fetch' when the tool name is already 'fetch'). The content is front-loaded with the core purpose, but the formatting could be cleaner and more streamlined.

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

Completeness3/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 (single parameter, no output schema, no annotations), the description is reasonably complete for basic usage. It explains what the tool does, what it returns, and how to use the parameter. However, it lacks information about error cases, response format details, or performance characteristics that would be helpful for an agent.

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?

The schema description coverage is 100% with only one parameter well-documented in the schema. The description adds value by emphasizing the parameter is 'required by ChatGPT' and clarifying it works with 'exact IDs returned by search', providing practical usage context beyond the schema's technical specification.

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 with specific verbs ('GET', 'RETRIEVES') and resources ('SPECIFIC DOCS', 'Full content from search results'). It distinguishes from sibling tools by focusing on fetching specific documents rather than searching, with explicit mention of working with 'Document IDs returned by search'.

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 for when to use this tool ('Works with: Document IDs returned by search'), indicating it should be used after a search operation. However, it doesn't explicitly state when NOT to use it or name specific alternatives among the sibling tools, though the context implies it complements search tools.

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/marianfoo/mcp-sap-docs'

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