Skip to main content
Glama

find_docs

Search indexed documentation sections by title, summary, or content and return section summaries with IDs, so you can locate relevant docs without loading full file content.

Instructions

Searches indexed documentation sections (markdown, RST, HTML, OpenAPI) by title, summary, or content. Returns section summaries and IDs without loading file content.

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": "find_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoNoFilter to a specific repository (as shown in list_repos)
queryYesSearch query (name, keyword, or description)
doc_pathNoFilter to a specific document
max_resultsNoMaximum results to return

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.2

TDQS

A4/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does add real behavioral value: it discloses that results are section summaries plus IDs and, importantly, that full file content is not loaded. It stops short of disclosing result ordering/relevance ranking or any pagination or limits beyond the schema's max_results.

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?

Two tight sentences, zero filler, with the capability front-loaded and the return-shape caveat second. Every clause earns its place.

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?

For a four-parameter, read-only search tool with no output schema, the description covers what it searches, what it returns, and that it avoids loading file bodies. The remaining gap is ranking/ordering behavior and how doc_path interacts with repo filtering, which an agent might want.

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 the parameter documentation already handles repo, doc_path, max_results and query, setting the baseline at 3. The description adds only the searchable-field hint (title, summary, content), which maps loosely to the query parameter but adds no format or matching semantics beyond the schema.

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 (Searches) and resource (indexed documentation sections), and narrows scope by naming the accepted formats (markdown, RST, HTML, OpenAPI) and the searchable fields (title, summary, content). Combined with the 'documentation' framing, an agent can distinguish this from the code-oriented siblings (find_code, find_text) 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Conveys implied usage via the 'indexed documentation' scope, so an agent knows this is the docs-search path rather than code search. However, it gives no explicit when-to-use/when-not or names an alternative such as find_code/find_text for non-doc lookups, leaving the routing inference to the reader.

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