Skip to main content
Glama

Get Page

confluence_get_page
Read-only

Retrieve a Confluence page's content by page ID or by exact title and space key, with optional metadata 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.

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

Input Schema

NameRequiredDescriptionDefault
titleNoThe exact title of the Confluence page. Use this with 'space_key' if 'page_id' is not known.
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.
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

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Consistent with readOnlyHint=true. The description adds one genuinely behavioral note — that an error is returned if the page is not found or parameters are invalid — but otherwise restates the schema's Args and Returns, without detail on permissions, content size limits, or truncation behavior for large pages.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded purpose sentence is good, but the Args block duplicates the schema's descriptions nearly verbatim, and the Returns line adds little given an output schema exists. Roughly half the text is redundant with structured fields.

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?

With readOnlyHint, full schema coverage, and an output schema present, the definition covers the essentials an agent needs: lookup modes, precedence, error behavior, and output format. Only minor gaps remain, such as behavior on very large pages or content the caller may not have access to.

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 the schema already documents every parameter thoroughly, including the page_id URL example and the token-cost caution for raw HTML. The description's Args section only restates these, adding no meaning beyond the schema; baseline 3 applies.

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 ('Get content of a specific Confluence page') with the two lookup modes (ID, or title+space key). It is clearly distinct from siblings like confluence_get_page_children or confluence_get_comments by virtue of returning a single page's content, 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?

Gives solid guidance on selecting between the two lookup paths ('If provided, title and space_key are ignored'; 'Must be used with space_key'). However, it offers no guidance on when to use this versus confluence_search to find a page or versus sibling retrieval tools, leaving the discovery workflow to inference.

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