Skip to main content
Glama

fetch_ibm_doc

Retrieve one IBM i documentation page as plain text using its URL or href from search results. Get title, text, and flags for truncated or stale content.

Instructions

Fetch one IBM i documentation topic as plain text.

Pass the href (or content API URL) from search_ibm_docs. Returns title, url, text, and truncated/stale flags. Prefer search first so you pick the right page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionNo
url_or_hrefYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the full burden. It discloses the return payload ('title, url, text, and truncated/stale flags') and implies a read-only operation via 'Fetch.' It also mentions 'truncated/stale flags' which is a useful behavioral nuance. However, it lacks explicit statements about side effects (or lack thereof), error handling, or prerequisites beyond the search step.

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

Conciseness5/5

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

The description is two sentences, front-loaded with the core purpose, and includes only essential information. Every sentence adds value—first the action, then the usage pattern, then the return summary. No wasted words.

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?

The tool is simple, has an output schema (though not shown in the prompt), and the description covers the return structure. The navigation hint from search is a useful context. The only gap is the undocumented 'version' parameter and lack of explicit error or timeout behavior, but these are not critical for a simple fetch 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?

The schema has no parameter descriptions (0% coverage), so the description must clarify. It clarifies 'url_or_href' by tying it to the search output, but it doesn't explain 'version' at all, leaving that parameter ambiguous. The parameter names themselves are somewhat self-explanatory, but the description only partially compensates for the gap.

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 begins with 'Fetch one IBM i documentation topic as plain text,' which clearly identifies the action (fetch), the resource (IBM i documentation topic), and the output format (plain text). This distinguishes it from the sibling tool 'search_ibm_docs' by focusing on retrieval of a specific topic rather than searching.

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 explicitly instructs to 'Pass the href (or content API URL) from search_ibm_docs' and advises to 'Prefer search first so you pick the right page.' This provides clear when-to-use guidance and names the alternative workflow, leaving no ambiguity about ordering.

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/wyattmog/ibmi-docs-mcp'

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