Skip to main content
Glama

workflow_abort

Cancel an active workflow by its run ID and optionally supply a reason for stopping execution.

Instructions

Abort a running workflow

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": {
      "runId": "<runId>"
    },
    "name": "workflow_abort"
  }
}

Input Schema

NameRequiredDescriptionDefault
runIdYesWorkflow run ID
reasonNoAbort reason

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden and discloses almost nothing: not whether the abort is graceful or forced, whether in-flight tasks are cancelled, whether the action is reversible, or what happens if the run has already finished. For an irreversible-looking mutation, this is a substantial gap.

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 single sentence is front-loaded and free of padding, which suits a two-parameter tool. It is arguably too terse for a mutation with real consequences, but there is no wasted wording to trim.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No annotations, no output schema, and a destructive-sounding operation leave the agent without essential context: expected response, error behavior for non-running runs, and post-abort state. The definition is not complete enough for an agent to invoke this confidently.

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?

Schema description coverage is 100% and both parameters (runId, reason) are documented in the schema, so the baseline of 3 applies. The description adds no meaning beyond the schema, such as whether reason is recorded in an audit log or surfaced to the workflow.

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?

"Abort a running workflow" names a specific verb (abort) and resource (workflow) with a scope qualifier (running), so the action is unambiguous. It does not, however, distinguish itself from plausible siblings like workflow_resume or workflow_run, so an agent must infer the boundary from names alone.

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

Usage Guidelines2/5

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

There is no guidance on when to call this versus workflow_resume, workflow_status, or workflow_run, and no stated preconditions such as "only valid when status is running." The single scope word "running" is the only hint about applicability.

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