Skip to main content
Glama

atlassian-mcp__confluence_get_attachment

Read-only

Get metadata for a specific attachment on a Confluence page by filename.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "page_id": "<page_id>",
      "filename": "<filename>"
    },
    "name": "atlassian-mcp__confluence_get_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountNoOptional email address of the connected account to use (e.g. 'user@gmail.com'). If omitted, the default account is used.
page_idYesThe ID of the page the attachment belongs to.
filenameYesExact filename of the attachment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes this is a safe read, so the description's main added value is the word 'metadata', signaling it returns descriptive fields rather than file bytes. It says nothing about required permissions, what happens when the filename does not match, or whether matching is case-sensitive.

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?

A single sentence with the action, the resource, and the scoping key front-loaded. Nothing is redundant or padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple and its parameters and safety profile are well covered by the schema and annotations, but with no output schema the description should say at least roughly what metadata is returned or clarify that it does not retrieve the file content. That gap is small but real for an agent deciding whether this call suffices.

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 all three parameters (account, page_id, filename) are already documented in the schema. The phrase 'by filename' and 'on a Confluence page' reinforce that filename is scoped to page_id but add no syntax or matching-rule detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb plus resource ('Get metadata for a specific attachment') and names the lookup key ('by filename'), which clearly separates it from the Jira attachment sibling. It does not, however, explicitly differentiate itself from Confluence page-level siblings like confluence_get_page.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to use this tool versus alternatives — nothing says whether to call it before a download, or how it relates to a file_download_link tool. Usage can only be inferred from the name and description.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.