Skip to main content
Glama

add_attachment

Upload a file from an absolute path as an attachment to a ClickUp task, with an optional filename override.

Instructions

Upload a file attachment to a task.

Args: task_id: The task ID. file_path: Absolute path to the file to upload. filename: Optional override for the uploaded 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": {
      "task_id": "<task_id>",
      "file_path": "<file_path>"
    },
    "name": "add_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYes
filenameNo
file_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden and does not meet it. It never says whether uploads require write permissions, how existing attachments of the same name are handled (overwrite vs. duplicate), what file types or size limits apply, or what the call returns on success or failure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose sentence is front-loaded and the Args block is a compact, scannable enumeration of all three parameters. No filler sentences; the only mild redundancy is re-stating parameter names that the schema already lists.

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?

For a 3-parameter write tool with no annotations and no output schema, the description covers the inputs adequately but leaves behavioral questions open: preconditions, failure modes, and the shape of the response are all unstated. It is minimally sufficient to invoke but not to invoke confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does: it identifies task_id as the target task, file_path as an absolute path (a constraint the schema does not encode), and filename as an optional override for the uploaded name. This adds genuine meaning beyond the bare string types in 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?

States a specific verb (upload) and resource (file attachment) plus the target entity (a task), so an agent can immediately tell this is a write operation attaching a file to an existing task. It does not distinguish itself from siblings like get_attachments, but the verb makes the read/write split obvious.

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?

No guidance on when to use this tool versus alternatives, no prerequisites (e.g., the task must already exist), and no mention of how it relates to get_attachments or any other attachment-related sibling. The agent must infer all of this.

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