Skip to main content
Glama
dbos-inc

DBOS MCP Server

Official
by dbos-inc

bulk_cancel_workflows

Cancel multiple workflows at once by setting their status to CANCELLED, halting each at its next step boundary. Provide application name and workflow IDs; optionally cancel child workflows.

Instructions

Cancel multiple workflows at once.

Sets each workflow's status to CANCELLED. Each workflow will stop executing at its next step boundary.

Args: application_name (string, required): Name of the DBOS application workflow_ids (array of strings, required): IDs of the workflows to cancel cancel_children (bool, optional): Also cancel child workflows started by these workflows (default: false)

Returns: message (string): Confirmation message count (int): Number of workflows cancelled

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workflow_idsYes
cancel_childrenNo
application_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries full burden. It discloses key behavioral traits: 'Sets each workflow's status to CANCELLED' and 'Each workflow will stop executing at its next step boundary.' This goes beyond a simple 'cancel' and explains mutation and execution behavior. It could mention prerequisites or failure modes, but the given details are useful.

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?

The description is well-structured: a one-sentence summary, a behavioral explanation, an Args list, and a Returns list. Each section earns its place, providing essential information without fluff. It is appropriately sized for a bulk operation tool with three parameters.

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?

The description covers the tool's function, behavior, parameters, and return values ('message' and 'count'). It does not mention authentication requirements or potential partial-failure scenarios, but these are common to the tool family. Given the presence of a return schema and the clarity of execution semantics, the description is largely complete. A small gap is the lack of note about prerequisites like login, but this is not critical.

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

Parameters5/5

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

The input schema has no descriptions (0% coverage), but the description's 'Args' section explains each parameter: application_name is 'Name of the DBOS application', workflow_ids are 'IDs of the workflows to cancel', and cancel_children is 'Also cancel child workflows started by these workflows (default: false)'. This adds meaning beyond the schema's titles and fully compensates for the lack of schema descriptions.

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 starts with a specific verb+resource: 'Cancel multiple workflows at once.' This clearly states the tool's function and distinguishes it from the sibling 'cancel_workflow' (single cancellation). The scope is explicitly batch, which differentiates it effectively.

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 implies usage context by stating 'Cancel multiple workflows at once,' making it clear this is for bulk operations. However, it does not explicitly name alternatives (e.g., 'use cancel_workflow for a single workflow') or exclusions. The context is clear, but exclusions are absent.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dbos-inc/dbos-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server