Skip to main content
Glama

update_feature_branch

Push new changes to an existing feature branch by adding a commit with file modifications and updating the remote branch.

Instructions

Use this when you need to push additional changes to an existing feature branch or open PR. Modifies the branch by adding a new commit with file changes and pushing. Requires 'repo_path', 'branch_name', 'files', and 'commit_message'. The branch must already exist locally. See also: create_feature_branch_pr.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_pathYesRepository path relative to workspace (e.g. 'myrepo')
branch_nameYes
filesYes
commit_messageYes
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 and adequately discloses the mutation behavior (adding commits, pushing) and prerequisite state (local existence). It misses potential error conditions (e.g., conflicts, remote rejection) and authentication requirements, but covers the core operational mechanics sufficiently for a git workflow tool.

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?

Five sentences efficiently cover use case, mechanics, parameter requirements, constraints, and cross-references without redundancy. The front-loaded use case ('Use this when...') followed by technical details provides excellent scannability.

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

Completeness4/5

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

Given the mutation complexity and lack of output schema, the description covers the essential workflow, prerequisites, and sibling relationships well. It could be improved by describing success indicators or error behaviors since no output schema exists, but it provides sufficient context for an agent to invoke the tool correctly.

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?

While the description lists all four required parameters by name, it adds minimal semantic meaning beyond the schema, which only has 25% description coverage (repo_path only). It hints that 'files' contains changes for the commit and 'commit_message' is for that commit, but fails to explain the complex structure of the 'files' array (objects with path/content/mode), leaving a significant documentation gap.

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 clearly states the tool 'Modifies the branch by adding a new commit with file changes and pushing,' using specific verbs (modifies, adding, pushing) and the resource (branch). It effectively distinguishes from siblings by emphasizing 'existing feature branch' versus creation, and explicitly references 'create_feature_branch_pr' to clarify scope.

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 when-to-use guidance ('Use this when you need to push additional changes to an existing feature branch'), clear prerequisites ('The branch must already exist locally'), and explicitly names an alternative tool ('See also: create_feature_branch_pr'), giving the agent clear decision criteria.

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