Skip to main content
Glama

Скачать файл ИИ

ai_files_download
Read-onlyIdempotent

Saves a case file to a specified absolute local path without overwriting existing files, letting AI assistants export documents up to 100 MiB.

Instructions

Сохраняет содержимое файла дела по абсолютному локальному пути. Не перезаписывает существующие файлы; предел 100 МиБ.

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": {
      "file": "<file>",
      "destination": "<destination>"
    },
    "name": "ai_files_download"
  }
}

Input Schema

NameRequiredDescriptionDefault
caseNoДело: название или идентификатор. Если не указать, берётся дело по умолчанию, иначе последнее открытое в панели.
fileYes
destinationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, destructiveHint=false and idempotentHint=true, so the safety profile is partly covered. The description still adds genuine context the annotations do not carry: a 100 MiB size cap and the no-overwrite guarantee, which together explain the idempotent/non-destructive flags. It does not say what error or result the caller gets when the destination already exists.

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?

Two short sentences, front-loaded with the core action, then the two constraints. No filler or restatement of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With three parameters, no output schema, and partial schema coverage, the description leaves meaningful gaps: the return value (saved path? confirmation?), the failure mode when the destination exists, and the exact semantics of the UUID 'file' parameter. The size limit and no-overwrite rule are the right kind of content, but the definition is not complete for a filesystem-writing tool.

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 description coverage is 33%: only 'case' is documented in the schema, while 'file' and 'destination' are bare. The description partially compensates by clarifying that 'destination' must be an absolute local path and that the file belongs to a case. It still does not explain that 'file' is a UUID identifier or whether 'destination' is a full filename versus a directory, so the gap is only half closed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: it saves the contents of a case file to an absolute local path. This is clearly distinguishable from siblings like ai_files_get (retrieval) or ai_files_upload (sending data the other way). It does not explicitly name those alternatives, so it stops short of a 5.

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?

Usage is only implied by the verb 'saves ... to an absolute local path' — an agent can infer this is the tool for materializing a file on disk rather than inspecting it. There is no explicit when-to-use versus ai_files_get, no prerequisites, and no statement about what happens if the destination exists beyond 'does not overwrite'.

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

Deploy Server

Other Tools