Skip to main content
Glama

search_confluence_pages

Search Confluence pages locally via full-text search or remotely via CQL; pass explicit CQL for custom field expressions.

Instructions

Search Confluence pages locally (FTS5) or remotely via CQL. For custom field expressions (e.g. customMeta = "value"), pass cql explicitly.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_confluence_pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
cqlNoExplicit raw CQL expression (e.g. `space = ENG AND title ~ "Spec"`). Takes precedence over query.
siteNoOptional target Atlassian site ID, name, or URL.
limitNo
queryNoPlain text search query (or compatible standard-field CQL expression).
remoteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It hints at a meaningful behavioral split (local FTS5 index vs remote CQL call) but says nothing about index freshness or the need to sync, authentication or site requirements, result ordering, or pagination. For a search tool with two execution paths, that leaves the agent guessing about correctness of results.

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?

Two short sentences with the mode distinction front-loaded and no filler wording. It is efficient, though the brevity comes at the cost of the missing behavioral detail noted elsewhere.

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 five parameters, no annotations, and no output schema, the description should explain the local-index-versus-remote trade-off and what results look like. It covers the CQL escape hatch but leaves freshness, sync prerequisites, and result volume unaddressed.

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 60%, and the description adds real meaning for `cql` by stating it takes precedence over `query` and by naming the custom-field use case. The `remote`, `limit`, and `site` parameters get no explanation beyond what the schema already provides, and the local/remote switch is only loosely tied to the parameters.

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 ("Search Confluence pages") and makes the key architectural distinction between a local FTS5 index and remote CQL execution, which an agent can act on. It does not differentiate itself from nearby siblings such as search_all or list_space_pages, so a 4 rather than 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 Guidelines3/5

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

Gives one explicit rule: use `cql` when the query involves custom field expressions like `customMeta = "value"`. It never says when to set `remote=true` versus relying on the local index, and gives no guidance on choosing this tool over the other search/list tools, so usage is only partially implied.

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