Skip to main content
Glama
Shopify MCP Server

Shopify MCP Server

by morsimohsen

delete_product

Remove a product from a Shopify store using its ID to discontinue or clear outdated items from the catalog.

Instructions

Delete a product from the 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": {
      "id": "<id>"
    },
    "name": "delete_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProduct ID to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. For a destructive mutation it does not disclose permanence, reversibility, cascade effects on variants/collections/orders, required permissions, or whether the deletion is soft or hard, leaving significant operational risk unexplained.

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?

A single front-loaded sentence with no filler or redundancy. It is appropriately sized for the tool's simple one-parameter signature.

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?

Although the input schema is fully documented and the tool is structurally simple, a destructive operation with no annotations and no output schema needs more behavioral context. The definition omits consequences, prerequisites, and confirmation requirements that an agent should know before invoking 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 the schema already documents the single required "id" parameter as "Product ID to delete." The description adds no format, source, or validation detail beyond that baseline.

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 ("Delete") and resource ("a product"), which unambiguously distinguishes it from siblings like create_product, update_product, and get_product. An agent can identify the operation from the first phrase without opening the schema.

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?

Provides no when-to-use or when-not-to-use guidance, no mention of alternatives such as update_product or archival, and no prerequisites or warnings. The agent is left to infer that deletion is appropriate only when removal is intended.

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