Skip to main content
Glama

create_pull_request

Propose code changes by creating pull requests in any GitHub repository. Define source and target branches, add a title and description, and mark as draft if needed.

Instructions

Create a pull request in a repository

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
baseYesThe name of the branch you want the changes pulled into.
bodyNoThe contents of the pull request.
headYesThe name of the branch where your changes are implemented.
repoYes
draftNoIndicates whether the pull request is a draft.
ownerYes
titleYes
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. It only states that a pull request is created, but does not disclose potential side effects (e.g., CI triggers, branch requirements), permissions needed, or failure conditions. This is minimal transparency for a mutating action.

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?

The description is a single concise sentence with no wasted words, front-loading the primary action. However, it is extremely terse and omits potentially useful context, so it is concise but at the expense of completeness.

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 tool with 7 parameters, 5 required, no output schema, and no annotations, the description is inadequate. It does not explain required inputs, return value, or any operational nuances. The schema provides some parameter descriptions, but the overall tool context is under-specified.

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 57%, with 4 of 7 parameters described. The description itself adds no parameter meaning, and it fails to compensate for the undocumented parameters (owner, repo, title). It neither explains their purpose nor provides any additional semantic context beyond what the schema already has.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Create') and resource ('pull request') and location ('in a repository'), clearly distinguishing it from sibling tools like update_pull_request and merge_pull_request. It unambiguously states the tool's function.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the verb 'Create' and the sibling naming, but there is no explicit guidance on when to use this tool versus alternatives (e.g., update_pull_request, merge_pull_request). No contexts or exclusions are described.

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/shade-solutions/github-mcp-plus'

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