Skip to main content
Glama

ordercloud.products.delete

Delete an OrderCloud product by ID, with an optional dryRun mode to validate what would be removed before persisting any change.

Instructions

Delete an OrderCloud product by ID. Use dryRun: true to validate without deleting.

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": "ordercloud.products.delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
dryRunNoIf true, return what would be deleted without persisting
productIdYesThe product ID to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses the dryRun safety valve, which is genuinely useful, but omits the critical facts for a destructive operation: whether deletion is permanent, what happens to dependent data (variants, price schedules, assignments, line items referencing the product), and what permissions are required.

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, front-loaded with the operation and followed by the one actionable tip. No filler or redundant restatement.

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

Completeness3/5

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

For a two-parameter tool with a complete schema, much is already covered. But a destructive operation with zero annotation coverage and no output schema should say more about irreversibility and side effects before an agent commits to calling 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%, with both productId and dryRun fully documented in the schema, so the baseline is 3. The description's mention of dryRun adds a recommended workflow rather than new parameter semantics, so it does not exceed the baseline.

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 and resource with a scope qualifier: 'Delete an OrderCloud product by ID.' The 'by ID' phrasing implies single-record deletion, which implicitly contrasts with the bulk delete sibling, though it never names that alternative explicitly.

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?

The description gives one concrete usage pattern — passing dryRun: true to validate before deleting — which is useful. However, it never says when to choose this tool over ordercloud.bulk.products.delete, nor does it state any precondition such as required scopes or whether the product must be unassigned first.

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

Deploy Server

Other Tools