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

timeweb-s3-mcp-ai-cli

s3_list_object_versions

Lists object versions and delete markers under a bucket prefix in read-only pages of up to 1,000 entries, helping you find version IDs to inspect or restore specific file revisions.

Instructions

List object versions and delete markers under a prefix; read-only, one page of up to 1000 entries. Use it to find a version_id to inspect or restore with s3_head_object, s3_get_object or s3_download_file; use s3_list_objects when only current objects matter. Returns versions[], delete_markers[], truncated, continuation_token and version_marker; send both markers back together for the next page.

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_list_object_versions"
  }
}

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_keysNoPage size, 1-1000 entries; default 1000.
version_markerNoVersion-ID marker: the version_marker from the previous page, sent together with continuation_token; omit for the first page.
continuation_tokenNoKey marker: the continuation_token from the previous page, sent together with version_marker; omit for the first page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 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: the continuation_token from the previous page, sent together with version_marker; omit for the first page."
    • addedInput schema / properties / max_keys / description
      Added value: +"Page size, 1-1000 entries; default 1000."
    • 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 / version_marker / description
      Added value: +"Version-ID marker: the version_marker from the previous page, sent together with continuation_token; omit for the first page."
  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?

No annotations are supplied, so the description carries the full burden, and it delivers the key traits: read-only nature, single-page pagination capped at 1000 entries, and the fact that delete markers are included in results (which changes how a caller interprets 'missing' keys). It does not mention permission requirements, scope failures, or error behavior, which keeps it short of a 5 for an unannotated tool.

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?

Two sentences, front-loaded with purpose and scope, then alternatives, then return shape and pagination. Every clause carries information — the version_id handoff and the marker pairing are both actionable, and there is no filler.

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?

No output schema exists, but the description enumerates the returned fields (versions[], delete_markers[], truncated, continuation_token, version_marker) and explains how to page with them. Combined with the read-only declaration and sibling routing, an agent has everything needed to call and consume this tool 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 schema already documents all five parameters and the baseline would be 3. The description earns above baseline by stating the operational rule that continuation_token and version_marker must be sent back together for the next page, a coupling that is easy to get wrong when only reading per-field schema text.

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 ('List object versions and delete markers under a prefix') and immediately scopes it ('read-only, one page of up to 1000 entries'). It also names the sibling it is not — 'use s3_list_objects when only current objects matter' — so an agent can distinguish the two listing tools without opening either 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 explicit downstream usage: find a version_id to inspect or restore via s3_head_object, s3_get_object or s3_download_file. Gives an explicit exclusion condition ('use s3_list_objects when only current objects matter'), so both when-to-use and when-not-to-use are covered.

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