Skip to main content
Glama

create_feature_branch_pr

Create a feature branch, apply file changes, commit, push, and open a pull request in one operation for streamlined code contributions.

Instructions

Use this when you want the complete contribution workflow in one operation: create branch, apply file changes, commit, push, and open a PR. This is the recommended tool for code contributions. Requires the repository to already be cloned locally (use git_clone first). base_branch defaults to 'main'. Use update_feature_branch to add commits to an existing branch/PR instead. See also: git_clone, update_feature_branch, create_pull_request.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_pathYesRepository path relative to workspace (e.g. 'myrepo')
ownerYes
nameYes
branch_nameYes
base_branchNo
filesYes
commit_messageYes
pr_titleYes
pr_descriptionYes
assigneesNo
labelsNo
Behavior4/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 effectively discloses the compound nature of the operation (five distinct git actions in one) and prerequisites (local clone required). It implies idempotency constraints by directing users to update_feature_branch for existing branches. Minor gap: does not specify failure modes or rollback behavior if partial operations succeed.

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

Conciseness5/5

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

Four efficient sentences convey workflow scope, recommendation status, prerequisites, default behavior, alternative tools, and related references. Information is front-loaded with the primary use case and zero redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-parameter tool performing complex multi-step mutations with no output schema, the description adequately explains the workflow intent but leaves significant gaps in parameter semantics and return value documentation. It meets minimum viability for agent selection but requires schema improvement for full completeness.

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 coverage is critically low at 9%. The description compensates by documenting the base_branch default and implying the files parameter through 'apply file changes.' However, it fails to explain critical parameters like owner/name (repository identification distinct from repo_path), the integer type for labels, or the structure of the files array items.

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 explicitly defines the tool's scope as the 'complete contribution workflow in one operation: create branch, apply file changes, commit, push, and open a PR.' It clearly distinguishes this from siblings by specifying it is the 'recommended tool for code contributions' versus using update_feature_branch for existing branches or git_clone for initial setup.

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

Usage Guidelines5/5

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

Provides explicit prerequisites ('Requires the repository to already be cloned locally'), default values ('base_branch defaults to main'), when-not-to-use guidance ('Use update_feature_branch to add commits to an existing branch/PR instead'), and references related tools ('See also: git_clone, update_feature_branch, create_pull_request').

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/gitopia/gitopia-mcp-server'

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