Skip to main content
Glama

file_version_delete

Delete a single version of a shared file (destructive, irreversible).

Refuses to delete the only remaining version. If the deleted version was the current (latest) one, current_version is bumped back to the new max and -- when the file is published -- the bucket mirror is re-published to that new current version so the public /s/{slug} route stays consistent. Returns deleted, current_version_changed, and the updated file.

Input Schema

NameRequiredDescriptionDefault
file_idYesFile UUID the version belongs to
versionYesVersion number to delete

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it declares destructiveness/irreversibility, the guard against deleting the last version, the side effect of bumping current_version, and the conditional bucket re-publish that keeps the public /s/{slug} route consistent. This is exactly the hidden-state disclosure an agent needs before a mutation.

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 destructive warning and single-version scope are front-loaded, which is the right ordering for a dangerous operation. The sentence about bucket re-publishing is dense but relevant; only minor verbosity from restating return fields that the output schema already defines.

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?

Return fields are redundantly listed even though an output schema exists, and no sibling alternative is mentioned. Otherwise the safety profile and cascading side effects are thoroughly covered for a destructive two-parameter mutation.

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 coverage is 100%, with file_id and version both documented in the schema, so the schema already does the heavy lifting. The description adds no format, range, or lookup guidance beyond what the schema provides, so the 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?

States a precise verb and narrowly scoped resource: deleting a single version of a shared file, as opposed to removing the file itself. The '(destructive, irreversible)' tag immediately sets it apart from read-oriented siblings like file_get and file_list.

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?

It communicates an important applicability constraint (refuses to delete the only remaining version), which tells the agent when the call will not work. However, it never names an alternative such as file_archive or file_unpublish, so the agent must infer when whole-file removal is preferable to version removal.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.