Skip to main content
Glama
kadal-store

kadal-store

Official

Download into the project

download_to_folder
Idempotent

Download owned files into a project folder, verifying SHA-256 checksums and skipping identical existing files. Filter by names, IDs, or edition, or fetch the product as a zip.

Instructions

Download files the person owns into the project, each checked against its sha256; files already there with the same checksum are skipped. dir is relative to the project (default kadal-store/). Narrow with fileNames or fileIds (from list_library) or an edition, or zip: true for the whole product as one zip. color puts a recolourable product's SVGs in that colour (saved as -.svg). Returns where every file went.

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": {
      "slug": "<slug>"
    },
    "name": "download_to_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
dirNoFolder relative to the project, e.g. 'assets/sfx'. Default kadal-store/<slug>.
zipNoThe whole product as one zip instead of its files.
slugYes
colorNoRecolourable products only (get_product's recolor is not null; the Illustrations shelf): the accent colour their SVGs come in, as hex, e.g. "#2f9e44" (the brand colour of the project). Leave it out for the files as drawn.
editionNoNarrow a product sold in editions (planners, calendars) to one. Leave an axis out to keep all of it.
fileIdsNoOnly these files, by id.
fileNamesNoOnly these files, by name.
overwriteNoDownload again even when the same file is already there.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.2
    • addedInput schema / properties / color
      Added value: +{
      +  "description": "Recolourable products only (get_product's recolor is not null; the Illustrations shelf): the accent colour their SVGs come in, as hex, e.g. \"#2f9e44\" (the brand colour of the project). Leave it out for the files as drawn.",
      +  "type": "string"
      +}
  2. First observedv0.1.1

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 explains the idempotency mechanism: each file is checked against its sha256 and already-present files with the same checksum are skipped. It also notes that the tool returns where every file went, which is useful operational context for a file-writing tool.

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 definition is front-loaded with the core action and checksum behavior, then moves efficiently through directory defaults, filtering options, zip mode, colour handling, and return behavior. Every sentence contributes operational information without filler.

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?

For an eight-parameter, nested-schema, file-writing tool with no output schema, the description covers the key behaviors and return direction well. It does not define slug explicitly or elaborate the return shape, but these are minor gaps given the rich schema coverage and annotations.

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 high at 88%, so the baseline is 3. The description still adds useful meaning by linking fileIds to list_library, clarifying the default dir, explaining colour output naming as <name>-<rrggbb>.svg, and describing edition narrowing beyond the raw schema descriptions.

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 states a specific action and resource: downloading owned files into the project. It also distinguishes the operation through checksum verification, skipping existing files, filtering by fileNames/fileIds or edition, zipping, and recolouring SVGs.

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?

It gives clear selection guidance: use fileNames or fileIds (from list_library) to narrow, use an edition for editioned products, or use zip for the whole product. It does not explicitly contrast with siblings like get_download_links, so it falls short of a full when-not-to-use explanation.

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