Skip to main content
Glama
shopify-mcp-complete

shopify-mcp-complete

by hishamalhadi

delete-product

Permanently removes a product from your Shopify store by product ID. Use this action when a product must be eliminated entirely; the deletion cannot be undone.

Instructions

Permanently delete a product from the store. This cannot 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": {
      "productId": "<productId>"
    },
    "name": "delete-product"
  }
}

Input Schema

NameRequiredDescriptionDefault
productIdYesProduct ID to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden, and it does disclose the single most important trait: the operation is permanent and irreversible. It leaves unstated what collateral effects occur (variants, images, collections, or orders referencing the product) and whether deletion fails for products with order history — meaningful gaps for a destructive call.

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 short sentences with zero filler; the destructive nature is front-loaded via 'Permanently' and reinforced by the irreversibility warning. Nothing could be cut without losing the warning.

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?

For a single-parameter, no-output-schema tool, the definition covers what is deleted and that it is irreversible, which is mostly sufficient. It omits failure behavior (product not found) and side effects on related records, a minor but real gap for a destructive operation.

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?

There is only one parameter and the schema documents it fully ('Product ID to delete', minLength 1), so the description adds nothing beyond the schema. Baseline 3 applies when schema coverage is 100% and the description contributes no extra format or sourcing detail (e.g., where to obtain the ID, as from get-products).

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 ('Permanently delete') and resource ('a product from the store'), which is unambiguous against siblings such as update-product and create-product. It never explicitly contrasts itself with an alternative (e.g., unpublish vs. delete), so it stops short of full sibling differentiation.

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

Usage Guidelines3/5

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

'This cannot be undone' signals that this is the terminal, high-caution option, which implicitly steers an agent away from casual use. However, it gives no explicit when-to-use condition, no prerequisite checks, and does not point to update-product or another sibling when the agent merely wants to hide or retire a product.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.