Skip to main content
Glama
discord-mcp

discord-mcp

workflow_cancel

Idempotent

Request cooperative cancellation of a durable workflow bound to a specific Discord profile and target, then return cancellation state so you can review any in-flight effect.

Instructions

Purpose: Request cooperative cancellation of a durable workflow bound to the exact profile and target. Returns: cancellation state; an in-flight Discord effect may still require outcome review.

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": {
      "id": "<id>",
      "target": "<target>"
    },
    "name": "workflow_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
targetYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.31.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly=false, idempotent=true, destructive=false, and openWorld=true. The description adds genuinely new behavioral context beyond those: cancellation is cooperative (a request, not a forced kill), it returns cancellation state, and an in-flight Discord effect may still require outcome review — an important caveat for a non-destructive but state-changing call.

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?

Two front-loaded sentences with explicit Purpose and Returns labels and no filler. The labeled structure is slightly formulaic but makes the key information scannable in a single pass.

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?

With an output schema present, return values need not be spelled out, and the annotations cover the safety profile for this mutation. The description supplies the cooperative-semantics and side-effect caveat an agent needs; only the nested target fields remain unexplained, which is a minor gap for a two-parameter tool.

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

Parameters2/5

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

Schema description coverage is 0% and the target is a nested object with four fields, so the description carries the burden. It only conveys that the workflow must match 'the exact profile and target,' leaving the meaning of bot_id, guild_id, channel_id, and the id pattern undocumented in both schema and description.

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 names a specific verb and resource ('Request cooperative cancellation of a durable workflow') and adds scoping ('bound to the exact profile and target'). An agent can distinguish this from workflow_start, workflow_resume, and workflow_status by the 'cancellation' framing, though no sibling is named explicitly.

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?

Usage is implied by the verb — call this to cancel a running workflow — but there is no explicit when-to-use versus when-not guidance and no mention of prerequisites or the alternative of letting a workflow finish. The word 'cooperative' hints that the workflow may not stop immediately, which is useful implied context.

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

Deploy Server

Other Tools