Skip to main content
Glama

push_branch

Push a local git branch to a Magento Cloud project using SSH certificate authentication, no separate git credentials required.

Instructions

Push a local git branch to a Magento Cloud project. Uses SSH certificate authentication — no separate git credentials needed. The branch must exist locally.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectYesThe Magento Cloud project ID
repo_pathYesAbsolute path to the local git repository, e.g. '/home/user/myproject'
local_branchYesLocal branch name to push, e.g. 'feature-xyz'
remote_branchNoRemote branch name. Defaults to the same as local_branch.
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses authentication mechanism and a precondition, but does not mention if the operation is destructive (e.g., force push behavior, overwriting remote branches) or what happens on failure.

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 three short sentences, each serving a distinct purpose: stating the action, explaining authentication, and noting a prerequisite. No unnecessary words.

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 that there is no output schema and no annotations, the description covers the essential context: what the tool does, how authentication works, and a critical prerequisite. A slight gap is the lack of information about return values or error conditions, but for a simple push operation this is acceptable.

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 are already documented in the schema. The description adds context about authentication and prerequisite but does not enhance parameter-specific meaning 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 uses specific verb ('Push') and resource ('local git branch to Magento Cloud project'), clearly distinguishing it from the sibling tool 'create_branch' which has a different purpose.

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 states an important prerequisite ('The branch must exist locally') and clarifies authentication ('Uses SSH certificate authentication'), but does not explicitly say when not to use this tool or mention alternatives beyond the implied contrast with create_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/juan-cinto-infracommerce/mcp-magento-cloud'

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