Skip to main content
Glama

attach_task_file

Destructive

Attach a working file from local disk to an owned task -- e.g. the STL/STEP model for a 3D-printing task, a spec PDF, or a reference image. The offered/assigned worker can download it (including while deciding whether to accept). Allowed extensions: stl, step, stp, obj, 3mf, gcode, pdf, txt, csv, png, jpg, jpeg, webp -- no archives or executables. Caps: 25 MB per file, 10 files per task; uploads are allowed until proof is submitted, deletion only before a worker accepts. filename overrides the name shown to the worker (defaults to the file's own name).

Input Schema

NameRequiredDescriptionDefault
task_idYesThe owned task to attach the file to.
filenameNoOptional name to show the worker instead of the basename of file_path.
file_pathYesPath to the file on the machine running this server -- not a URL, and not a path on the worker's device.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / file_path / description
      Added value: +"Path to the file on the machine running this server -- not a URL, and not a path on the worker's device."
    • addedInput schema / properties / filename / description
      Added value: +"Optional name to show the worker instead of the basename of file_path."
    • addedInput schema / properties / task_id / description
      Added value: +"The owned task to attach the file to."
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations, which only declare destructiveHint=true and non-idempotent. The description adds an explicit extension allow-list, hard caps (25 MB/file, 10 files/task), and time-based rules for upload and deletion, which an agent needs to avoid rejected calls.

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?

Front-loaded with the verb and resource, followed by examples, then constraints. Despite its length, every clause (extensions, caps, timing, filename override) carries actionable information with 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 mutation/upload tool with no output schema, it covers the critical unknowns an agent faces: what is accepted, size/count limits, and the window during which uploads and deletions are valid. Nothing essential is missing.

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 the schema already documents all three parameters. The description only lightly reinforces filename's override behavior, which the schema already states. Baseline 3 is appropriate.

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?

States a specific verb and resource ('attach a working file from local disk to an owned task') and backs it with concrete examples (STL/STEP model, spec PDF, reference image). It clearly distinguishes itself from the sibling list_task_attachments by being the write side of attachments.

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?

Gives clear usage context: the worker can download the file, including while deciding whether to accept the task. It also states the operational window (uploads allowed until proof is submitted). It does not explicitly name an alternative tool or state when not to use this one, so it falls short of a 5.

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.