Skip to main content
Glama
OpenAPI MCP Server

OpenAPI MCP Server

by matpb

search_docs

Search platform guides and API endpoints by keywords to find which documentation covers a topic, then open the matching guide or endpoint for details.

Instructions

Search the platform overview, guides and endpoints (path, operationId, summary, description; endpoint hits rank after guides) for one or more words (case-insensitive; an entry matches when it contains every word, in any order; page through hits with limit and offset). Use it to find which guide or endpoint covers a topic, then open it with get_guide or get_endpoint_details.

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_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results to return (integer 1-50, default 10)
queryYesWords to search for; every word must appear (case-insensitive)
offsetNoNumber of hits to skip before returning results (integer >= 0, default 0)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose matching semantics (case-insensitive, all words must match in any order), result ordering (endpoint hits rank after guides) and pagination. It does not describe the shape of a returned hit beyond the searched fields, which is the main remaining gap.

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?

Two sentences, front-loaded with the resource scope before the matching rules and the usage pointer. The parenthetical listing searched fields and ranking is dense but each clause is informative; minor cost is that the first sentence is heavily nested.

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?

With no annotations and no output schema, the description covers matching, ranking and pagination well enough to invoke correctly. What an actual hit object contains is only implied by the list of searched fields, which is a modest gap for a tool named 'search_docs'.

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 coverage is 100%, so limit, offset and query are already documented with ranges and defaults. The description restates the all-words matching rule and the pagination mechanism without adding format, syntax or edge-case detail beyond the schema, so the baseline 3 applies.

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 (search) and precisely enumerates the searched corpus: platform overview, guides, endpoints with the fields matched (path, operationId, summary, description), plus ranking behavior. It also names the follow-up tools (get_guide, get_endpoint_details), so an agent can tell it apart from retrieval siblings without opening a schema.

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?

Explicitly states the use case: find which guide or endpoint covers a topic, then open it with get_guide or get_endpoint_details. That gives a clear workflow and named alternatives for the next step, but there is no explicit when-not guidance against other search siblings such as search_endpoints or search_schemas.

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