Skip to main content
Glama

swift_delete_object

Deletes a specified object from a Swift container, requiring confirm=true to prevent accidental destructive removal.

Instructions

Delete a Swift object. Service: Swift (object-store). Mutates state. Destructive. Requires 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": {
      "container": "<container>",
      "object_name": "<object_name>"
    },
    "name": "swift_delete_object"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
containerYes
object_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description does carry real weight by stating the operation mutates state, is destructive, and demands confirm=true. However, it omits what an agent most needs before a destructive call: irreversibility, permission requirements, behavior on a missing object, and whether a non-empty container blocks deletion.

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?

Four short fragments, front-loaded with the action and ending with the gating requirement. The "Service: Swift (object-store)" fragment is slightly redundant with the tool name but costs little.

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?

An output schema exists, so return values need not be explained. Still, for a destructive three-parameter tool with zero annotation coverage, the definition leaves out error behavior, permission prerequisites, and confirm semantics beyond the bare requirement, which is a meaningful gap.

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 three parameters, so the description must compensate. It clarifies the non-obvious confirm flag (must be true) but says nothing about container or object_name semantics, such as format, case sensitivity, or path-style naming.

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?

Names a specific verb and resource ("Delete a Swift object") and qualifies the backend as Swift object-store, which separates it from the s3_delete_object sibling. It stops short of an explicit contrast with swift_delete_container, so differentiation is only partial.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no named alternative. The agent must infer on its own that deleting a container has a different tool and that this one only removes a single object.

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