Skip to main content
Glama

Stream Vessel

Cancel unfinished uploads

abort_unfinished_uploads
Destructive

Discards a list of unfinished uploads and the parts each holds, which are billed until then. Name each one by the key and uploadId list_multipart_uploads reported, and show the user that list first. An upload started in the last 24 hours is refused, not discarded, unless includeRecent is true - it may be a transfer still running. Each distinct entry gets its own outcome; one that is not open at that key is reported as failed and left alone, because a wrong id must not read as done. Cannot touch an object that already exists at a key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bucketYesBucket name.
uploadsYesUploads to discard: key and uploadId as list_multipart_uploads gave them.
connectionIdYesConnection id from list_connections.
includeRecentNoAlso discard uploads started in the last 24 hours. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

With annotations already declaring destructiveHint=true and idempotentHint=false, the description adds substantial context beyond them: parts are billed until discarded, uploads newer than 24 hours are refused rather than discarded unless includeRecent is true, each entry gets its own outcome, and a non-open key is reported as failed and left untouched so a wrong id cannot read as success. It also states it cannot touch an already-existing object.

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?

Five dense sentences, front-loaded with the action and then the constraints, all of which earn their place. Slightly long, but there is no filler or repetition.

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

Completeness5/5

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

For a destructive batch tool with no output schema, the description covers the important gaps: billing implications, the recency guard and its override, and per-entry success/failure reporting. Nothing an agent needs to call it safely and interpret outcomes is missing.

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 coverage is 100% and both includeRecent and the uploads provenance are already documented in the schema, so the baseline is 3. The description goes further by explaining the rationale behind the 24-hour gate ('it may be a transfer still running') and the per-entry failure semantics, which the schema does not convey.

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 opens with a specific verb and resource ('Discards a list of unfinished uploads and the parts each holds') and the plural 'list of' distinguishes it from the singular sibling abort_multipart_upload. An agent can tell what it does and that it is the batch variant without opening the schema.

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?

It gives a clear prerequisite workflow: name entries with the key and uploadId that list_multipart_uploads reported, and show that list to the user first. It also flags the 24-hour refusal and the includeRecent override. It stops short of naming abort_multipart_upload as the single-upload alternative, so no explicit when-not guidance.

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.

Resources