Skip to main content
Glama
smallest-inc

Smallest MCP Server

Official
by smallest-inc

create_branch

Create a separate branch from the live agent to develop changes in isolation, then publish the draft and make it live when ready.

Instructions

Create a new branch to work on a set of changes in isolation, without touching the live agent. The branch starts from a source branch's head (the live branch by default). Edit its draft with the usual tools (pass the new branch_id), publish_draft to commit, then make_branch_live to serve it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesBranch name (1-100 chars). Cannot be 'main'.
agent_idYesThe agent ID
source_branch_idNoBranch to fork from (from list_branches). Omit to fork from the live branch.
Behavior4/5

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

With no annotations, the description must explain behavior. It conveys that the branch starts from a source branch head, defaults to the live branch, and is non-destructive ('without touching the live agent'). It does not elaborate on error conditions or limits, but the core behavior is sufficiently disclosed.

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?

Two sentences pack all essential information: purpose, default behavior, and workflow. No redundant words; every sentence earns its place.

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 3 parameters, no output schema, and no annotations, the description covers the workflow well, including defaults and links to siblings. It omits explicit mention of the required agent_id (though schema does) and potential errors, but overall is adequate 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.

Parameters4/5

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

Schema description coverage is 100%, providing baseline clarity. The description adds value by explaining that source_branch_id defaults to the live branch if omitted, and that the new branch_id should be used for subsequent editing, which goes beyond the schema.

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 creates a branch to work on changes in isolation, specifying the source branch default and linking to subsequent workflow steps. This distinguishes it from branch management siblings like delete_branch, rename_branch, and make_branch_live.

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

Usage Guidelines4/5

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

The description tells when to use (to work on changes without touching the live agent) and outlines the workflow (edit draft, publish, make live). It implicitly suggests using list_branches first via the source_branch_id parameter description, but lacks an explicit 'when not to use' or direct alternative mention.

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

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