Skip to main content
Glama

github_agent_merge_get_agent_merge_enrollment

Read-only

Retrieves the Agent Merge enrollment and configuration for a specified pull request, helping you check whether automated agent merging is enabled for that PR.

Instructions

Get Agent Merge configuration 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_get_agent_merge_enrollment"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesrepo
ownerYesowner
pull_numberYespull_number

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond that: no mention of permissions required, whether an unenrolled PR returns an empty result or an error, or any rate-limit behavior. For an open-world read whose failure mode matters, this leaves the agent without behavioral context.

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 wasted words; the resource and scope come first. It is efficient but extremely terse, leaving no room for the disambiguating clause that would make it self-sufficient.

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?

The tool has no output schema, so the description should convey what an "Agent Merge configuration" actually contains and what happens when no enrollment exists — it conveys neither. Against 3 required parameters and an open-world read, the definition is under-specified for correct invocation in edge cases.

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 three required parameters are already documented in the schema and a baseline of 3 applies. The description only implies that pull_number/owner/repo identify the PR; it adds no format, casing, or identifier-scheme detail beyond the schema.

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 uses a specific verb ("Get") plus a named resource ("Agent Merge configuration") scoped to "a pull request", so the agent knows this is a read of PR-level merge configuration. It does not explicitly distinguish itself from the sibling put/delete enrollment tools or the pulls merge tools, so it stops short of a 5.

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 when-to-use guidance, no prerequisites, and no named alternative. The agent must infer from the verb alone that this is the read counterpart to the enrollment put/delete siblings, which is a reasonable inference but not stated by the definition.

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