Skip to main content
Glama

search_pages

Read-only

Search wiki pages the authenticated user can access using full-text queries, with optional space scoping to narrow results.

Instructions

Full-text search for pages the authenticated user can access. Optionally scope to a space.

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
queryYesSearch text
offsetNoResult offset
verboseNoFull metadata
space_idNoUUID or slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.1
    • addedInput schema / properties / offset / maximum
      Added value: +9007199254740991
  2. Changed3 schema fields changedv1.1.0
    • removedInput schema / properties / limit / description
      Removed value: -"Page size, 1-100"
    • changedInput schema / properties / space_id / description
      Previous value: -"Space UUID or slug"New value: +"UUID or slug"
    • addedInput schema / properties / verbose
      Added value: +{
      +  "description": "Full metadata",
      +  "type": "boolean"
      +}
  3. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds genuinely useful behavioral context by stating that results are limited to pages the authenticated user can access, which tells the agent results may be silently incomplete. It says nothing about result ordering, pagination behavior, or empty-result handling.

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?

Two short sentences, zero filler, with the core purpose front-loaded and the optional scoping caveat second. Nothing could be removed without losing information.

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 5-parameter read-only search tool with no output schema, the description covers purpose, permission scoping, and space narrowing, while limit/offset/verbose are adequately handled by the schema. A brief note on pagination or match semantics would make it fully self-sufficient.

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 description coverage is 80%, so the schema already documents query, space_id, offset, and verbose; baseline is 3. The description adds only that space_id is an optional scoping mechanism, without clarifying matching semantics (substring vs token, case sensitivity) that the schema also omits.

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 verb and resource ('Full-text search for pages') plus a scope qualifier ('pages the authenticated user can access'), which is materially more informative than the bare name. It does not name a sibling such as list_pages or search_suggest, so differentiation relies on the agent inferring that full-text matching differs from listing.

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

Usage Guidelines3/5

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

Usage is implied: an agent can infer this is the tool for keyword queries over page content, and 'Optionally scope to a space' signals the narrowing case. However, there is no explicit statement of when to prefer this over search_suggest or list_pages, and no exclusions or prerequisites are given.

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