Skip to main content
Glama

github_pull_request_stacks_unstack

Removes pull requests from a pull request stack in a GitHub repository by specifying the owner, repo, and stack number.

Instructions

Remove pull requests from a pull request stack

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>",
      "stack_number": "<stack_number>"
    },
    "name": "github_pull_request_stacks_unstack"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesrepo
ownerYesowner
stack_numberYesstack_number

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, so the mutating nature is known. Beyond that, the description adds nothing: it does not say whether removal is reversible, whether PRs are detached only or otherwise affected, what happens if a PR is not in the stack, or which permissions are required — significant gaps for a destructive mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler, which is good, but it is terse to the point of under-specification given the ambiguity about which PRs are affected.

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?

For a mutating, open-world tool with no output schema, the definition should explain the effect and the target selection. Instead the description leaves the central question — which pull requests get removed and how — unanswered relative to the supplied parameters.

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%, so the baseline of 3 applies. The schema field descriptions merely restate the field names, and the description does not clarify the expected format of stack_number (typed string) or how the target PRs are identified — a real gap given the tool claims to act on pull requests that appear nowhere in the parameters.

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?

States a specific verb and resource ('Remove pull requests from a pull request stack'), which cleanly distinguishes it from the sibling stacks_add/create/get/list tools. However, it does not say which pull requests are removed, and the schema contains no PR identifier, leaving the actual scope of the removal ambiguous.

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 versus github_pull_request_stacks_add or the get/list tools, and no preconditions (must the stack already exist, must the PRs currently be in the stack?). The agent must infer usage entirely from the name.

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