Skip to main content
Glama
gkrost

scaleway-ops-mcp-server

by gkrost

Set Scaleway bucket lifecycle rules (full replace)

scaleway_s3_put_bucket_lifecycle
DestructiveIdempotent

Replaces a bucket's complete lifecycle rule set. Define transitions to colder storage or permanent deletion after N days; permanent deletion requires explicit confirmation.

Instructions

Set a bucket's lifecycle rules. FULL-REPLACE: the provided list becomes the complete rule set. DESTRUCTIVE: rules with expiration permanently DELETE matching objects once they take effect - requires confirm=true regardless of rule content. Rules apply to objects stored with Scaleway storage classes; transition targets Scaleway classes (ONEZONE_IA, GLACIER).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rulesYes
bucketYesBucket name.
regionNoRegion to operate in. Defaults to the server's configured region (fr-par).
confirmYesMust be explicitly true.
Behavior5/5

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

Beyond annotations (destructiveHint), it discloses that expiration permanently deletes objects, requires confirm=true regardless of rule content, and specifies storage-class applicability. This adds substantial operational context that is not present in the annotations alone.

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?

Every sentence is information-dense: purpose, replacement semantics, destructive warning, and storage notes. There is no fluff or redundant phrasing.

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?

For a mutation tool with no output schema, the description covers the key non-obvious behaviors (replace, delete, confirm, storage classes) and distinguishes from sibling lifecycle tools. It could mention edge cases or prerequisites, but it is sufficient for correct selection and invocation.

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?

The schema already covers 75% of parameter descriptions; the description adds meaning for 'rules' (full-replace) and 'confirm' (must be true), and clarifies storage_class enums. It supplements the schema rather than repeating it.

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 opens with a clear verb and resource ('Set a bucket's lifecycle rules') and immediately clarifies the full-replace semantics, distinguishing this from get/delete lifecycle siblings. The title's '(full replace)' is reinforced in the description, leaving no ambiguity about what the tool does.

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?

It provides clear context about the full-replace and destructive behavior, which tells the agent when to use it (complete overwrite) and that confirm=true is required. It lacks explicit alternatives, but the sibling tools (get/delete lifecycle) are obvious and the full-replace nature implies it is for setting a complete rule set.

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