Skip to main content
Glama

Search the wiki

search_wiki
Read-onlyIdempotent

Keyword search across the AcuiQ reference wiki: 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. Changed4 schema fields changed
    • removedInput schema / properties / page / maximum
      Removed value: -1000
    • changedInput schema / properties / pageSize / description
      Previous value: -"Results per page (default 10, max 50)"New value: +"Results per page (default 20, max 50)"
    • changedInput schema / properties / query / description
      Previous value: -"A keyword, phrase or question (e.g. \"cupping\", \"is acupuncture safe in pregnancy\")"New value: +"Search term, matched against page titles and body text"
    • addedInput schema / properties / tagPath
      Added value: +{
      +  "description": "Only pages at this tag path, e.g. a path from get_categories",
      +  "type": "string"
      +}
  2. Changed4 schema fields changed
    • addedInput schema / properties / page / maximum
      Added value: +1000
    • addedInput schema / properties / page / minimum
      Added value: +1
    • addedInput schema / properties / pageSize / maximum
      Added value: +50
    • addedInput schema / properties / pageSize / minimum
      Added value: +1
  3. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only cover the read-only/idempotent/closed-world safety profile; the description goes well beyond by disclosing the four-tier ranking order, stemming and stopword handling, the automatic spell-correction retry with the `corrected` echo, the row shape (path, chars, snippet windowed on the match), and pagination semantics via `hasMore`. That is exactly the behavioral context annotations cannot convey.

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?

Front-loaded with the purpose, then ranking behavior, then output shape, then the follow-up action. Despite covering a lot, every sentence carries a decision-relevant fact and there is no filler or restated title.

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 describing the row fields and the `hasMore` paging signal. For a 4-parameter search tool, the combination of ranking rules, failure-mode behavior, and hand-off guidance leaves nothing an agent needs missing.

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 adds real meaning by explaining what `query` is matched against in behavioral terms, when `tagPath` is worth using, and how `page`/`pageSize` interact through `hasMore`. The repeated defaults (page 1, pageSize 20, max 50) duplicate the schema and earn no credit, keeping it below 5.

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 ("Keyword search across the AcuiQ reference wiki") and scopes it as title+body keyword matching, which separates it from a single-page fetch. The phrase "the first call when you know what you are looking for but not where it lives" pins down its role versus the get_page/get_pages retrieval tools it hands off to.

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 (entry point when the location is unknown), an exclusion ("Not semantic: one distinctive word beats a sentence"), a narrowing rule ("Narrow with tagPath when a term is common"), and a workflow directive ("Feed the paths to get_pages in one call rather than looping get_page"). These are concrete routing instructions an agent can act on without inference.

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