Skip to main content
Glama

confluence_attachment_upload

Upload a local file as an attachment to a Confluence page with optional filename, comment, and minor edit settings.

Instructions

Upload a local file as an attachment to a Confluence page. file_path is a path on the MCP server's filesystem (the file is streamed from disk, never fully buffered). Optional filename overrides the stored name; comment is recorded as a version note; minor_edit (default false) marks the upload as minor. Returns YAML describing the new attachment. Mirrors omni-dev atlassian confluence attachment upload.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commentNoOptional version comment recorded with the upload.
file_pathYesLocal filesystem path to the file to upload. Streamed from disk (never fully buffered in memory).
filenameNoOverride the filename used in Confluence (defaults to the local basename).
minor_editNoMarks the upload as a minor edit. Defaults to false.
page_idYesConfluence page ID to attach the file to.
Behavior4/5

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

No annotations exist, so the description carries full burden. It discloses key behavioral traits: file is streamed from disk (never fully buffered), optional filename and comment behavior, minor_edit flag, and return format (YAML). This adds value beyond the schema but could mention required write permissions.

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 concise: three sentences that front-load the core purpose, followed by parameter clarifications and a reference to a CLI mirror. Every sentence adds value; 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?

With 5 parameters, 100% schema coverage, and no output schema, the description covers the main aspects: action, file path streaming, parameter overrides, return type, and a CLI mirror reference. Minor gaps: no error handling or permission requirements, but overall adequate.

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 baseline is 3. The description mostly echoes schema details (e.g., 'file_path is a path on the MCP server's filesystem'), adding minimal extra meaning. It does clarify that filename overrides the stored name and comment is a version note, but these are already in the schema.

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 action: 'Upload a local file as an attachment to a Confluence page.' It uses a specific verb ('Upload') and resource ('Confluence page'), and distinguishes itself from sibling tools such as confluence_attachment_delete and confluence_attachment_list.

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?

The description implies usage (upload an attachment) but lacks explicit guidance on when to use it versus alternatives, such as when to use confluence_download or confluence_write. There is no mention of prerequisites or when not to use this tool.

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/rust-works/omni-dev'

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