Skip to main content
Glama

github_agent_merge_delete_agent_merge_enrollment

DestructiveIdempotent

Disables Agent Merge for a pull request in a GitHub repository, letting you turn off automated agent-driven merges by specifying the owner, repo, and pull request number.

Instructions

Disable Agent Merge for a pull request

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_agent_merge_delete_agent_merge_enrollment"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesrepo
ownerYesowner
pull_numberYespull_number

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the mutation profile is known without the description. The description confirms the disable action but adds nothing about permissions required, effect on in-flight merges, or how to re-enable (the put sibling) — it neither extends nor contradicts the annotations.

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?

A single front-loaded sentence with no filler or redundancy. It is lean, though the leanness is closer to under-specification than to disciplined editing.

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 three-required-parameter destructive toggle, the definition is minimally viable: schema and annotations carry parameter and safety information, and no output schema exists to explain. It leaves out what "Agent Merge" controls and the re-enable path, which an agent making a destructive call would benefit from knowing.

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 required and schema description coverage is 100%, so the schema fully documents them. The description adds no extra meaning such as whether pull_number is numeric-string, whether owner/repo accept org-qualified forms, or what an enrollment identifier looks like; baseline 3 applies.

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 ("Disable") and a specific resource ("Agent Merge") scoped to a pull request, so an agent can tell it is a state-changing operation on a PR-level feature. It does not reference the sibling enrollment tools, so differentiation comes only from 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?

No when-to-use guidance, no preconditions, and no mention of the counterpart tools that read or create the enrollment. An agent must infer from naming that this is the inverse of the put/get enrollment siblings.

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