Skip to main content
Glama
timeweb-s3-mcp-ai-cli

timeweb-s3-mcp-ai-cli

s3_unfinished_uploads

Find multipart uploads older than a chosen age to spot abandoned uploads that still occupy storage. Returns read-only results for cleanup via multipart abort.

Instructions

Find multipart uploads started more than older_than_hours ago (default 24), scanning up to max_scan uploads (default 10000); read-only. Use it to spot abandoned uploads that still occupy storage, then remove them with s3_multipart_abort; use s3_list_multipart_uploads for a raw page regardless of age. Returns uploads[] (key, upload_id, initiated; at most 1000), scanned, partial, continuation_token and upload_id_marker; when partial is true send both markers back to continue.

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": {
      "bucket": "<bucket>"
    },
    "name": "s3_unfinished_uploads"
  }
}

Input Schema

NameRequiredDescriptionDefault
bucketYesBucket name, e.g. "backups". Must be inside the configured bucket scope.
prefixNoKey prefix that limits the results, e.g. "daily/"; omit for the whole bucket. End it with "/" to match one folder only. In a prefix-restricted scope it must start with an allowed prefix followed by "/".
max_scanNoMaximum number of multipart uploads to scan in this call; default 10000.
upload_idNoUpload-ID marker: the upload_id_marker from a previous partial result, sent together with continuation_token; omit to start from the beginning.
older_than_hoursNoMinimum age in hours since the upload was initiated, e.g. 72 or 0.5; default 24 (0 also means 24).
continuation_tokenNoKey marker from a previous partial result, sent together with upload_id to resume the scan; omit to start from the beginning.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.1.1
    • addedInput schema / properties / bucket / description
      Added value: +"Bucket name, e.g. \"backups\". Must be inside the configured bucket scope."
    • addedInput schema / properties / continuation_token / description
      Added value: +"Key marker from a previous partial result, sent together with upload_id to resume the scan; omit to start from the beginning."
    • addedInput schema / properties / max_scan / description
      Added value: +"Maximum number of multipart uploads to scan in this call; default 10000."
    • addedInput schema / properties / older_than_hours / description
      Added value: +"Minimum age in hours since the upload was initiated, e.g. 72 or 0.5; default 24 (0 also means 24)."
    • addedInput schema / properties / prefix / description
      Added value: +"Key prefix that limits the results, e.g. \"daily/\"; omit for the whole bucket. End it with \"/\" to match one folder only. In a prefix-restricted scope it must start with an allowed prefix followed by \"/\"."
    • addedInput schema / properties / upload_id / description
      Added value: +"Upload-ID marker: the upload_id_marker from a previous partial result, sent together with continuation_token; omit to start from the beginning."
  2. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/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 well: it declares read-only behavior, discloses that results are capped at 1000 with a partial flag, and explains the two-marker continuation protocol. It does not mention permission or scope requirements beyond what the bucket param schema says, and gives no guidance on cost of a large max_scan, so it falls short of exhaustive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Dense but front-loaded: the core predicate and defaults come first, then usage, then the return/continuation contract. Every clause carries information, with 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?

Although there is no output schema, the description enumerates the return fields (uploads[], scanned, partial, continuation_token, upload_id_marker) and explains how to resume from a partial result. Combined with the fully documented 6-param schema, an agent has everything needed to call and paginate correctly.

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%, so the baseline is 3; the description still adds value by restating the defaults (24 hours, 10000) and, crucially, explaining that continuation_token and upload_id must be sent together to resume. That pairing is operational meaning an agent needs at call time.

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 specific verb and resource with a precise scope: multipart uploads older than older_than_hours, capped at max_scan. It explicitly distinguishes itself from the sibling s3_list_multipart_uploads (raw page, any age), so an agent can pick between them without opening a schema.

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

Usage Guidelines5/5

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

Gives an explicit use case (spot abandoned uploads occupying storage), names the follow-up tool (s3_multipart_abort), and names the alternative (s3_list_multipart_uploads) with the condition that selects it. When-to-use and when-to-use-something-else are both present.

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