Skip to main content
Glama

git_push

Pushes the current branch to GitHub without force; requires explicit confirmation for main/master to prevent accidental direct pushes.

Instructions

Envia a branch atual para o GitHub (nunca com força).

Push direto na main/master exige confirmado=true, só com o OK do usuário.

Input Schema

NameRequiredDescriptionDefault
pastaYes
confirmadoNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose key behavioral traits: force-push is never performed, and main/master pushes are gated behind confirmation. It omits failure modes (non-fast-forward rejection, auth failures) and what happens to the remote on rejection, which keeps it short of a 5.

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 short sentences with the core action and the safety constraint front-loaded. No filler or redundancy.

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?

The output schema means return values need not be explained, and the safety behavior is covered. But the required 'pasta' parameter is unexplained in both schema and description, and there are no annotations, leaving the definition short of complete for a mutation tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It adds meaning for 'confirmado' (required for main/master, needs user OK) but never mentions 'pasta', the one required parameter, leaving it fully undocumented.

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 and resource ('Envia a branch atual para o GitHub') plus scope qualifiers ('nunca com força', main/master restriction). An agent can tell this apart from git_pull, git_merge, and git_commit without opening any schema.

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?

Gives a conditional rule for pushing to main/master (requires confirmado=true and explicit user approval), which is useful usage guidance. However, it never states when to choose this over siblings like git_commit or git_pull, so the broader when-to-use context is only implied.

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