Skip to main content
Glama
PyMC Marketing MCP

PyMC Marketing MCP

by funnelscript

Resume Job

resume_job
Idempotent

Resume an interrupted or failed job from its last valid checkpoint, avoiding repetition of completed work.

Instructions

Resume an interrupted or failed job from its last valid checkpoint without repeating completed work.

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": {
      "job_id": "<job_id>"
    },
    "name": "resume_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, so safety and repeat-call semantics are covered structurally. The description adds genuine value with 'from its last valid checkpoint without repeating completed work', but stays silent on what happens for a running or completed job, whether the call blocks, and how failure is reported.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One tight sentence with the key qualifier front-loaded and no filler. It could carry one more clause about returns or preconditions without becoming bloated.

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 simple one-parameter mutation, the description plus annotations cover the essentials, but the absence of any statement about the response or behavior on a non-resumable job leaves a small but real gap.

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 a single parameter, job_id, whose name is self-explanatory, but schema coverage is 0% and the description offers no clarification of its format or where to obtain it. Adequate by default for a one-parameter tool, not additive.

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 (resume) applied to a specific resource (job), and narrows scope to 'interrupted or failed' jobs. That implicitly separates it from cancel_job and get_job_status, though no sibling is named 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 precondition ('interrupted or failed job') implies when to call it, but there is no explicit when-not guidance, no mention of checking status first, and no named alternative for jobs that cannot be resumed.

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