Skip to main content
Glama
@cmssy/mcp-server

@cmssy/mcp-server

Official

Cancel product bulk job

cancel_product_bulk_job
Destructive

Stops a queued or running product bulk job without undoing applied batches; it ends as failed/cancelled and cannot be resumed.

Instructions

Stop a queued or running background product bulk job. Batches already applied stay applied - a cancel does not undo them; no further batch runs. The job ends failed with failureReason cancelled and is not resumable. Needs the permission that starts a job of that kind (models:delete for a delete job, models:edit for an update job).

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": {
      "jobId": "<jobId>"
    },
    "name": "cancel_product_bulk_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesThe job id a start_bulk_*_products tool or get_product_bulk_job returned

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.148.0

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the destructiveHint=true annotation by spelling out exactly what the cancel does and does not destroy: already-applied batches stay applied, no further batch runs, the job terminates as failed with failureReason `cancelled`, and it cannot be resumed. It also discloses the prerequisite permission, which the annotations never convey. Nothing here contradicts the declared destructive/non-read-only profile.

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?

Four tight sentences, front-loaded with the action and its effect, then consequences, then the permission requirement. Every clause carries operational information; there is no restatement of the name or filler.

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

Completeness5/5

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

Single-parameter mutation with no output schema, and the description covers the outcome state, reversibility, residual effects, and authorization requirement. Nothing an agent needs in order to call this safely is missing.

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 coverage is 100% and the schema already explains that jobId is the id returned by a start_bulk_*_products or get_product_bulk_job call. The description adds only indirect context, tying the job kind encoded in jobId to the required permission, so the baseline 3 applies.

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 and resource ("Stop a queued or running background product bulk job") and pins the scope to queued/running jobs only. The clause "is not resumable" implicitly separates it from resume_product_bulk_job, so an agent can pick between them without opening the schemas.

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

Usage Guidelines4/5

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

Gives clear conditions for use: the job must be queued or running, and the caller must hold the same permission that starts that job kind, with concrete examples (models:delete, models:edit). It stops short of explicitly naming an alternative tool or a when-not case, so it is clear context without full exclusion guidance.

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