Skip to main content
Glama

download-all-attachments

Downloads all attachments from a Dooray task to a local directory, with options to overwrite existing files and returns a summary of succeeded and failed downloads.

Instructions

Download every file attached to a Dooray task into a local directory (첨부 일괄 다운로드).

Files are saved with their original names. Existing files are not overwritten unless overwrite is true. If some files fail, the others are still downloaded and the result lists both succeeded and failed files.

Examples:

  • {"projectId": "123", "taskId": "456", "saveDir": "/tmp/task-456/"}

Returns: count, succeeded [{fileId, savedTo, size}], failed [{fileId, name, error}].

Input Schema

NameRequiredDescriptionDefault
taskIdYesTask ID (post ID)
saveDirYesLocal directory to save the files into (created if missing)
overwriteNoOverwrite files that already exist (default: false)
projectIdYesProject ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only give readOnlyHint=false, openWorldHint=true, destructiveHint=false, so write-side effects need description coverage. The description supplies real substance: original filenames preserved, non-overwriting default, and partial-failure semantics where successful downloads survive and the result lists both sets. It stops short of stating filesystem permission or auth requirements, which is the main remaining gap.

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 one-sentence purpose, then behavior, then a compact example, then the return shape. Every sentence adds information; nothing restates the tool name or wastes space.

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?

There is no output schema, and the description compensates by naming the return fields (count, succeeded[fileId, savedTo, size], failed[fileId, name, error]). Combined with the overwrite and partial-failure rules, an agent has enough to invoke and interpret results.

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%, so the baseline is 3, but the description goes further by explaining the consequence of overwrite=true (existing files are not overwritten unless set) and by giving a concrete example populating projectId, taskId, and saveDir. It also notes saveDir is created if missing, which is behavioral meaning beyond the raw field type.

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 opens with a specific verb+resource+scope: 'Download every file attached to a Dooray task into a local directory.' The word 'every' distinguishes it from the single-file sibling download-attachment, so an agent can route correctly without reading 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 Guidelines3/5

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

Bulk-vs-single usage is only implied by 'every file attached to a task' against siblings like download-attachment and get-attachment-list. There is no explicit 'use this when... instead of download-attachment/upload-attachment' statement or exclusion, so selection still requires inference.

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