Skip to main content
Glama

Search documents

search_documents

Search Outline wiki documents by keyword to get matching titles, URLs, and context snippets. Use returned ids to read full document bodies.

Instructions

Full-text search across Outline documents. Returns id, title, url and a short context snippet per hit. Does NOT return document bodies — call get_document with an id to read one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results
queryYesSearch terms
offsetNoPagination offset
collectionIdNoRestrict results to one collection

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.4

TDQS

A4/5.0
Behavior4/5

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

With no annotations to carry the burden, the description steps up by disclosing exactly what each hit contains (id, title, url, snippet) and what it deliberately omits (document bodies). It says nothing about permission requirements, result caps, or empty-result behavior, keeping it below a 5.

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 sentences, zero filler, and the return-shape constraint is front-loaded before the routing hint to get_document.

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?

No output schema exists, so the description must describe returns — and it does, listing the per-hit fields and the missing body. It leaves pagination semantics (offset/limit interplay) unaddressed, a minor gap for a search tool of this size.

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 query, limit, offset and collectionId are already documented in structured form; the description adds nothing about them. Baseline 3 applies when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and resource ('Full-text search across Outline documents') plus the shape of the hits, which clearly separates it from list_documents. It does not explicitly name the sibling it is not (list_documents), so it falls just short of a 5.

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?

Provides a clear follow-up path: hit ids are meant to be fed to get_document, and it explicitly rules out reading bodies here. It offers no guidance on when to prefer search_documents over list_documents, so it lacks the exclusion half of a 5.

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