Skip to main content
Glama

create_pull_request

Open a new GitHub pull request to merge code changes. Define repository, source branch, target branch, plus optional title, markdown body, and draft flag to initiate code review.

Instructions

Create a pull request.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
baseNoBranch to merge into (defaults to the repository's default branch).
bodyNoPR body in Markdown (optional).
headYesBranch containing the changes ("branch", or "owner:branch" for forks).
repoYesRepository as "owner/repo".
draftNoCreate as a draft PR (default false).
titleYesPR title.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only says 'Create a pull request' and gives no insight into side effects, required permissions, or what happens on failure. It is not misleading but is extremely sparse.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence but is under-specified rather than concise. It adds no value beyond the tool's name and fails to earn its place by providing useful context.

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 6-parameter mutation tool with no annotations, this description is inadequate. It does not explain the workflow, any constraints, or expected outcomes. The output schema exists, but the description still needs to provide context that the structured fields cannot.

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 schema already documents all parameters with meaningful descriptions. The tool description adds no parameter information, but the baseline of 3 is appropriate since the schema handles the heavy lifting.

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 clearly states the action (create) and the resource (pull request), which is specific. However, it does not distinguish from sibling tools like list_pull_requests or get_pull_request, nor does it mention any scope or constraints, 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?

No guidance is provided on when to use this tool versus alternatives. The description does not mention context, prerequisites, or any exclusions, leaving the agent without direction.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/awernick/github-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server