Skip to main content
Glama

Search pages

search_pages
Read-only

Search wiki page titles and text by prefix across visible spaces and return one-line matches with title, space, page ID, update time, and snippet. Use get_page for full content.

Instructions

Search page titles and text (prefix match) in the spaces you can see, newest first. One line per hit: title · space · page id · updated · plain-text snippet. Use get_page for the whole page.

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
limitNo
queryYes
space_keyNoSpace key, e.g. ENG (uppercase letters and digits; see list_spaces).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Beyond readOnlyHint=true and openWorldHint=false, the description discloses matching semantics (prefix match on titles and text), result ordering (newest first), permission-scoped visibility ('spaces you can see'), and the shape of each hit. It omits pagination/limit behavior and whether the result set is truncated, which matters for a search tool.

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?

Three short sentences: purpose and scope first, result format second, sibling pointer last. Every sentence carries distinct information with no filler.

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?

For a read-only search with no output schema, the description covers purpose, matching behavior, ordering, visibility scope, and a concrete per-hit field list, which is most of what an agent needs. The remaining gap is result-set size / limit semantics, a minor omission given the schema's explicit default and maximum.

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 coverage is 33%, with only space_key documented in the schema (and further clarified by the 'spaces you can see' phrasing plus list_spaces pointer implied). The description adds real meaning for query by stating prefix-match semantics, but says nothing about limit or how it interacts with the newest-first ordering, leaving one of three parameters without guidance beyond its numeric 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?

States a specific verb+resource (search page titles and text), the matching mode (prefix match), the scope (spaces you can see) and the ordering (newest first), and explicitly contrasts with get_page for full content. An agent can distinguish this from get_page without opening any schema.

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?

Names get_page as the alternative with the condition that selects it ('for the whole page'), so the find-vs-fetch decision is explicit. It does not address when to prefer recent_pages or list_spaces, so the routing guidance is clear but not exhaustive.

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