Skip to main content
Glama
Incident Lake MCP

Incident Lake MCP

Official
by sigq-io

cancel_scheduled_workflow

Destructive

Cancel a pending or scheduled workflow for an incident before it runs; only pending/scheduled workflows can be cancelled.

Instructions

Cancel a scheduled workflow for an incident. Only pending/scheduled workflows can be cancelled.

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": {
      "incidentId": "<incidentId>",
      "workflowId": "<workflowId>"
    },
    "name": "cancel_scheduled_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
incidentIdYesThe UUID of the incident
workflowIdYesThe UUID of the scheduled workflow to cancel
includeDrillsNoSet true to read or change a drill (exercise) incident. Omit to keep the default: drill incidents are hidden and return 404.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description adds the state restriction (pending/scheduled only), which is genuine behavioral context, but says nothing about what happens to the workflow after cancellation, failure modes when the state check fails, or required permissions.

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?

Two short sentences with the action front-loaded and the constraint immediately after; nothing is wasted or redundant.

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 three-parameter mutation with full schema documentation and no output schema, the definition covers purpose and eligibility. Only the post-cancellation effect and permission requirements are unstated, which is a minor gap given the annotations.

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%, including a detailed explanation of includeDrills and its drill-hiding/404 default, so the schema already carries parameter meaning. The description adds no additional parameter detail, which is the expected baseline when coverage is complete.

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 (Cancel) and resource (a scheduled workflow) scoped to an incident, which cleanly separates it from create_scheduled_workflow and list_scheduled_workflows among the siblings. It stops short of explicitly naming an alternative, but the purpose is unambiguous.

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 second sentence gives a real precondition: only pending/scheduled workflows can be cancelled, so an agent knows not to call this on running or completed workflows. It does not cover adjacent cases such as cancelling a portal request (cancel_my_portal_request), but the in-scope guidance is clear.

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