Skip to main content
Glama

download_data_archive

Downloads a generated ZONT data archive by archive ID, saves it in the zont_archives directory, and returns the file path and size.

Instructions

Скачать созданный архив данных и сохранить в файл.

Параметры: archive_id: идентификатор из ответа generate_data_archive.

Файл сохраняется в каталог zont_archives рядом с сервером (создаётся автоматически), имя — по идентификатору архива. В ответе — путь к файлу и его размер.

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": {
      "archive_id": "<archive_id>"
    },
    "name": "download_data_archive"
  }
}

Input Schema

NameRequiredDescriptionDefault
archive_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.2

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose real side effects: a file is written to the zont_archives directory beside the server, the directory is auto-created, and the filename derives from the archive id. It omits what happens on failure or whether the archive remains reusable after download, leaving some behavioral gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, followed by the parameter and file-location behavior, then the response shape. The labeled 'Параметры' block is slightly formal for a single parameter but each sentence adds information.

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 a one-parameter retrieval tool with an output schema, this is nearly complete: it covers input provenance, on-disk side effects, and the returned path/size. The remaining gap is failure and archive-lifecycle behavior, which the description never addresses.

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 description coverage is 0%, but the description compensates by naming archive_id and explaining exactly where its value comes from (the generate_data_archive response). It does not describe the expected string format, though copying the id verbatim makes that low-risk.

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+resource pair ('download a created data archive and save it to a file') and explicitly ties the input to 'generate_data_archive', so the agent can distinguish it from the sibling that creates archives rather than retrieves them.

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 makes the workflow clear by saying archive_id comes from the generate_data_archive response, which tells the agent this is the second step after generation. It does not state exclusions (e.g., behavior for expired or already-downloaded archives), so it stops short of full when/when-not guidance.

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