Skip to main content
Glama

download_attachments

Fetch and save a plan's downloadable files to your configured folder, filtering by attachment IDs or file types while skipping files already up to date.

Instructions

Download attachments for one of your plans into the configured download folder.

attachment_ids (from list_attachments) and file_types (e.g. ["pdf"]) narrow the set; with neither, every downloadable file is fetched. Files already current are skipped.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
plan_idYes
file_typesNo
attachment_idsNo
service_type_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare non-read-only, non-destructive, open-world, so the write-to-disk nature is expected; the description adds real context beyond that: files land in a configured download folder and already-current files are skipped (idempotency). It omits any auth/permission or volume/rate context.

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?

Three tight sentences with the core action front-loaded; the filter semantics follow, and nothing is redundant.

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?

No output schema and no annotation detail on results, but the description covers destination and skip behavior, which is what an agent needs to reason about side effects. The unexplained required parameters (plan_id, service_type_id) are the remaining gap.

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 coverage is 0%, so the description must compensate. It does explain attachment_ids (with their source tool) and file_types (with an example) plus the unfiltered default, but the two REQUIRED parameters, plan_id and service_type_id, receive no explanation at all.

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 (Download) and resource (attachments) scoped to 'one of your plans', with the destination ('configured download folder') named. It also distinguishes itself from list_attachments by pointing there as the source of attachment_ids.

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?

Explains the two operating modes clearly: filtered via attachment_ids/file_types, or everything when neither is supplied. It routes to list_attachments for obtaining IDs, but gives no explicit when-not-to-use guidance (e.g. volume, rate, or re-run caveats).

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