Skip to main content
Glama

get_page

Retrieve a Confluence page by its ID, returning the body in markdown, storage, or view format. Optionally save the content to a file and download images for offline use.

Instructions

Get a Confluence page by ID.

Args: page_id: The numeric page ID. include_body: Whether to include page content (default: True). body_format: Return body as "markdown", "storage", or "view" (default: markdown). output_file: If provided, write the page body to this file path instead of returning it in the response. Keeps the LLM context clean. include_images: If True and output_file is set, download images and rewrite URLs to local paths. images_dir: Directory to save images to. Defaults to pictures/ next to the output file. Set this to control where images land.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_idYes
images_dirNo
body_formatNomarkdown
output_fileNo
include_bodyNo
include_imagesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It discloses side effects such as writing the body to a file via output_file, downloading and rewriting images with include_images, and the images_dir default. It does not explicitly state that the page is not modified or cover error cases, but the key non-obvious behaviors are covered.

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?

The description is a well-structured docstring: a one-sentence purpose followed by a clean Args list. Every line adds value, with no redundancy or filler. It is front-loaded with the primary action.

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?

The description covers all six parameters and their side effects, and the output schema handles return values. It lacks explicit guidance on when to use this tool vs. alternatives and does not state that it is a non-mutating read operation, but these are minor given the parameter detail and output schema.

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

Parameters5/5

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

Schema description coverage is 0%, so the description fully compensates. It explains every parameter: page_id as numeric, include_body default, body_format options, output_file behavior, include_images conditionality, and images_dir default. This adds far more meaning than the bare schema properties.

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 'Get a Confluence page by ID,' which is a specific verb plus resource. It differentiates from siblings like search_pages (search by query) and get_page_sections (list sections) by focusing on fetching a single full page by its unique ID.

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 context is implied rather than explicit. The description does not mention when to prefer this over search_pages or get_page_tree, nor any exclusions or alternatives. It provides parameter-level guidance (e.g., use output_file to keep LLM context clean) but no direct comparison to sibling tools.

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/1vecera/confluence-mcp'

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