gluecron_create_branch
Create a new branch ref pointing at an existing sha. Mirrors POST /api/v2/repos/.../git/refs. Requires 'repo' scope. Returns {ref, sha}.
This record as markdown: /tools/com-gluecron-gluecron/gluecron-create-branch.md
What gluecron_create_branch does on Gluecron
AI agents use gluecron_create_branch to create or update resources in Gluecron, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Gluecron environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
sha | string | Yes | Target commit sha (40-hex) |
repo | string | Yes | |
owner | string | Yes | |
branch | string | Yes | New branch name (short form) |
Parameters from the server's own tool schema.
Why gluecron_create_branch is rated Medium
Creating a branch ref is a write operation that modifies repository metadata by adding a new reference to an existing commit. It is reversible (branches can be deleted) and does not execute code, delete data irreversibly, or move funds. The blast radius is moderate—an AI agent could create numerous branches or pollute the namespace, but this can be undone.
From the tool's definition Tool description states 'Create a new branch ref pointing at an existing sha' and 'Mirrors POST /api/v2/repos/.../git/refs', indicating a POST operation that creates new git references.
Attacks that exploit this kind of access
The rule that runs gluecron_create_branch safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Gluecron, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For gluecron_create_branch, this is the rule to start with:
gluecron_create_branch stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Gluecron, apply this rule, and every gluecron_create_branch call is checked against it from then on.
Questions about gluecron_create_branch
Create a new branch ref pointing at an existing sha. Mirrors POST /api/v2/repos/.../git/refs. Requires 'repo' scope. Returns {ref, sha}. It is categorised as a Write tool in the Gluecron MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
gluecron_create_branch accepts 4 parameters: sha, repo, owner, branch. Required: sha, repo, owner, branch. The full parameter table on this page comes from the server's own tool schema.
Register the Gluecron MCP server in PolicyLayer and add a rule for gluecron_create_branch: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Gluecron. Nothing to install.
gluecron_create_branch is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the gluecron_create_branch rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for gluecron_create_branch. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
gluecron_create_branch is provided by the Gluecron MCP server (https://gluecron.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Gluecron, and thousands of servers like it.
This server
Across the catalogue