Skip to main content
Glama

search_wiki

Search one wiki by full-text query, return pages with highlighted excerpts, and rank title matches first.

Instructions

Full-text search inside ONE wiki, returning matching pages with a highlighted excerpt. A title match outranks a body match, so the page actually about the term comes first. A single word also matches as a prefix — 'custom' finds 'Customark' — while a multi-word query keeps the usual search semantics: "quoted phrase", -excluded, and OR. Matches are marked in the excerpt with the control characters \x01 and \x02 around each hit, not with markup; strip them before showing the text to anyone. wiki_uuid comes from list_wikis, and a wiki that does not exist or that you cannot open is the same 404. To search tickets and wikis together across a whole workspace, use search instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qYes
wiki_uuidYes
Behavior5/5

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

With no annotations, the description takes full responsibility for behavioral disclosure. It reveals non-obvious behaviors: title matches outrank body matches, single-word prefix matching, multi-word query syntax, control-character delimiters in excerpts, and a 404 for missing/inaccessible wikis. This goes far beyond typical descriptions and equips the agent with critical operational knowledge.

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?

Every sentence in this description earns its place. It opens with the primary purpose, then details matching behavior, excerpt formatting, source of the wiki UUID, error behavior, and an alternative tool reference. There is no fluff or repetition; it's information-dense yet still scannable.

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 complexity, lack of annotations, and lack of output schema, the description is remarkably complete. It covers purpose, query syntax, response formatting, error semantics, parameter provenance, and the sibling alternative. The only nominal gap is a detailed return structure, but the description adequately covers the highlighted excerpt behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does. It explains `wiki_uuid` as an identifier from `list_wikis` and gives a rich explanation of `q` semantics: prefix matching for single words, quoted phrases, excluded terms, and OR. This adds substantial meaning beyond the bare schema constraints.

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 opens with a specific verb and resource: 'Full-text search inside ONE wiki, returning matching pages with a highlighted excerpt.' It clearly distinguishes itself from the sibling `search` tool by scoping to a single wiki and later naming the alternative. This is a model of purpose clarity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

The description gives explicit usage context: when to search within a single wiki, and directly states an alternative: 'To search tickets and wikis together across a whole workspace, use `search` instead.' It also mentions that `wiki_uuid` comes from `list_wikis`, providing a prerequisite chain. This clearly guides tool selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Developyn/laver-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server