Skip to main content
Glama

stop-current-workflow

Stops a running workflow after its current step completes, allowing controlled termination without interrupting the active step.

Instructions

Stop workflow execution after current step

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "stop-current-workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.8

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It does disclose the important trait that termination is graceful — the current step is allowed to finish — which is real value beyond the name. However, it says nothing about whether the stop is reversible, what happens to queued or pending work, required permissions, or what error occurs if no workflow is running.

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?

A single five-word sentence with the key scoping constraint front-loaded and no filler. Nothing could be removed without losing meaning.

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?

The tool is simple (zero parameters, no nested objects), but with no annotations and no output schema the description is the only source of behavioral detail. It covers the core semantics but leaves the agent without confirmation of outcome, reversibility, or failure modes for a state-changing operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is nothing for the description to disambiguate beyond the empty schema. Baseline 4 applies; the description's only relevant addition is that no target workflow identifier is needed, implying it acts on the caller's current execution.

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?

The description gives a specific verb and resource ('Stop workflow execution') plus a meaningful scope qualifier ('after current step'), so an agent knows this is a graceful stop rather than a hard kill. It does not name or contrast with sibling tools such as abort-pending-workflow or pause-and-resume, so sibling differentiation is left to inference.

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 explicit when-to-use guidance, no when-not-to-use condition, and no named alternative. An agent must guess whether this is the right choice versus abort-pending-workflow (likely immediate termination) or pause-and-resume (likely reversible). The 'after current step' phrase hints at the distinction but never states it.

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