Skip to main content
Glama

Caper

Search the wiki

search_wiki
Read-onlyIdempotent

Keyword search across the Caper knowledge base: the first call when you know what you are looking for but not where it lives. Matches titles and body prose, ranked in four tiers: titles starting with the term, titles containing it, literal body hits, then English full-text hits by relevance, which stem words and drop stopwords. Not semantic: one distinctive word beats a sentence. A query that finds nothing is retried with its misspelled words corrected, and corrected then names what was searched. Each row carries a path, its size in chars and a snippet windowed on the match. Feed the paths to get_pages in one call rather than looping get_page. Narrow with tagPath when a term is common. Defaults: page 1, pageSize 20 (max 50); keep paging while hasMore is true.

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

Input Schema

NameRequiredDescriptionDefault
pageNo1-based page number (default 1)
queryYesSearch term, matched against page titles and body text
tagPathNoOnly pages at this tag path, e.g. a path from get_categories
pageSizeNoResults per page (default 20, max 50)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: it documents the four-tier ranking order, stemming and stopword behavior, the automatic misspelling retry and the `corrected` field that reports it, the snippet windowing, and the pagination defaults with a `hasMore` loop condition. None of that is recoverable from the annotations or schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and routing advice, and every sentence carries operative information about ranking, correction, or pagination. It is densely packed with several clauses per sentence, which slightly taxes first-pass reading but wastes nothing.

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?

There is no output schema, and the description compensates by naming the returned row fields (`path`, `chars`, snippet windowed on the match) plus `corrected` and `hasMore`. Combined with paging limits and the handoff to get_pages, an agent has everything needed to call and consume results correctly.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description still adds real meaning by explaining how to use pageSize/paging (page 1, size 20, max 50, keep paging while `hasMore`) and when tagPath is worth setting. It does not, however, add match semantics for query beyond what the schema states.

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 the specific verb and resource (keyword search across the Caper knowledge base) and immediately frames the scope with 'the first call when you know what you are looking for but not where it lives.' It also disambiguates from semantic search siblings with 'Not semantic: one distinctive word beats a sentence.'

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?

Gives explicit when-to-use ('the first call when you know what you are looking for'), names concrete alternatives and the reason to prefer them ('Feed the paths to get_pages in one call rather than looping get_page'), and adds a narrowing tactic ('Narrow with tagPath when a term is common').

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.

Resources