Skip to main content
Glama

search_pages

Search PukiWiki pages by keywords and return the names of matching pages; choose whether all keywords must match (AND) or any keyword can match (OR).

Instructions

Full-text search. Returns the names of matching pages.

and_search=True requires all keywords (AND); False matches any (OR).

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_pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
and_searchNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses that only page names are returned (not bodies) and that and_search toggles AND vs OR matching, but it omits case sensitivity, result limits or truncation, ranking or ordering, and whether empty results are possible.

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?

Three short sentences with zero filler, and the core purpose and return shape are front-loaded. The ``and_search=True`` inline formatting is slightly awkward, but the size is well matched to the two-parameter tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With only two parameters and no output schema or annotations, the definition covers return values and the boolean flag, so an agent can invoke it. However, the required query parameter has no semantic detail anywhere in the structured data, leaving a material gap for a required input.

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

Parameters2/5

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

Schema description coverage is 0%, so both parameters depend on the description. The and_search semantics are fully explained, which is genuinely valuable, but the required query parameter is never characterized: no syntax, no phrase or regex behavior, and no indication of which fields or whether titles are matched.

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?

States a specific operation, 'Full-text search', and clarifies the return value: 'Returns the names of matching pages.' This is clear enough to distinguish from a read_page or list_pages tool, but no sibling is named or contrasted explicitly, so it stops 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 Guidelines2/5

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

There is no when-to-use guidance: nothing says to prefer this over list_pages when browsing, or over read_page when fetching content. Usage is only implied by the phrase 'full-text search', with no exclusions or alternatives named.

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