Skip to main content
Glama

Cancel Batch Job

mistral_cancel_batch_job
Idempotent

Cancel a running Mistral batch job by its job ID to stop processing and free up resources.

Instructions

Cancel a batch job.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYesJob ID to cancel

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the safety profile is partially covered structurally. The description adds nothing beyond this — it doesn't say what happens to an in-flight job, whether cancellation is reversible, or what terminal state results.

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

Conciseness3/5

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

A single short sentence is front-loaded and wastes no words, but its brevity reflects under-specification rather than disciplined conciseness. It is minimally viable, not optimal.

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

Completeness2/5

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

For a mutation-style operation with no output schema, the description should explain the effect of cancellation (job state after cancel, whether running requests are aborted). It omits this entirely, leaving the agent to guess at outcomes.

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 with 100% schema description coverage ('Job ID to cancel'), so the schema fully documents it. The description contributes no additional parameter meaning, which is the expected baseline when coverage is complete.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Cancel a batch job' is a verbatim restatement of the tool name and title, adding no scope, target, or distinguishing detail. An agent learns nothing beyond what the name already conveys.

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

Usage Guidelines2/5

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

There is no indication of when to cancel versus alternatives such as mistral_delete_batch_job (if it existed) or the sibling mistral_cancel_fine_tuning_job, nor any preconditions. Usage must be inferred entirely from the name.

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