Skip to main content
Glama

Push feature branch

github_push_feature_branch

Push a non-protected feature branch and set its upstream tracking. Refuses to push to main or master branches.

Instructions

Push a non-protected feature branch and set upstream. Refuses main/master.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
remoteNoGit remote name. Defaults to origin.
repoPathYesPath to a local repository inside the configured allowed roots.
branchNameNoBranch to push. Defaults to the current 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 full burden. It discloses 'set upstream' and 'refuses main/master', but does not cover other behavioral traits like error handling on protected branches or confirmation of success.

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 a single, front-loaded sentence with no wasted words. It immediately communicates the core action and a key constraint.

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

Completeness3/5

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

Given no output schema and no annotations, the description is minimal. It covers the main action and a constraint but lacks details on return values, error handling for other protected branches, or multi-branch scenarios.

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 baseline is 3. The description does not add any parameter-specific details beyond what the schema already provides (defaults, minLength).

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?

Description clearly states the tool pushes a feature branch and sets upstream, with a specific constraint ('Refuses main/master'). Verb 'push' and resource 'feature branch' are distinct from sibling tools like 'create' or 'pull'.

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

Usage Guidelines3/5

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

The description implies this tool is for feature branches by explicitly refusing main/master, but it does not provide guidance on when to use this tool versus alternatives like github_pull_main or github_create_feature_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/matiasnjacob/github-mcp'

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