Skip to main content
Glama

create_pull_request

Open a GitHub pull request from a feature branch to a base branch, with built-in branch safety validation to prevent unsafe merges.

Instructions

Open a Pull Request with built-in branch safety validation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
baseNoTarget base branch (default: 'main').
bodyNoPR description in markdown.
headYesFeature branch name containing changes.
repoYesTarget repository in 'owner/repo' format.
titleYesPull Request title.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one genuine behavioral trait beyond the schema: "built-in branch safety validation." However it never explains what that validation does, what happens when it fails, whether auth or special permissions are required, or what the call returns.

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; the validation hint is relevant rather than redundant. It is appropriately sized for its content, though it is so terse that it borders on under-specification rather than ideal conciseness.

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 no annotations and no output schema, the description is too thin: it omits what is created, what happens on validation failure, whether the resulting PR URL/number is returned, and any permission requirements. An agent has enough to attempt the call but not to predict its behavior.

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% for all 5 parameters, including the base default of 'main', so the schema already documents them fully. The description adds no syntax, format, or constraint detail beyond what the schema provides, which is the expected baseline.

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+resource ("Open a Pull Request"), making the action unambiguous and clearly distinct from read-oriented siblings like list_pull_requests or check_ci_status. It does not explicitly differentiate itself from create_issue or the other mutations, so it falls 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 or when-not-to-use guidance, no prerequisites, and no named alternatives among the siblings. Usage must be fully inferred from the tool name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.