Skip to main content
Glama
laveeshb

logicapps-mcp

by laveeshb

cancel_run

Cancel a running or waiting Azure Logic Apps workflow run. Identify the run using list_run_history or search_runs before cancellation.

Instructions

Cancel a running or waiting workflow run. Only runs in 'Running' or 'Waiting' status can be cancelled. For Standard SKU, workflowName is required. Use list_run_history or search_runs to find running runs first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
subscriptionIdYesAzure subscription ID
resourceGroupNameYesResource group name
logicAppNameYesLogic App resource name
runIdYesThe run ID to cancel
workflowNameNoWorkflow name (required for Standard SKU)
Behavior3/5

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

Discloses the key behavioral constraint (only cancels Running/Waiting runs) but lacks details on consequences, permissions, rate limits, or error handling. As no annotations exist, the description should do more to explain side effects.

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 sentences with no fluff. Front-loads the core action, then adds constraints and prerequisite guidance. Every sentence is valuable.

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?

Given no output schema and simple mutation operation, the description covers purpose, constraints, and prerequisite lookup. Missing information on return values or errors, but adequate for a cancellation tool.

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?

Schema covers parameters 100%, but description adds critical semantic info: workflowName is required for Standard SKU, which is not in the schema's required list. This extra context improves parameter understanding beyond schema.

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?

Clearly states the tool cancels running/waiting workflow runs with specific verb and resource. Does not explicitly differentiate from sibling tools like resubmit_run or search_runs, but the status conditions help distinguish.

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?

Provides explicit conditions for cancellation (only Running or Waiting status) and suggests finding runs first using list_run_history or search_runs. Also notes the requirement for workflowName in Standard SKU, giving clear contextual guidance.

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/laveeshb/logicapps-mcp'

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