Skip to main content
Glama

bucket_versioning_set

Enable or suspend versioning on a bucket to control object version retention. Set enabled=true to activate versioning or false to suspend; versioned buckets cannot revert to unversioned.

Instructions

Enable (enabled=true) or suspend (enabled=false) versioning on a bucket. A bucket that has been versioned can be suspended but never returns to unversioned.

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>",
      "enabled": "<enabled>"
    },
    "name": "bucket_versioning_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
bucketYes
regionNo
enabledYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the mutating-but-not-destructive profile is covered structurally. The description adds genuinely new behavioral context the annotations cannot carry: the irreversibility of the state machine, since a versioned bucket can be suspended but never returns to unversioned. It omits permission requirements and whether existing objects are affected.

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, both load-bearing, with the action and the parameter mapping front-loaded and the caveat following. No restatement of the tool name or filler prose.

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?

An output schema exists, so return values need no explanation, and the irreversibility note covers the main behavioral risk of this mutation. The remaining gap is the unaddressed `region` parameter and any note about what happens to already-versioned objects, which matters for a bucket-level state change.

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 0%, so the description must compensate for three undocumented parameters. It successfully defines the meaning of `enabled` (true enables, false suspends), which is the parameter whose semantics are non-obvious, but `bucket` (name vs ARN?) and the optional `region` parameter are left entirely unexplained.

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 — enable or suspend versioning on a bucket — and disambiguates the two modes by binding them to the boolean value. An agent can immediately tell this apart from the read-side sibling bucket_versioning_get and from other bucket_*_set tools.

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 enabled=true / enabled=false mapping tells the agent exactly which call to make for each intent, and the second sentence explains the lifecycle context in which suspension is the only option. It stops short of naming an alternative tool or stating prerequisites (e.g., permission needed to change versioning).

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

Deploy Server

Other Tools