Skip to main content
Glama

object_delete_many

Destructive

Delete up to 10,000 object keys by list or prefix in a bucket, returning deleted keys, per-key errors, and remaining-key status. Requires confirm=true.

Instructions

Delete up to 1,000 listed keys, or up to max_keys (at most 10,000) keys under a prefix. Returns the deleted keys and any per-key errors, and says when keys remain under the prefix. Needs 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": {
      "bucket": "<bucket>"
    },
    "name": "object_delete_many"
  }
}

Input Schema

NameRequiredDescriptionDefault
keysNo
bucketYes
prefixNo
regionNo
confirmNo
max_keysNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so irreversibility is covered. The description adds meaningful context beyond that: the batch limits, the confirm gate, per-key error reporting for partial failures, and a signal for whether keys remain under the prefix — the last of which tells an agent to re-invoke. It does not address versioning or what a prefix delete does to non-matching keys.

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?

Two dense sentences, limits and modes front-loaded before the return behavior and the confirm requirement. Every clause adds actionable information; there is no filler or restatement of the tool name.

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?

An output schema exists, so the brief return summary is a bonus rather than a burden. For a destructive bulk operation with six parameters the description covers the essential safety and scoping facts, but the unresolved keys/prefix precedence and the unmentioned bucket/region parameters leave a small 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%, so the description must carry parameter meaning, and it partially does: it constrains max_keys (max 10,000), states the implicit 1,000 default for keys, and confirms that confirm must be true. It says nothing about bucket or region, and critically does not state how keys and prefix interact when both are supplied, leaving the most ambiguous parameter relationship unexplained.

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?

The description names a specific verb and resource (delete keys) and clearly distinguishes the tool's two operating modes: an explicit key list capped at 1,000, or a prefix scan capped by max_keys at 10,000. It does not name the single-key sibling object_delete, so an agent gets no explicit differentiation from it, which keeps this below a 5.

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?

The two modes are framed with their thresholds, so an agent can infer when to pass keys versus a prefix, and the 'Needs confirm=true' clause is a clear precondition. There are no explicit exclusions or a pointer to object_delete for single-key deletes, so it stops short of full when-not guidance.

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