Skip to main content
Glama

Get Attachment

get_attachment
Read-only

Retrieve a Confluence attachment by its ID, with optional version number to fetch a specific version.

Instructions

Get an attachment by ID.

Args:
    attachment_id: Attachment ID.
    version: Specific version number.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionNo
attachment_idYes
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is known. The description adds minimal behavioral context—only mentioning the version parameter without explaining behavior like default handling or not-found cases. This falls short of richer context but is not misleading.

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 short, front-loaded with the core purpose, and structured with an Args list. Every sentence is informative with no wasted words.

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?

Given the tool's simplicity (2 params, no output schema) and strong annotations, the description is largely sufficient. It doesn't explain return values, but for a get-by-ID tool, that may be implied. The optional version behavior could be more explicit, but overall it provides adequate context.

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 0%, but the description includes an Args section that explains attachment_id and version. These explanations are terse but add some meaning beyond the schema's bare property names and types. It partially compensates for the lack of 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 gets an attachment by ID, using a specific verb and resource. It distinguishes itself from sibling tools like list_page_attachments (listing) and delete_attachment (destructive).

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 makes clear this is for retrieving a single attachment by ID, providing clear context. It doesn't explicitly mention when not to use it or alternatives, but for a simple get operation, the usage is unambiguous.

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/pascalhubacher/confluence'

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