Skip to main content
Glama

cancel_automation

Idempotent

Cancel a running automation by its cancelation_token. This invokes a second ad-hoc automation with a single cancel step. The token must match the cancelation_token set when the original automation was started. Note: spelling is "cancelation_token" (single "l").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cancelation_tokenYesThe cancelation_token that was set when the automation was originally invoked

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

The description adds valuable behavioral details beyond annotations: it reveals that cancellation works by invoking a second ad-hoc automation with a single cancel step, which is non-obvious and useful. The spelling note also helps avoid invocation errors. Annotations already cover idempotence and non-destructive nature, so the bar is partially lowered.

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?

The description is concise and front-loaded with the core purpose. Four sentences are used, but each earns its place: the cancellation mechanism, the token matching prerequisite, and the spelling note are all relevant. Minor redundancy exists between 'cancelation_token' appearing in the first and third sentences.

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 simple one-parameter tool, the description is largely complete: it explains the action, the mechanism, and the token requirement. The lack of an output schema is acceptable since return values are not critical for invocation. It could briefly mention when not to use it, but this is not a significant gap.

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?

The input schema already documents the single parameter with 100% coverage. The description reinforces the matching requirement and adds a spelling clarification, but does not substantially expand parameter semantics beyond what the schema provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states an unambiguous action ('Cancel a running automation') and specifies the exact resource and identifier mechanism ('cancelation_token'). It clearly differentiates from sibling tools like cancel_journey and cancel_message by targeting automations specifically.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context: use this tool to cancel a running automation, and the token must match the original cancelation_token. It does not explicitly exclude other scenarios or name alternatives, but the context is clear enough for correct selection.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources