Skip to main content
Glama
MailOdds MCP Server

MailOdds MCP Server

Official
by mailodds

cancel_job

DestructiveIdempotent

Stops a running job and preserves partial results, allowing you to halt work without losing data already generated.

Instructions

Cancel a running job. Partial results are preserved.

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": "cancel_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, readOnlyHint=false and openWorldHint=true, so the safety profile is covered. The description adds a genuine, non-obvious behavioral fact beyond them: "Partial results are preserved" tells the agent the cancellation is not a total loss of work. It stops short of describing job state after cancellation or where the preserved results surface.

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 with zero filler, and the action statement is front-loaded ahead of the side-effect note. Every clause carries information an agent can act on.

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 one-parameter mutation with rich annotations and no output schema, the core is covered, but the follow-up path is missing: the definition never says where the preserved partial results can be retrieved or how job status changes after cancellation. Given the sibling set includes get_job_results and get_job_status, a routing sentence would materially improve it.

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

Parameters2/5

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

Schema coverage is 0%: job_id is typed as a bare string with no explanation, and the description says nothing about it. It does not say where to obtain a job_id (e.g. from create_bulk_job or get_job_status) or whether it accepts any job identifier regardless of state, so the single parameter's meaning is only inferable from its name.

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?

"Cancel a running job" gives a specific verb plus resource, so an agent immediately knows the action and target. It does not distinguish the job resource from the similarly named sibling cancel_campaign, nor clarify which job family (bulk/sync/validation) it applies to, leaving some ambiguity.

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 word "running" implies a precondition (the job must still be in progress), which is the only usage guidance offered. There is no advice on checking state first via get_job_status, no mention of retry_job or get_job_results as follow-ups, and no statement of what happens if the job already finished.

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