cancel_protocol_run
Cancel a protocol run. Cannot be cancelled once completed or already cancelled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | Protocol run ID to cancel |
Cancel a protocol run. Cannot be cancelled once completed or already cancelled.
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | Protocol run ID to cancel |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=false and destructiveHint=false, so safety is covered, and the description adds real behavioral context by disclosing the terminal-state constraint on cancellation. It stops short of saying whether cancellation is reversible, idempotent, or permission-gated.
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, front-loaded with the action and followed immediately by the constraint. Every clause earns its place with zero filler.
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 tool with no output schema, the action and its precondition are sufficient to invoke it correctly. A brief note on the effect of a successful cancellation (state transition, return value) would close the remaining gap.
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?
There is only one parameter and schema coverage is 100%, with the schema describing it as 'Protocol run ID to cancel'. The description adds no format, naming, or sourcing detail beyond that, so the baseline 3 applies.
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 and resource (cancel a protocol run), which is unambiguous on its own. However, it does nothing to distinguish itself from close siblings like pause_protocol_run, resume_protocol_run, or start_protocol_run that operate on the same resource.
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 second sentence gives a useful precondition (not completed, not already cancelled), which implies when not to call it. But it never names an alternative action or tells the agent how cancellation differs from pausing, so routing between the lifecycle siblings remains guesswork.
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.