Skip to main content
Glama

github_agent_merge_put_agent_merge_enrollment

Idempotent

Updates Agent Merge configuration for a pull request, enabling changes to enrollment settings through the GitHub REST API.

Instructions

Update 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_put_agent_merge_enrollment"
  }
}

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

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and openWorldHint=true, and 'Update' is consistent with that profile, so no contradiction. The description adds nothing beyond the annotations, though: it does not say what an update replaces, whether omitted fields are cleared, or what permissions/scope the caller needs for an open-world 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?

The single sentence is front-loaded and free of filler, so it is concise. Its brevity comes at the cost of under-specification rather than efficiency, leaving it merely adequate.

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 mutation tool with an untyped nested request body and no output schema, the description should explain at least the body contract or the response. Neither is present, so an agent cannot construct a valid call from this definition alone.

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 property descriptions are bare name repetitions ('repo', 'owner', 'pull_number') and the fourth parameter is a fully unconstrained JSON body ({type: object, additionalProperties: {}}). The description supplies none of the body's expected fields or shape, which is precisely the information the schema cannot provide.

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 names a specific verb (Update) and resource (Agent Merge configuration) scoped to a pull request, which is more informative than the raw tool name. However, it never distinguishes this write path from the sibling read/delete enrollment tools, and 'configuration' is vaguer than the 'enrollment' resource the name implies.

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 precondition (e.g. must an enrollment already exist?), and no mention of the sibling github_agent_merge_get/delete_agent_merge_enrollment tools that an agent would need to inspect or remove an enrollment. The agent must infer everything 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