Skip to main content
Glama

IronShard Object Storage Sandbox

Delete Objects

delete_objects
Destructive

Delete up to 1000 objects with one call. Keys that do not exist count as deleted. Objects that could not be deleted are listed in errors; retrying them is safe. Do not assume a deleted object can be restored: depending on the bucket's settings, deletion may be permanent.

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_name": "<bucket_name>",
      "object_keys": "<object_keys>",
      "bucket_token": "<bucket_token>"
    },
    "name": "delete_objects"
  }
}

Input Schema

NameRequiredDescriptionDefault
bucket_nameYesBucket to operate on.
object_keysYesComplete keys of the objects to delete, 1 to 1000.
bucket_tokenYesSecret bearer token returned with the public bucket.

Output Schema

NameRequiredDescriptionDefault
errorsNoObjects that could not be deleted; retrying them is safe.
deletedNo
bucket_nameYesBucket to operate on.
deleted_countYesNumber of objects in `deleted`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description adds substantive behavior: partial-failure semantics (failed keys surface in `errors`), retry safety for those failures, and the warning that deletion may be permanent depending on bucket settings. That is exactly the risk context an agent needs before invoking a destructive batch operation.

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?

Four short sentences, front-loaded with the capability and then the failure/irreversibility caveats. No filler and no repetition of annotation data.

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 a destructive batch tool, the description covers scope, partial failure handling, retry safety, and irreversibility; an output schema exists so return-shape explanation is unnecessary. Nothing an agent needs before calling is missing.

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 100% and every parameter (bucket_name, object_keys, bucket_token) is documented in the schema itself, including the 1–1000 item bounds. The description restates the 1000 cap but adds no format or key-syntax guidance beyond the schema, so the baseline 3 applies.

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?

"Delete up to 1000 objects with one call" gives a specific verb (delete), resource (objects), and batch scope, which implicitly separates it from the single-object sibling delete_object. It stops short of naming that sibling, so the differentiation is inferable rather than explicit.

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?

The batch limit of 1000 and the note that non-existent keys count as deleted imply when this tool is appropriate, and the retry guidance covers a follow-up action. However, there is no explicit routing such as "use delete_object for a single key" or "use list_objects to verify keys first."

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources