Skip to main content
Glama

Cancel a solve

cancel_solve
DestructiveIdempotent

Cancel a pending or running solve. Cancelled solves are not charged.

Instructions

Cancel a pending or running solve. Cancelled solves are not charged.

Input Schema

NameRequiredDescriptionDefault
idYesThe solve id (solve_…).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so safety is covered. The description adds genuine context beyond them: the billing consequence ('Cancelled solves are not charged') and the set of cancellable states.

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?

Two short sentences, zero filler, with the cancellable-state scope front-loaded before the billing note.

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 single-parameter mutation with full annotation coverage, the description supplies the essentials: scope of valid targets and cost implications. Only the outcome of cancelling a non-cancellable solve is left unstated.

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?

Only one parameter, and the schema documents it fully (100% coverage) including the 'solve_…' format. The description adds nothing about the id beyond what the schema states, so baseline 3 applies.

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 ('Cancel') and resource ('solve') with a scoping qualifier ('pending or running'). This distinguishes it from read-oriented siblings like get_solve and list_solves, though it doesn't name them explicitly.

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 phrase 'pending or running' implies the applicability condition, but the description never states what happens if the solve is already completed/failed, nor does it point to an alternative (e.g., report_solve_outcome) for such cases.

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