Skip to main content
Glama

Delete a catalog

delete_catalog
DestructiveIdempotent

Delete one of the merchant's catalogs. It leaves their list at once, its public link stops working, these tools cannot reach it afterwards, and the plan slot it used is freed. Destructive, so it runs only on a call with confirm: true; without it nothing is deleted and the answer lists what would go under requiresConfirmation, for the merchant to approve. Only the owner can delete — a catalog shared with the merchant is refused.

Input Schema

NameRequiredDescriptionDefault
confirmNotrue once the merchant has agreed to the deletion listed under requiresConfirmation
catalogIdYesCatalog id, as returned by list_catalogs

Output Schema

NameRequiredDescriptionDefault
titleNo
appliedYes
catalogNoWhat would be deleted, while waiting for confirmation
deletedNo
catalogIdNo
confirmWithNoThe arguments that carry the change out once the merchant agrees
requiresConfirmationNoPresent when nothing was changed: the consequences to show the merchant before calling again with confirm: true

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructiveHint and idempotentHint, but the description goes further: it discloses effects (public link stops working, tools lose access, plan slot freed), the confirmation gate, and the authorization constraint. This is exactly the consequence-level detail an agent needs before an irreversible call.

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 action, and every clause carries real information. The long compound sentence about the catalog's disappearance is slightly awkward ("these tools cannot reach it afterwards") but earns its place through consequence detail.

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 two-param tool, everything an agent needs is present: effect list, confirmation workflow, and ownership restriction. An output schema exists, so the absence of return-value documentation is not a gap.

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 coverage is 100%, so the schema already documents both params. The description nonetheless adds workflow meaning to confirm — it is the second leg of a dry-run approval cycle, with the pre-confirm output surfaced as requiresConfirmation — which the schema description alone only hints at.

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?

Opens with a specific verb and resource ("Delete one of the merchant's catalogs"), which cleanly separates it from siblings like delete_products and edit_catalog. An agent knows immediately this permanently removes a catalog object.

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?

Explicitly states the two-phase protocol: it only runs with confirm: true, and without it nothing is deleted and the response lists candidates under requiresConfirmation. It also names the exclusion — shared catalogs are refused, only the owner can delete — so the agent knows when not to call it.

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