Skip to main content
Glama
lockround

GitHub Actions MCP Server

by lockround

cancel-workflow-run

Destructive

Cancel a running GitHub Actions workflow to stop unnecessary builds and free up resources. Provide the repository owner, name, and run ID to halt the workflow immediately.

Instructions

Cancel a running GitHub Actions workflow.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYesRepository name
ownerYesRepository owner
run_idYesThe workflow run ID to cancel
Behavior3/5

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

Annotations already declare destructiveHint=true, covering the destructive nature. The description adds only the 'running' state constraint, which is useful but does not explain irreversibility, permission requirements, or consequences. No contradiction with annotations exists.

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 direct sentence with no filler. The verb and target are front-loaded, making the purpose immediately clear.

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?

For a simple three-parameter cancellation operation, the schema and destructiveHint cover the essential arguments and risk profile. However, the description omits usage context, validity conditions, and any indication of the response behavior. It is adequate but not complete.

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?

All three parameters are fully described in the input schema with 100% coverage and all are required. The description adds no additional parameter-level meaning, but the schema already carries the semantic weight. Baseline 3 is appropriate.

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?

States a specific verb and resource: 'Cancel a running GitHub Actions workflow.' The action is unambiguous and clearly distinct from sibling tools like trigger-workflow or get-workflow-run. The minor use of 'workflow' rather than 'workflow run' is acceptable given the tool name.

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?

Provides no guidance about when this tool should be used versus alternatives, when cancellation is valid, or whether there are prerequisites or exclusions. The only usage signal is the word 'running,' which is not elaborated.

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/lockround/github-actions-mcp'

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