Skip to main content
Glama

HamroLink Business OS MCP Server

commerce.delete_product

Destructive

Deletes a product from the e-commerce store.

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": {
      "siteId": "<siteId>",
      "productId": "<productId>"
    },
    "name": "commerce.delete_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYesMongoDB Site ID
productIdYesMongoDB Product ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/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 openWorldHint=true, so the safety profile is covered by structured data. The description adds nothing beyond that: it does not say whether the deletion is permanent, whether it cascades to categories/promotions/order references, or how it behaves when productId does not exist.

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?

It is a single front-loaded sentence with no wasted words, which is structurally clean. However, the brevity crosses into under-specification for a permanent destructive operation, so the packaging is efficient but not appropriately sized for the risk.

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?

For a destructive, open-world delete with no output schema, the description omits key facts an agent needs: irreversibility, side effects on related commerce entities, and error behavior for missing or invalid IDs. The annotations flag destructiveness but the description does not help the agent decide whether to call it.

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 both siteId and productId are documented in the schema as Mongo IDs, so the schema carries the parameter burden. The description adds no extra meaning, such as whether productId must belong to siteId, which is the baseline 3 case.

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 gives a specific verb and resource ("Deletes a product") and scopes it to "the e-commerce store." It does not explicitly name or contrast with siblings like commerce.update_product or commerce.get_product, but the delete action is unambiguous against them.

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 alternatives (e.g., archive vs delete, or removing a product versus updating it to inactive), and no stated prerequisites such as required permissions or confirming the product is not referenced by existing orders. An agent gets only the bare action.

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.