Skip to main content
Glama

reeflip

Delete many products

delete_products
DestructiveIdempotent

Deletes up to 250 products for good, with their places in categories, flipbooks and catalogs and the photos nothing else uses. Nothing is deleted yet: the answer is a held change whose summary says what would be. Show the owner that summary, and call confirm_product_deletes with its id only once they agree, within the hour; left alone, it lapses and nothing is deleted. A confirmed delete can't be undone.

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

Input Schema

NameRequiredDescriptionDefault
idsYesUp to 250 product ids.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered upstream. The description nonetheless adds substantial context the annotations cannot express: the two-phase staged/confirm model, the one-hour expiry, the irreversibility of confirmation, and the conditional photo cleanup. Return format is partly described (a held change with `summary` and `id`).

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?

Front-loaded with the verb and the destructive scope, then the staged-confirm flow, then the expiry and irreversibility — a sensible ordering. The second sentence is a dense run-on ('with their places in categories, flipbooks and catalogs and the photos nothing else uses') that costs a little readability, but no sentence is filler.

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?

There is no output schema, so the description carries the return-value burden and does so — a held change exposing `summary` and `id`. For a destructive, confirm-gated tool with one parameter, an agent has everything needed to call it and to route the follow-up correctly.

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 coverage is 100% with a single `ids` parameter whose type, UUID format and 1–250 bounds are already in the schema. The description repeats the 250 limit but adds no new semantics such as whether unknown ids error or are skipped, so the baseline of 3 applies.

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?

States a specific verb and resource ('Deletes up to 250 products') plus the exact cascade footprint (category, flipbook and catalog placements, orphaned photos). That cascade detail is what separates it from a sibling like delete_category, so an agent can pick correctly without opening a schema.

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

Usage Guidelines5/5

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

Gives an explicit operating procedure and the condition that selects the alternative: this call creates a held change, the owner must see the `summary`, and only then do you call `confirm_product_deletes` with the `id`. It also names the exclusions — nothing is deleted yet, the change lapses within the hour, and a confirmed delete is irreversible.

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