Skip to main content
Glama

github_pulls_merge_async

Idempotent

Merge a GitHub pull request asynchronously by specifying owner, repository, and pull number, enabling non-blocking merge operations from automated workflows.

Instructions

Merge a pull request asynchronously

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>",
      "pull_number": "<pull_number>"
    },
    "name": "github_pulls_merge_async"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body (JSON object)
repoYesrepo
ownerYesowner
pull_numberYespull_number

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, open-world, idempotent operation, so the safety profile is covered. The description adds a meaningful behavioral trait by saying the merge happens asynchronously, but it does not explain that this likely starts a job requiring polling via github_pulls_get_merge_async_result, nor what happens on failure.

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?

The single sentence is front-loaded and contains no filler. It is perhaps overly terse for an async mutation tool, but it is appropriately concise.

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 an asynchronous mutation with a free-form request body, no output schema, and a sibling dedicated to retrieving the async result, the description is missing critical context. It does not explain the async result retrieval flow, the expected body contents, or when to prefer the synchronous merge alternative.

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 description coverage is 100%, so the parameters are already documented by the schema and baseline 3 applies. The description adds no meaning about the generic body object or merge-specific options beyond what the schema provides.

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?

The description states a specific verb and resource, 'Merge a pull request,' and the qualifier 'asynchronously' distinguishes it from the synchronous merge sibling. It is clear what action the tool performs, though it does not explain the async lifecycle or its relationship to the result-fetching sibling.

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 explicit guidance on when to use this async merge rather than github_pulls_merge, nor any mention of prerequisites such as pull request mergeability or authentication. The async qualifier hints at non-blocking behavior, but the agent is left to infer when this tool is appropriate.

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