Skip to main content
Glama
@cmssy/mcp-server

@cmssy/mcp-server

Official

Resume product bulk job

resume_product_bulk_job
Destructive

Continue a failed product bulk job from the batch where it stopped without repeating applied batches; only resumable jobs qualify, and no other job can run on the model.

Instructions

Continue a failed background product bulk job from the batch it stopped at. Only a job whose resumable is true can be resumed - one that stopped on stalled, enqueueFailed or unexpected; a cancelled job or one that lost its model or patch cannot. Batches already applied are not repeated. A resumed delete job goes on deleting products permanently. Refused when another job is queued or running on the model. Needs the permission that starts a job of that kind (models:delete for a delete job, models:edit for an update job). Follow it with get_product_bulk_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": "resume_product_bulk_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesThe id of a failed job whose `resumable` is true (from get_product_bulk_job)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.148.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, and the description goes further by saying applied batches are not repeated and that a resumed delete job keeps deleting products permanently. It also discloses privilege requirements (models:delete versus models:edit) and the concurrency refusal condition, which are behaviors the annotations cannot express.

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?

The opening sentence front-loads the action and its resumption point, and each following sentence carries a distinct constraint (eligibility, non-repetition, permanent deletion, concurrency refusal, permission) with no filler. Density is high but every clause earns its place.

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?

For a single-parameter mutation with no output schema, the definition covers eligibility, side effects, permission requirements, concurrency refusal, and the follow-up read. An agent has everything it needs to decide whether to call it and what to expect.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for the single jobId parameter, so the baseline is already high, but the description still adds meaning by tying jobId to a job whose `resumable` is true and pointing at get_product_bulk_job as its source. That constraint is not fully captured in the schema's own note.

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?

The description states a specific verb and resource ('Continue a failed background product bulk job from the batch it stopped at'), which is precise about both the action and its resumption semantics. That clearly separates it from the start_* siblings and from get_product_bulk_job, which only reads job state.

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

Usage Guidelines5/5

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

The definition gives explicit positive conditions (the job's `resumable` must be true and it must have stopped on stalled, enqueueFailed or unexpected), explicit exclusions (cancelled jobs, jobs that lost their model or patch), and the refused-when-another-job-is-active rule. It also names the natural follow-up tool, get_product_bulk_job, so nothing about when to call it is left to inference.

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