Skip to main content
Glama

Abort chunked media upload

abort_multipart_upload

Cancel an active chunked upload and free its stored parts. Use this when a multipart upload should be stopped.

Instructions

Abort an in-progress chunked upload and free its stored parts. Use this when a chunked upload should be cancelled and its stored parts freed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
r2KeyYesThe r2Key returned by create_multipart_upload.
uploadIdYesThe uploadId returned by create_multipart_upload.
Install Server

TDQS

B3.4/5.0
Behavior1/5

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

Annotation contradiction: the description says the tool 'frees stored parts' and aborts an upload, which is a destructive/irreversible operation, while the annotation declares destructiveHint=false. This directly contradicts the described behavior and could mislead an agent about the operation's safety.

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 description is short and front-loaded with the action and effect. There is minor redundancy between 'free its stored parts' and 'its stored parts freed', but no real padding exists.

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 simple two-parameter operation with complete schema coverage, the description covers what the tool does and when to use it. However, the destructiveHint=false annotation contradicts the stated cleanup behavior, undermining the agent's ability to reason about side effects; no output schema is present, so return-value details are not required.

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 100% for both parameters, and each parameter is documented as the value returned by create_multipart_upload. The description itself adds no additional parameter semantics, so baseline 3 is appropriate.

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 specific verb ('Abort') and resource ('in-progress chunked upload') and states the concrete effect ('free its stored parts'). This clearly distinguishes it from sibling tools like create_multipart_upload and complete_multipart_upload.

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?

The description explicitly says 'Use this when a chunked upload should be cancelled and its stored parts freed.' It gives a clear condition for use, though it does not explicitly mention when not to use it or name alternatives; cancellation is a distinct action with no true sibling alternative.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/azeemkafridi/bulkpublish-api'

If you have feedback or need assistance with the MCP directory API, please join our Discord server