Skip to main content
Glama

attach_task_file

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

TableJSON 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.6/5.0
Behavior5/5

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

Beyond the annotations, the description discloses allowed extensions, file size cap, per-task file count, timing restrictions, and filename override behavior. This is meaningful behavioral context that annotations do not provide, and there is no contradiction with the annotation hints.

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 front-loaded with purpose and examples, then packs constraints into compact, dense sentences. Every clause adds useful information, and there is no filler or repetition of annotation data.

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 covers operational constraints thoroughly and gives enough detail for an agent to invoke the tool correctly. It omits explicit return/error behavior and auth prerequisites, but the input semantics and lifecycle rules are well specified, so the remaining gap is minor.

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 coverage is 100% and each parameter already has a description, so the baseline is 3. The description adds value by explaining that filename overrides the worker-facing name and by attaching file-level constraints (extensions, size caps) that make file_path's role clearer.

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 names a specific action ('Attach a working file from local disk to an owned task'), gives concrete examples (STL/STEP, PDF, image), and clearly scopes the resource. It is easily distinguishable from siblings like list_task_attachments and update_task.

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 gives clear context for when attaching is allowed and its lifecycle constraints (uploads allowed until proof is submitted, deletion before acceptance). It does not explicitly name alternative tools or when not to use this one, but the context is strong enough for an agent to infer appropriate use.

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.