Skip to main content
Glama

list_confluence_spaces

Lists accessible Confluence spaces from a local cache or refreshes them from the API; use cursor pagination to browse results.

Instructions

List accessible Confluence spaces from cache or refresh from Confluence API. Returns limit items from the cache; pass next_cursor as cursor to continue, and refresh: true to reload the full catalog. refresh: true re-downloads the full catalog (one request per page of results; hundreds of spaces means several requests and seconds of latency). Default reads the local cache with no network call; only an empty cache is fetched.

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

Input Schema

NameRequiredDescriptionDefault
siteNoOptional target Atlassian site ID, name, or URL.
limitNo
cursorNoOffset from next_cursor.
refreshNoRe-download the full catalog, one request per page of results. Default false reads the local cache.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses cache-first behavior, that refresh issues one request per page of results, and that hundreds of spaces means several requests and seconds of latency. It omits permission/access-scope requirements and what a 'space' record contains, leaving those gaps.

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 sentences, front-loaded with purpose then pagination then refresh cost. Slight redundancy: refresh: true is explained twice ('reload the full catalog' then 're-downloads the full catalog'), which could be merged 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?

All four parameters are optional and none is undocumented in the schema, and the description covers the two behaviors an agent could get wrong: cache vs network, and pagination. Without an output schema, it should ideally say what next_cursor looks like and what fields a space carries, but for a list tool this is close to complete.

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 75%, so the baseline is 3; the description earns an extra point by explaining the cursor parameter's provenance ('pass next_cursor as cursor to continue') and by quantifying the cost of refresh beyond the schema's own wording. site is never mentioned in the description, and limit only lightly ('Returns limit items from the cache').

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: 'List accessible Confluence spaces from cache or refresh from Confluence API'. An agent can immediately tell this is a space-catalog lister, distinct from page-level siblings like list_space_pages. It stops short of naming an alternative tool to route away from, 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 Guidelines4/5

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

Gives explicit when-to-use guidance for the two modes: 'Default reads the local cache with no network call; only an empty cache is fetched' versus 'pass ... refresh: true to reload the full catalog'. It also explains continuation via next_cursor. No sibling alternative is named, so no explicit when-not guidance.

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