Skip to main content
Glama

branch_start

Destructive

Fetches origin/main and creates or resets a chatgpt/ branch to start a task, preparing the required branch for repo writes, commits, and pull requests.

Instructions

Start a task: fetch origin/main and check out 'chatgpt/' from it (git checkout -B, so an existing local branch of that name is reset). Must be called before repo_write, commit_push, pr_create or pr_merge, which only work on chatgpt/* branches. Needs network access to origin; returns git's output.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "branch_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesBranch name; 'chatgpt/' is prepended if missing. Allowed characters: letters, digits, _ . / -. Example: 'fix-login'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that checkout -B resets an existing local branch of that name (concrete destructive effect), that network access to origin is required, and that git's output is returned.

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?

A single dense paragraph front-loads the action, then the constraint, then the operational prerequisites; every clause carries information and nothing is repeated.

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

Completeness5/5

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

With no output schema, the definition still tells the agent the return value (git output), the network dependency, and the reset semantics, leaving nothing essential unstated for a one-parameter tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and already documents the 'chatgpt/' prefix and allowed characters, but the description reinforces the prefix rule in context of the created branch, adding modest clarity about how name maps to the actual ref.

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?

States a specific verb and resource (start a task by fetching origin/main and checking out 'chatgpt/<name>' via git checkout -B), and distinguishes itself from the sibling write/push/PR tools by naming them and their branch constraint.

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 says it must be called before repo_write, commit_push, pr_create and pr_merge because those only work on chatgpt/* branches, which tells the agent both the ordering requirement and why the alternative path fails.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.