Cancel Prediction
cancel_predictionCancel a prediction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
cancel_predictionCancel a prediction.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description explicitly describes a state-changing action ('Cancel'), while the annotations declare readOnlyHint=true and destructiveHint=false. Cancelling a prediction is inherently a mutation, so the description directly contradicts the structured safety profile. No information about reversibility, required permissions, or side effects is provided.
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?
Three words are certainly concise and front-loaded, but this is under-specification rather than efficient conciseness given the mutation semantics and undocumented parameter. Nothing is wasted, yet nothing beyond the bare action is conveyed.
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?
With no output schema, no useful annotations (they are contradictory), and no parameter documentation, the description leaves the agent with too little to invoke this correctly. At minimum it should state where the prediction ID comes from and what cancelling entails.
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?
The single parameter 'id' has 0% schema description coverage, and the description adds no meaning — it does not say whether this is the prediction ID, where to obtain it, or what format it takes. The only assistance is the schema's example value, which the description does not reinforce.
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?
The description gives a specific verb ('Cancel') and resource ('a prediction'), so the action is unambiguous at a glance. However, it does nothing to distinguish this tool from its many siblings (prediction, create_prediction, list_predictions, create_deployment_prediction), and 'prediction' is an overloaded term in this toolset.
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?
There is no guidance on when to cancel versus inspecting a prediction first, no mention of the sibling tools that surface prediction IDs (list_predictions, prediction), and no prerequisite or eligibility conditions. The agent gets no routing information beyond the tool name.
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.