Skip to main content
Glama

Get Page

confluence_get_page
Read-only

Retrieve Confluence page content by ID or title and space key, with options for metadata inclusion and markdown conversion.

Instructions

Get content of a specific Confluence page by its ID, or by its title and space key.

Args: ctx: The FastMCP context. page_id: Confluence page ID. If provided, 'title' and 'space_key' are ignored. title: The exact title of the page. Must be used with 'space_key'. space_key: The key of the space. Must be used with 'title'. include_metadata: Whether to include page metadata. convert_to_markdown: Convert content to markdown (true) or keep raw HTML (false).

Returns: JSON string representing the page content and/or metadata, or an error if not found or parameters are invalid.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_idNoConfluence page ID (numeric ID, can be found in the page URL). For example, in the URL 'https://example.atlassian.net/wiki/spaces/TEAM/pages/123456789/Page+Title', the page ID is '123456789'. Provide this OR both 'title' and 'space_key'. If page_id is provided, title and space_key will be ignored.
titleNoThe exact title of the Confluence page. Use this with 'space_key' if 'page_id' is not known.
space_keyNoThe key of the Confluence space where the page resides (e.g., 'DEV', 'TEAM'). Required if using 'title'.
include_metadataNoWhether to include page metadata such as creation date, last update, version, and labels.
convert_to_markdownNoWhether to convert page to markdown (true) or keep it in raw HTML format (false). Raw HTML can reveal macros (like dates) not visible in markdown, but CAUTION: using HTML significantly increases token usage in AI responses.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint=true, indicating a safe read operation. The description adds valuable behavioral context beyond this: it specifies that the tool returns JSON with content/metadata or an error if not found, warns about token usage with HTML content, and notes that raw HTML can reveal macros. This enhances transparency without contradicting annotations.

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?

The description is well-structured with clear sections (purpose, Args, Returns) and uses efficient sentences. However, the 'Args' section slightly repeats schema information, and the warning about token usage, while useful, could be more integrated. Overall, it is front-loaded and mostly concise.

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?

Given the tool's complexity (5 parameters, 100% schema coverage, annotations, and an output schema), the description is complete. It covers purpose, parameter usage, behavioral notes (e.g., error handling, token warnings), and return values, providing sufficient context without needing to explain output details due to the output schema.

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%, with detailed parameter documentation in the input schema. The description adds minimal value beyond the schema, only briefly summarizing parameters in the 'Args' section without providing additional syntax or format details. This meets the baseline of 3 for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Get content of a specific Confluence page by its ID, or by its title and space key.' It specifies the exact resource (Confluence page) and two distinct methods for retrieval, distinguishing it from siblings like 'confluence_search' (which searches) or 'confluence_get_page_children' (which gets child pages).

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?

The description provides clear usage context: it explains when to use 'page_id' versus 'title' and 'space_key', and mentions that parameters are ignored if 'page_id' is provided. However, it does not explicitly state when to use this tool versus alternatives like 'confluence_search' for broader queries or 'confluence_get_page_history' for version data, leaving some sibling differentiation implicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/GeiserX/atlassian-browser-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server