Skip to main content
Glama

set_versioning

Enable or suspend bucket versioning on MinIO. Use dry-run to preview changes; action reverses the prior versioning state.

Instructions

[WRITE][risk=medium] Enable or suspend bucket versioning. Reversible → prior state.

Args: bucket_name: Bucket name (from bucket_ls). status: "Enabled" or "Suspended". dry_run: If True, preview without changing versioning. target: MinIO target name from config; omit for the default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
targetNo
dry_runNo
bucket_nameYes
Behavior2/5

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

With no annotations provided, the description carries the full burden. '[WRITE][risk=medium]' and 'Reversible → prior state' convey that this is a mutating operation with rollback potential. However, it doesn't disclose behavioral details: what happens to existing versioning state, whether changing to Suspended affects existing versions, whether permissions/special access are needed, or error conditions. The medium risk label hints but doesn't explain the consequences of changing versioning state.

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 compact with a clear arg-by-arg breakdown and an upfront risk tag. Every parameter is documented. A slight deduction for the meta-brackets '[WRITE][risk=medium]' which are unconventional formatting, though they convey useful operational context efficiently.

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 4-parameter tool with no annotations and no output schema, the description documents all params and states reversibility. Yet it omits key context: what the response looks like, whether bucket_versioning_get should be used to verify, prerequisites (bucket existence is implied via bucket_ls), and behavioral consequences of Suspended on ongoing operations. The reversibility note is helpful but the tool would benefit from stating verification steps and edge cases.

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 description coverage is 0%, so the description must document all 4 parameters. It does so: bucket_name (sourced from bucket_ls), status (explicit enum values 'Enabled'/'Suspended'), dry_run (preview behavior), and target (MinIO target name, default behavior). This fully compensates for the missing schema descriptions across all parameters.

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 states a clear verb+resource: 'Enable or suspend bucket versioning' with the '[WRITE][risk=medium]' prefix adding operational context. It distinguishes this from siblings like set_bucket_policy, set_lifecycle, and bucket_versioning_get (read counterpart). 'Reversible → prior state' clarifies the change semantics.

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 notes the operation is reversible to prior state, which implies a safe undo path, and indicates a risk level of medium. However, it doesn't explicitly state when to choose this vs. the read-only sibling bucket_versioning_get, nor does it state when one might prefer 'Enabled' vs 'Suspended'. The dry_run parameter offers preview capability, which is useful guidance, but no when-not-to-use guidance is given.

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

Install Server

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/AIops-tools/MinIO-AIops'

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