Cancel a batch job
together_cancel_batchCancel a batch job that has not finished. Together: POST /batches/{id}/cancel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | Yes | The batch job id. |
together_cancel_batchCancel a batch job that has not finished. Together: POST /batches/{id}/cancel.
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | Yes | The batch job id. |
Changes observed during successful MCP inspections.
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare destructiveHint=true, so the agent knows this is a mutating operation. The description adds the precondition that the job must not have finished plus the underlying endpoint, but says nothing about idempotency, whether partial results are lost, or what happens if the job already completed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, action and precondition front-loaded, with the endpoint reference appended compactly. Nothing is wasted.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-parameter mutation with annotations covering the destructive profile and no output schema, this is nearly sufficient. The main residual gap is behavior on already-finished or nonexistent jobs.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% for the single batch_id parameter, so the schema already carries the full parameter meaning. The description adds no format or example detail beyond it, which is the expected baseline.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (Cancel) and resource (batch job), and the name itself separates it from the sibling together_cancel_fine_tune. It does not explicitly name the alternative, so it stops short of full sibling differentiation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The clause 'that has not finished' implies the applicable precondition, but there is no explicit when-to-use/when-not guidance and no mention of alternatives such as together_cancel_fine_tune or together_get_batch for status checks.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.