Skip to main content
Glama

cancel_checkout

Stops an in-progress CartAI checkout task and prevents further execution; provide the taskId to halt ongoing checkout processes.

Instructions

Cancels an in-progress CartAI checkout task. Stops all ongoing checkout processes and prevents further execution. Requires only the taskId.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "taskId": "<taskId>"
    },
    "name": "cancel_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYesThe ID of the checkout task to cancel

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.6

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden and does useful work by saying it halts all ongoing processes and blocks further execution, making the destructive nature clear. It omits idempotency, permission requirements, and whether cancellation is reversible or what happens to a task already in a terminal state.

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

Conciseness4/5

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

Three short sentences with the action and effect front-loaded and nothing wasted. The closing 'Requires only the taskId' mildly restates the schema's required field, keeping it from a perfect score.

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

Completeness3/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 no annotations or output schema, the description covers what it does and what it stops, which is most of what an agent needs. It leaves gaps around return value, failure modes, and terminal-state behavior that a mutation tool with zero annotation coverage should ideally address.

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 exists and the schema documents it fully at 100% coverage, so the baseline is 3. 'Requires only the taskId' adds only marginal confirmation that no other input is needed.

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?

Names a specific verb and resource (cancels a checkout task) plus the qualifier 'in-progress', which distinguishes it from create_checkout and get_checkout by implication. It stops short of explicitly contrasting with a sibling, but the intent is unambiguous.

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 'in-progress checkout task' and 'prevents further execution' implies the calling condition, and no alternatives are required since only cancel_checkout performs this action. However, it never states what to do when the task has already completed or failed, and offers no prerequisites or exclusions.

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