Skip to main content
Glama

Upload Multiple Attachments

confluence_upload_attachments
Destructive

Upload multiple attachments to Confluence pages or blog posts in one operation, automatically versioning existing files. Ideal for bulk uploading documentation assets.

Instructions

Upload multiple attachments to Confluence content in a single operation.

More efficient than calling upload_attachment multiple times. If files with the same names exist, new versions are created automatically.

Useful for:

  • Bulk uploading documentation assets (diagrams, screenshots, etc.)

  • Adding multiple related files to a page at once

  • Batch updating existing attachments with new versions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commentNo(Optional) Comment for all uploaded attachments. Visible in version history. Example: 'Q4 2024 batch upload'
content_idYesThe ID of the Confluence content (page or blog post) to attach files to. Example: '123456789'. If uploading multiple files with the same names, new versions will be created automatically.
file_pathsYesComma-separated list of file paths to upload. Can be absolute or relative paths. Examples: './file1.pdf,./file2.png' or 'C:\docs\report.docx,D:\image.jpg'. All files uploaded with same comment/minor_edit settings.
minor_editNo(Optional) Whether this is a minor edit. If true, watchers are not notified. Default is false.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

The description discloses important behavioral details beyond the destructiveHint annotation, such as automatic version creation when files with the same names exist and the fact that all files share the same comment/minor_edit settings. This adds useful context for the agent, though it doesn't address potential failures or permission requirements.

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 well-structured and efficient: a single sentence states the main action, a second addresses efficiency and versioning behavior, and a concise bulleted list provides use cases. No unnecessary words or repetition.

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, combined with the rich schema, destructiveHint annotation, and presence of an output schema, gives the agent sufficient context to invoke the tool safely and correctly. It could have included permission requirements or edge-case failure behavior, but for a batch upload tool, the provided context is complete enough.

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?

The input schema covers all parameters with detailed descriptions, examples, and defaults (100% coverage). The tool description does not add parameter semantics beyond what the schema already provides, so it meets the baseline for schema-covered parameters.

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 purpose: 'Upload multiple attachments to Confluence content in a single operation.' It specifies the verb, resource, and scope, and distinguishes itself from the sibling tool 'confluence_upload_attachment' by noting it is more efficient than calling that tool multiple times.

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 explicitly mentions an alternative ('More efficient than calling upload_attachment multiple times') and provides a 'Useful for' list with concrete scenarios. However, it does not explicitly state when to use the singular 'upload_attachment' instead, so it stops short of full when/when-not guidance.

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/hieptran87/atlassian-mcp-server'

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