Skip to main content
Glama

gluecron_create_branch

Create a new branch ref pointing at an existing sha. Mirrors POST /api/v2/repos/.../git/refs. Gated like a push of the new branch (rulesets, secret scan of commits no other ref reaches) and fires CI/webhooks. Requires 'repo' scope. Returns {ref, sha}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
shaYesTarget commit sha (40-hex)
repoYes
ownerYes
branchYesNew branch name (short form)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=false) by disclosing the gating behavior (rulesets, secret scan of unreachable commits), CI/webhook side effects, and required 'repo' scope. This is rich context an agent needs before invoking. It does not contradict the annotations.

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?

Three tight sentences with zero filler; behavioral constraints and the response shape are front-loaded and each clause does distinct work.

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 no output schema, the description usefully declares the return shape {ref, sha}, covers auth scope, side effects, and gating. It falls short on when-to-use guidance and does not document the owner/repo parameters, but overall it is complete enough for correct invocation.

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 coverage is 50%; owner and repo lack descriptions while sha and branch are documented in the schema. The description adds only marginal parameter context (existing sha target, short-form branch name), with no format or constraint details beyond the schema. Baseline 3 is appropriate.

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+resource ('Create a new branch ref') and clarifies the target is an existing sha, plus maps to the underlying API endpoint. This distinguishes it from sibling write tools like gluecron_apply_patch or gluecron_create_pr.

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 explains what happens when the tool runs (gating, CI) but provides no explicit when-to-use vs alternatives guidance. There is no mention of when a branch should be created versus using gluecron_create_pr, gluecron_fork_repo, or other ref-manipulation tools.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources