Skip to main content
Glama

s3_delete_file

Destructive

Permanently deletes a specified file from an S3 bucket. Requires confirmation to prevent accidental removal.

Instructions

Удалить файл из бакета (s3/delete_file). ДЕСТРУКТИВНО: файл удаляется безвозвратно.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesКлюч (имя) файла
bucketYesИмя бакета
confirmYesMust be true to run the operation.
account_idNoID S3-аккаунта (если требуется; уточняйте через s3_get_users)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already mark this destructiveHint=true, and the description goes beyond that by stating 'файл удаляется безвозвратно' (the file is deleted permanently/irreversibly). This usefully discloses that the operation cannot be undone, which is not present in the annotation itself.

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 definition is short and puts the action first, followed by a direct warning. It loses the perfect mark only because the parenthetical '(s3/delete_file)' repeats the tool name and adds no new 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 simple destructive S3 delete operation, the combination of purpose, irreversibility warning, full parameter schema, and destructive annotation is largely sufficient. Missing aspects such as behavior on nonexistent files or response format are minor and do not prevent correct invocation.

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?

The input schema already documents all parameters with descriptions, including the required confirm flag and optional account_id with a pointer to s3_get_users. The description adds no parameter-level meaning beyond the schema, so baseline 3 applies.

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 uses a concrete verb and resource: 'Удалить файл из бакета' (delete a file from a bucket). This clearly identifies the operation and differentiates it from sibling tools like s3_delete_bucket and s3_delete_account, so an agent can select it on purpose alone.

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?

No when-to-use or alternative guidance is provided; the destructive warning does not say to confirm the file key first or to use s3_get_files/s3_delete_bucket for related operations. The purpose is implied, but the description offers no exclusions or explicit routing.

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