Skip to main content
Glama

github_repos_cancel_pages_deployment

Cancels a GitHub Pages deployment using owner, repository, and deployment ID to stop an unwanted or stuck Pages deployment.

Instructions

Cancel a GitHub Pages deployment

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": {
      "owner": "<owner>",
      "repo": "<repo>",
      "pages_deployment_id": "<pages_deployment_id>"
    },
    "name": "github_repos_cancel_pages_deployment"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesrepo
ownerYesowner
pages_deployment_idYespages_deployment_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.4
  2. Removed
  3. Addedv1.0.2

TDQS

B3.1/5.0
Behavior2/5

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

No annotations provided, so the description carries full burden. It only says 'Cancel', omitting side effects (e.g., whether it stops a build, removes the site, or is idempotent), required permissions, or return behavior.

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?

Extremely concise (3 words) and front-loaded, but lacks important details that would justify a 5. Every word earns its place, but the description could benefit from brevity with more context.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, but the description does not clarify return values or success conditions. For a mutation operation, more context is needed to ensure the agent understands the outcome.

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 coverage is 100% with each parameter described (owner, repo, pages_deployment_id). The description adds no additional meaning beyond the schema, meeting baseline expectations.

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 'Cancel a GitHub Pages deployment' uses a specific verb (Cancel) and resource (GitHub Pages deployment), clearly distinguishing it from sibling tools like github_repos_get_pages_deployment or github_repos_create_pages_deployment.

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?

No guidance on when to use this tool, prerequisites (e.g., deployment must be active), or alternatives. The description offers no context about appropriate scenarios for cancellation.

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