Skip to main content
Glama

Search the documentation

search_docs
Read-only

Full-text search across the product documentation. Returns the best-matching pages with title, description, canonical URL, matched section headings, and a snippet. Omit product to search every product at once, or pass one of the ids from list_products to scope it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum results to return (default 8, max 25).
queryYesSearch terms, e.g. "boundary hysteresis" or "deterministic replay".
productNoOptional product id from list_products to scope the search. Omit to search all products.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultsYes

TDQS

A4.3/5.0
Behavior4/5

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

The description discloses the full-text search behavior, the nature of results ('best-matching pages'), and exactly which fields are returned. It also explains the effect of omitting the product parameter. Annotations already declare readOnlyHint=true, and the description adds scoping and output context without any contradiction.

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. It leads with the core purpose, then adds the key usage nuance about the product parameter. No redundant or filler content.

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?

Given the tool's moderate complexity (3 parameters, output schema, clear annotations), the description covers purpose, return contents, and usage nuance sufficiently. The output schema handles return structure details, and the read-only annotation covers safety, making the description complete on its own.

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% and each parameter already has a clear description. The tool description adds a brief explanation of the product parameter's scoping behavior, but this largely duplicates the schema's own description. No significant additional meaning is provided beyond the structured definitions.

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 performs 'Full-text search across the product documentation' with a specific verb and resource. It also lists the return fields (title, description, canonical URL, headings, snippet), distinguishing it from sibling tools like get_doc and list_products.

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 explains how to scope the search by omitting or providing the product parameter and references list_products as the source of valid IDs. However, it does not explicitly mention when to prefer search_docs over get_doc, so it stops short of full when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.4/5.0
Disambiguation4/5

Each tool has a clearly distinct role: list_products discovers products, search_docs finds pages, get_doc fetches a single page, and get_llms_full returns the whole corpus. There is minor potential for confusion between get_doc and get_llms_full about which to use, but the descriptions explicitly address this.

Naming Consistency4/5

The verb_noun pattern is consistent across all tools: list_products, search_docs, get_doc, get_llms_full. The only slight deviation is the cryptic 'get_llms_full' name, which is not immediately clear, but the pattern itself is consistent.

Tool Count5/5

Four tools is a well-scoped count for a documentation search/retrieval server. Each tool serves a necessary function in the discovery and retrieval workflow, and none feel redundant.

Completeness5/5

The surface covers the full discovery-to-retrieval flow: discovering products, searching all docs, fetching a specific page, and retrieving the entire corpus. There are no obvious gaps for documentation browsing needs.

Resources