Skip to main content
Glama

Удалить файл ИИ

ai_files_delete
Destructive

Deletes a file and its remote copy from a case; a service error stops the operation, and deletion is irreversible.

Instructions

Удаляет удалённую копию и файл дела. Ошибка сервиса останавливает удаление; операция необратима.

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>"
    },
    "name": "ai_files_delete"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

B3/5.0
Behavior3/5

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

The annotations already say destructiveHint=true and idempotentHint=false, so the safety profile is covered. The description adds two useful facts: a service error aborts the whole operation, and the action is irreversible. However, it says nothing about scope beyond that.

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?

Two short sentences, front-loaded with the action and the failure/irreversibility caveat, with no filler. The phrase 'удалённую копию' is slightly ambiguous but does not cost much.

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?

For a destructive two-parameter tool, the description covers irreversibility and atomic failure, which the annotations only partially imply. However, it omits default case resolution and the required-file semantics, leaving the agent dependent on the schema for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%: the 'case' parameter is documented in the schema, while required 'file' is only typed as a UUID with no description. The description mentions no parameters at all, so it does not compensate for the undocumented required file identifier.

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 uses the specific verb 'Удаляет' with the resources 'удалённую копию' and 'файл дела', so the agent knows this permanently removes AI files. It is clear but does not distinguish the tool from similarly named delete siblings such as ai_delete or cases_delete, so 5 is not warranted.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description gives no guidance on when to use this tool versus alternatives. Given that dozens of sibling delete tools exist, and nothing tells the agent when ai_files_delete is the right choice, this is a real gap.

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