Skip to main content
Glama
dandyer

jobkeepr-mcp

Cancel a job

cancel_job
Destructive

Cancel a scheduled field service job by customer name or job ID; sets status to canceled without deleting data.

Instructions

Cancel a scheduled job by setting its status to CANCELED. No data is deleted. Provide customerName (finds most recent scheduled job) OR jobId (exact match). Use customerName when user mentions a customer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jobIdNoOnly use if you have the exact job ID.
customerNameNoALWAYS use this when user mentions a customer name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.2
  2. Removedv1.0.0
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety profile is covered. The description adds meaningful context beyond that: cancellation is a status change to CANCELED and 'No data is deleted,' clarifying that the destructive hint does not mean data loss.

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?

Three short sentences, front-loaded with purpose, then side effect, then parameter routing. Every sentence carries distinct information with no redundancy or filler.

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

Completeness4/5

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

For a cancel mutation with annotations and no output schema, the description covers purpose, side effect, and parameter routing. It omits what happens if neither identifier is supplied (required list is empty) and does not mention the close_jobs alternative, leaving a small gap.

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%, so baseline is 3, but the description adds real meaning: customerName resolves to the most recent scheduled job (fuzzy lookup) while jobId is an exact match, and it frames the two as alternatives (OR). This goes beyond the schema's terse per-parameter notes.

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 ('Cancel a scheduled job') plus the mechanism ('setting its status to CANCELED'), so the agent knows exactly what happens. It does not distinguish itself from siblings such as close_jobs or reschedule_job, so it falls short of the top score.

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 routes the agent between the two parameters ('Use customerName when user mentions a customer'), which is useful selection guidance, but never says when to cancel versus close_jobs or reschedule_job. Usage is implied rather than explicitly scoped against alternatives.

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