Skip to main content
Glama

Create Branch

lyzr_git_create_branch

Create a new branch in an agent's git repository to isolate development work, optionally from a specific source branch.

Instructions

Create a new branch in an agent's git repo.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYesAgent id
branch_nameYesName of the new branch
from_branchNoBranch to create the new branch from
Behavior3/5

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

Annotations already indicate a non-read-only, non-destructive operation, and the description does not contradict them. However, the description adds minimal behavioral context beyond annotations—it doesn't explain what happens if the branch already exists, whether from_branch defaults to the current branch, or whether the new branch becomes active after creation.

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?

The description is a single, focused sentence with no wasted words. It front-loads the action and includes the key scope ('agent's git repo'), making it easy to parse.

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 a simple creation tool with full schema coverage and annotations, the description is adequate but sparse. It doesn't cover important behavioral nuances like whether the tool switches to the new branch, how from_branch behaves when omitted, or error conditions. Given the large set of related git sibling tools, a bit more context would improve 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 description coverage is 100%, so all parameters (agent_id, branch_name, from_branch) are already documented in the schema. The description adds no additional parameter semantics beyond reinforcing that a 'new branch' is created, which maps to branch_name. This meets the baseline for full schema coverage.

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 specific action ('Create'), the resource ('a new branch'), and the scope ('in an agent's git repo'). This distinguishes it from sibling tools like git_switch_branch (switch to existing branch) and git_list_branches (list branches).

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?

The description provides no explicit when-to-use or when-not-to-use guidance relative to sibling tools. It does not mention prerequisites (e.g., repo already initialized) or clarify that this only creates a branch and does not switch to it, which is important given the existence of git_switch_branch.

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/nandanNM/lyzr-mcp'

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