Skip to main content
Glama

Search Confluence

confluence_search
Read-only

Search Confluence pages using CQL queries and return page IDs, titles, spaces, and excerpts to locate relevant documentation quickly.

Instructions

Search Confluence with CQL, e.g. 'type = page AND text ~ "onboarding"'. Returns page id, title, space and an excerpt.

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": "confluence_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
cqlYesCQL query
limitNoHow many results to return

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds value by naming the returned fields (page id, title, space, excerpt), which matters because there is no output schema, but it says nothing about result ordering, pagination, CQL error behavior, or permission requirements for searching spaces.

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 with zero padding, front-loading the operation and mechanism before the return shape. Nothing is redundant with the schema or restates the title.

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 two-parameter read-only search with no output schema, the description covers the mechanism, an example, and the return fields, which is enough to call it correctly. Minor omissions are how 'limit' interacts with ranking and what happens on an invalid CQL string.

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

Parameters4/5

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

Schema coverage is 100%, so both parameters are already documented, making 3 the baseline. The description earns an extra point by supplying a worked CQL expression ('type = page AND text ~ "onboarding"'), which conveys the actual query syntax and operators that the schema's terse 'CQL query' label does not.

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?

Names a specific verb and resource ('Search Confluence') and pins the mechanism to CQL with a concrete query example, so the agent knows exactly what operation this performs. It does not, however, distinguish itself from siblings such as confluence_get_page, leaving the agent to infer that this is the discovery path while get_page is the retrieval path.

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 only implied: the CQL example and the fact that results include 'page id' hint that this is for finding pages whose IDs you then feed elsewhere. There is no explicit statement of when to prefer this over confluence_get_page or jira_search_issues, 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.