Skip to main content
Glama

github_pull_request_stacks_add

Add pull requests to a pull request stack so related PRs can be managed together; provide owner, repo, and stack number.

Instructions

Add pull requests to 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_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body (JSON object)
repoYesrepo
ownerYesowner
stack_numberYesstack_number

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations only declare readOnlyHint=false and openWorldHint=true, which establishes this is a mutating external call but says nothing more. The description does not disclose what the mutating effect is, whether additions are idempotent when a PR is already in the stack, what happens to existing stack entries, or whether write permissions on the repository are required.

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?

The single sentence is front-loaded and free of padding, which is appropriate in form. Its brevity comes at the cost of substance rather than from efficient packaging, so it earns only a middling score.

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 tool taking a free-form nested body object with no output schema, the description leaves the most consequential element, the shape of body, entirely unexplained. Combined with absent usage guidance and behavioral disclosure, an agent would have to guess at invocation details.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is nominally 100%, but the parameter descriptions are bare restatements of the property names ("owner", "repo", "stack_number"), and body is only described as "Request body (JSON object)" with additionalProperties unconstrained. The description adds no meaning about which field carries the pull request identifiers or in what format, which is the single most important thing an agent needs to call this correctly.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description pairs a specific verb ("Add") with a specific resource ("pull requests to a pull request stack"), so the operation is identifiable. However, it is essentially a rephrasing of the tool name and gives no detail about scope, such as whether it appends to an existing stack by number or what identifying data the PRs need.

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?

There is no statement of when to use this versus the sibling operations github_pull_request_stacks_create, github_pull_request_stacks_unstack, or github_pull_request_stacks_get. No preconditions (stack must exist, PRs must belong to the same repo) are mentioned, leaving the agent to infer the workflow from the name alone.

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