Skip to main content
Glama

swift_delete_container

Deletes a Swift object-store container, requiring confirm=true and using force=true to remove up to 500 objects before deletion when non-empty.

Instructions

Delete a Swift container.

Service: Swift (object-store). Mutates state. Destructive. Requires confirm=true. Refused when the container is not empty unless force=true. force deletes at most 500 objects and then the container. A larger container is refused so a single call cannot wipe it.

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": {
      "name": "<name>"
    },
    "name": "swift_delete_container"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
forceNo
confirmNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so well: it declares state mutation, destructiveness, the confirm requirement, the non-empty refusal, and the 500-object force ceiling that prevents a single call from wiping a large container. The only omissions are permission/authentication requirements and the error payload shape, which are minor given an output schema exists.

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?

Front-loaded with the action and the destructive/mutating warning, then the safety rules in descending order of importance. Every line adds a distinct constraint; nothing is repeated or padded.

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 three-parameter destructive call this covers intent, safety guards, and failure modes, and the output schema handles return values. Missing only permission requirements and confirmation of whether the 500-object cap applies per call or cumulatively, which an agent would want before attempting a large delete.

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 explain the parameters, and it does for two of three: confirm (must be true) and force (deletes up to 500 objects, then the container). The required 'name' parameter is left implicit as the target container, which is inferable from the title but never stated.

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 ("Delete a Swift container") plus the owning service, which inherently separates it from object-level siblings like swift_delete_object and from swift_create_container. It stops short of naming any sibling or clarifying scope relative to them, so it is clear but not fully differentiated.

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?

Gives concrete preconditions and refusal conditions: confirm=true is mandatory, non-empty containers are refused unless force=true, and force is capped at 500 objects. That is clear when-it-works/when-it-fails context, but it offers no guidance on alternatives (e.g. emptying objects first via swift_delete_object) or when to prefer a different tool.

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