Skip to main content
Glama
gkrost

scaleway-ops-mcp-server

by gkrost

Enable Object Lock on a Scaleway bucket (ONE-WAY, irreversible)

scaleway_s3_enable_object_lock
DestructiveIdempotent

Enable object lock on a Scaleway S3 bucket to prevent deletion of object versions before retention expires. This irreversible action requires versioning; optionally enable it first.

Instructions

Enable Object Lock (WORM: object versions can never be deleted before their retention expires). IRREVERSIBLE: once enabled it can NEVER be disabled or removed - Scaleway rejects the disable request at the XML-schema level, and versioning becomes permanently frozen at Enabled (both live-verified 2026-08-18). Prerequisite: versioning must be Enabled first - pass enable_versioning_if_needed=true to let this tool do that, otherwise the API rejects with InvalidBucketState. Creating a bucket with object lock at creation time is NOT possible on Scaleway: the S3 CreateBucket flag ObjectLockEnabledForBucket is silently ignored (live-verified 2026-08-18) - this tool is the only working path. An empty locked bucket can still be deleted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bucketYesBucket name.
regionNoRegion to operate in. Defaults to the server's configured region (fr-par).
confirmYesMust be explicitly true - this is a one-way door for the bucket.
enable_versioning_if_neededNotrue: enable versioning first if not already Enabled. false (default): fail instructively if versioning is off.
Behavior5/5

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

Beyond annotations (which indicate destructive and open-world), the description discloses critical behavioral traits: irreversibility, permanent versioning freeze, rejection of disable attempts, and the non-functional alternative at bucket creation. It does not contradict any annotations; in fact, it enriches them with specific consequences and verification details.

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?

The description is dense with high-value information, each sentence serving a purpose: defining the action, warning irreversibility, stating prerequisites and workarounds, and noting deletion behavior. It is front-loaded with the core action and consequence, with no redundant phrasing.

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?

For an irreversible operation with four parameters and no output schema, the description covers all necessary context: prerequisites, fallback behavior, alternative methods (and why they fail), and post-condition deletion behavior. This is sufficient for an agent to make an informed decision and execute 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% (all four parameters described), so baseline is 3. The description adds value by explaining the rationale for enable_versioning_if_needed (avoids InvalidBucketState) and ties the confirm parameter implicitly to the one-way door concept. While not exhaustive, it meaningfully supplements the schema with contextual reasoning.

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 clearly states the tool's purpose: 'Enable Object Lock (WORM: object versions can never be deleted before their retention expires)'. It uses a specific verb and resource, and distinguishes from sibling tools like scaleway_s3_get_object_lock by emphasizing the enabling action and its one-way nature.

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?

Provides explicit usage guidance: notes the prerequisite of versioning being enabled, the parameter to handle it automatically, and explicitly states that creating a bucket with object lock at creation time is not possible on Scaleway and this tool is the only working path. Also clarifies that an empty locked bucket can still be deleted, helping agents decide when to use this tool.

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/gkrost/scaleway-ops-mcp-server'

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