Skip to main content
Glama

Search documentation

search_docs
Read-onlyIdempotent

Search Markdown documentation by full-text query to get matching sections with snippets, page paths, and heading anchors, so you can locate and read the right page.

Instructions

Full-text search over the documentation. Returns matching sections with a snippet, the page path and heading anchor. Call get_doc with a returned path to read the full page or a single section.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of results.
queryYesFree-text query. Prefix matching and light fuzzy matching are applied per term.
path_prefixNoOnly search pages whose path starts with this prefix, e.g. "guides" or "api/reference".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and a closed world, so safety is covered. The description adds genuinely additive context by disclosing the return shape (matching sections with a snippet, page path and heading anchor), which matters because no output schema exists. It stops short of noting result limits or ranking behavior.

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?

Three short sentences, front-loaded with what the tool does, followed by the return shape and the next-step handoff. No wasted clauses.

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?

With no output schema, the description correctly compensates by summarizing the returned fields and the path/anchor needed to chain into get_doc. Combined with 100% parameter coverage and clear annotations, nothing an agent needs to call it correctly is missing.

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 description coverage is 100%, so the schema already documents query (with prefix/fuzzy matching), limit, and path_prefix. The description adds no parameter-level syntax or format detail beyond what the schema provides, 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 and resource ('full-text search over the documentation') and names the sibling get_doc that handles the follow-up read. An agent can distinguish this retrieval tool from get_doc (full page read) and list_docs without inspecting any 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?

Gives a clear workflow condition: call get_doc with a returned path to read the full page or a single section, which frames search as the discovery step. It does not explicitly contrast with list_docs, so the alternative-selection guidance is present but incomplete.

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

Deploy Server

Other Tools