Skip to main content
Glama

bucket_compliance_set

Destructive

Set a bucket's Wasabi compliance policy to enforce retention across all objects; specify retention days and lock time, and use confirm=true to apply lock settings.

Instructions

Set a bucket's Wasabi compliance policy, which applies at once to every object: retention_days is required, and lock_time is an ISO date, "now" or "off". Once locked, the settings can't be reduced without Wasabi Support (ComplianceSettingsLocked); needs confirm=true.

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>",
      "retention_days": "<retention_days>"
    },
    "name": "bucket_compliance_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
bucketYes
regionNo
confirmNo
enabledYes
lock_timeNo
retention_daysYes
conditional_holdNo
delete_after_retentionNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, so the safety profile is partly covered. The description adds real value beyond that: the policy applies to every object at once, and once locked the settings can't be reduced without Wasabi Support (ComplianceSettingsLocked). It still omits practical behavior such as permission requirements and whether enabling is reversible before lock.

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 core behavior is front-loaded, and each clause carries information (scope, required field, format, lock consequence, confirmation). It is dense but readable, with only minor compression costs in the run-on sentence.

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?

This is a destructive, 8-parameter mutation tool with an output schema, so the description needn't cover return values. However, several non-obvious Wasabi-specific flags (conditional_hold, delete_after_retention, enabled semantics) are undocumented anywhere, leaving the agent guessing on half the parameters.

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% across 8 parameters, so the description must carry the burden. It explains retention_days being required, the lock_time format (ISO date, 'now' or 'off'), and confirm=true, but leaves bucket, region, enabled, conditional_hold, and delete_after_retention completely undefined.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Set a bucket's Wasabi compliance policy', and the clause 'which applies at once to every object' implicitly separates it from the object-level sibling object_compliance_set. It stops short of naming the alternative tool outright, so it is clear but not fully sibling-differentiating.

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

Usage Guidelines3/5

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

Gives an operational prerequisite ('needs confirm=true') and a consequence for over-locking, but never says when to choose this over object_compliance_set, bucket_object_lock_set, or bucket_compliance_get. Usage is implied by the resource name rather than explained.

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