Skip to main content
Glama

Delete a product

delete_product
Destructive

Remove a product or service.

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": {
      "item_id": "<item_id>"
    },
    "name": "delete_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
item_idYesThe item id.
brand_idNoOptional business id from list_brands (default: this connection's business).
expected_revisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered. The description adds nothing beyond annotations: no note on irreversibility, no explanation of the expected_revision concurrency guard, no cascade/related-data consequences, and no error behavior on revision mismatch.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short sentence with no wasted words and the action front-loaded, but the brevity reflects under-specification rather than efficiency. There is room to add a sentence of behavioral context without bloat.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a destructive mutation with three parameters, one undocumented in both schema and description, and no output schema. Given that complexity, the definition is incomplete: it omits reversibility, confirmation requirements, concurrency semantics, and failure modes an agent needs before calling a delete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%, with item_id and brand_id documented but expected_revision left undescribed in the schema. The description supplies no parameter meaning at all — it doesn't explain that expected_revision is needed for optimistic concurrency or that brand_id defaults to this connection's business — so it fails to compensate for the coverage gap.

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?

States a specific verb ("Remove") and resource ("product or service"), so an agent knows this is a deletion operation on a catalog item. It does not differentiate from sibling delete tools (delete_offer, delete_post, delete_dna_answer), and "or service" slightly blurs what exactly is removed, but the core purpose is unambiguous.

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 guidance on when to use this versus update_product or the other delete_* siblings, and no mention of prerequisites, required permissions, or that deletion is permanent and should be used with confirmation. The agent must infer usage entirely from the name.

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