Skip to main content
Glama

task_create_attachment_upload

Get a single-use link to attach one file to a task, then upload it from a shell with curl. Prefer this whenever you can run commands (Claude Code, Codex, Cursor): the file never enters your context. Attach screenshots or files the user shares to the task they relate to. The link works once and expires in 10 minutes. Same rules as the app: JPG, PNG, WebP, PDF, TXT or CSV, up to 2 MB, 10 files per task. Without a shell, use task_add_attachment.

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": {
      "projectId": "<projectId>",
      "taskId": "<taskId>",
      "context": "<context>"
    },
    "name": "task_create_attachment_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYesThe task ID or number (FB-360 or 360)
contextYesExplain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization."
projectIdYesThe project ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

The annotations only mark this as non-read-only, not destructive, not idempotent, and not open-world. Beyond that, the description discloses the properties that actually matter here: the link works once, it expires in 10 minutes, and the file never enters your context, which is the main reason to use this tool. It also spells out the constraints enforced by the app on acceptable file types and limits (JPG/PNG/WebP/PDF/TXT/CSV, 2 MB, 10 files per task).

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 description is four sentences long and front-loads the key fact: this tool produces an upload link. It could be slightly tighter: the environment list in parentheses interrupts the main instruction. Each sentence does contribute, though, and there is no filler.

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

Completeness5/5

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

For a tool with three parameters and no output schema, this description covers everything an agent needs before calling: the purpose of the returned link, its single-use and 10-minute expiry behavior, size, type and count limits, and the shell alternative. Nothing essential is missing for correct invocation.

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 schema description coverage is 100%, so taskId, projectId, and context are already fully documented. The description only implies that each call handles one file and adds no syntax or format details about the parameters beyond the schema. Therefore, the baseline score of 3 is correct.

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 uses a specific verb and resource combination: it obtains a single-use link to attach a file to a task, and it states that the upload then happens from a shell using curl. It also clearly distinguishes this tool from the sibling tool task_add_attachment by its shell-based flow, so an agent can tell the two apart without opening either schema.

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

Usage Guidelines5/5

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

The description explicitly recommends this tool whenever the caller can run commands, names the agent environments in which that applies (Claude Code, Codex, Cursor), and states the fallback: 'Without a shell, use task_add_attachment.' It covers both when to use this tool and which alternative to use when the conditions do not apply.

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.

Resources