Skip to main content
Glama

create_feature_branch_pr

Combine branch creation, file changes, commit, push, and PR opening into a single operation for efficient 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?

No annotations provided, so description bears full burden. It clearly describes the multi-step behavior and default for base_branch. However, it does not mention potential side effects or error conditions.

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 concise and front-loaded with the main purpose. However, it could be slightly more structured to include parameter details without losing brevity.

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?

The description adequately covers purpose and usage guidelines but fails to explain parameters or output, given the tool's complexity (11 params, 8 required). More detail would be beneficial.

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 description coverage is only 9%, yet the description only elaborates on base_branch default. Other critical parameters (files, repo_path, etc.) are not explained, leaving ambiguity.

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 states it performs the complete contribution workflow: create branch, apply changes, commit, push, and open a PR. It clearly distinguishes from sibling tools like create_feature_branch and create_pull_request.

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?

Explicitly advises when to use ('complete contribution workflow'), recommends it for code contributions, mentions prerequisite ('require repo cloned'), provides alternative ('use update_feature_branch'), and lists related tools.

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