Skip to main content
Glama
Vijay-Duke
by Vijay-Duke

download_confluence_attachment

Download any Confluence attachment by ID and receive its content as a base64-encoded string, allowing direct access to files attached to a page.

Instructions

Downloads a specific Confluence attachment and returns its content as a base64-encoded string. This is useful for reading the content of files attached to a page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionNoThe version number of the attachment to download. If not specified, the latest version is downloaded.
attachmentIdYesThe unique identifier of the attachment to download.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of disclosing behavior. It reveals that the return value is a base64-encoded string rather than raw binary data, which is important. It does not mention error behavior, permission requirements, or size limits, but the core behavior is clearly disclosed.

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 sentences with the action and output format stated upfront. There is no filler, repetition, or extraneous detail.

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 straightforward two-parameter download tool, the description covers what it does, why it is useful, and what it returns. It does not explain how to obtain the attachmentId, but the schema and sibling list tools cover that, so this is a minor gap.

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 attachmentId and version thoroughly. The description adds no parameter-specific meaning, so the baseline score of 3 is appropriate.

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?

Clearly states a specific verb ('Downloads'), a specific resource ('specific Confluence attachment'), and the output format ('base64-encoded string'). This distinguishes it from sibling tools like list_attachments_on_page or upload_confluence_attachment, which handle listing metadata and uploading, respectively.

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 phrase 'This is useful for reading the content of files attached to a page' gives a clear intended use case. However, it does not explicitly mention alternative tools or state when not to use this tool, so it falls short of the fullest guidance.

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