Skip to main content
Glama
atlassian-mcp-server
by dongood

atlassian_search_confluence_cql

Search Confluence pages using CQL to find content by title, type, and other criteria, with offset and token limits for paging large result sets.

Instructions

Search Confluence pages using CQL (Confluence Query Language). CQL is similar to JQL but for Confluence. Use offset/maxTokens for large result sets.

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": {
      "cql": "<cql>"
    },
    "name": "atlassian_search_confluence_cql"
  }
}

Input Schema

NameRequiredDescriptionDefault
cqlYesCQL query string (e.g., 'title ~ "meeting" AND type = page')
limitNoMaximum number of results (default: 25)
offsetNoCharacter offset for pagination (use nextOffset from truncated response). Default: 0
maxTokensNoMaximum tokens to return. Default: 20000

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It discloses result-volume behavior (large result sets, token caps) and points at truncated-response pagination, but says nothing about permission scoping, whether results respect the caller's Confluence access, or how matches are ranked/ordered.

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, front-loaded with the core purpose. The JQL analogy earns its place as a mental model, though the pagination sentence is thin given the schema already spells out nextOffset.

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?

With no output schema, the description still conveys the essential return-behavior facts an agent needs: volume is bounded by maxTokens and results can be truncated with a nextOffset to resume from.

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 100%, so all four parameters including the CQL example and offset/maxTokens semantics are already documented in structured data. The description adds only the general advice to use offset/maxTokens together, not new per-parameter meaning — baseline 3.

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") plus the query mechanism (CQL). An agent can distinguish it from structural siblings like atlassian_get_space_pages or atlassian_get_page_children, though no sibling is named explicitly.

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?

Provides a pagination hint ("Use offset/maxTokens for large result sets") and an analogy (CQL is like JQL), which is implied guidance, but never says when to prefer this over atlassian_get_space_pages or atlassian_get_page_children for enumerating content.

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