Skip to main content
Glama

search_ibm_docs

Search IBM i documentation pages via IBM's public docs index. Use command or object names to query and get ranked results, then fetch the one you need.

Instructions

Search IBM i documentation (IBM's own docs search index).

Prefer short object/command names (e.g. HTTP_GET, WRKACTJOB, CHGJRN) over long prose. Results are ranked by IBM relevance — read titles/snippets and pick the best match; do not assume hit #1 is always right. Next step: call fetch_ibm_doc with the chosen result's href.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYes
versionNo

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 transparency burden. It discloses two key behaviors: results are ranked by IBM relevance, and the top hit may not be correct, advising to 'read titles/snippets.' It also reveals the output includes hrefs for the next step. This is significant added context beyond the schema.

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 concise sentences, front-loaded with the core purpose, followed by actionable usage tips. Every sentence adds value: the first states what it does, the second covers query style, ranking behavior, and the next step. No fluff or redundancy.

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 description covers the essential search workflow, including result ranking caveat and the follow-up fetch step. With an output schema present, the description doesn't need to detail return structure. However, the lack of parameter definitions for limit/version slightly reduces completeness for a tool with three parameters.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It only addresses the query parameter by recommending short names, but offers no explanation for 'limit' or 'version'. Although their defaults are in the schema, their meaning and usage are not clarified, leaving a clear 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 clearly states 'Search IBM i documentation (IBM's own docs search index)', specifying the exact verb and resource. It also distinguishes the tool from its sibling by stating the next step to call fetch_ibm_doc, making the search vs. fetch difference explicit.

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 gives clear guidance on how to use the tool: 'Prefer short object/command names' and 'call fetch_ibm_doc with the chosen result's href.' This establishes the workflow and query strategy, though it doesn't explicitly state when not to use it or enumerate exclusions.

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