Skip to main content
Glama

git_push

Push commits to a remote repository. Specify a branch or use the current branch.

Instructions

Push commits to remote repository

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
branchNoBranch name to push (default: current branch)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations provided, so the description carries full burden. 'Push' implies a mutation and remote interaction, but the description doesn't state whether it requires authentication, whether it's destructive, what happens on conflicts, or what the response looks like. For a write operation with zero annotation coverage, this is a significant gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence, front-loaded with the core action, no wasted words. It is appropriately sized for a simple tool.

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

Completeness2/5

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

Without annotations and no output schema, the description should carry more behavioral context. For a git push operation, the agent needs to know about authentication requirements, potential for remote rejection, and side effects. The description is too sparse for a mutation tool with no structured safety hints.

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 the schema already documents the 'branch' parameter fully, including its default. The description adds no extra parameter meaning. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clear verb+resource: 'Push commits to remote repository' tells the agent exactly what operation is performed. Among siblings like git_commit, git_pull, git_checkout, this is distinguishable. However, it doesn't distinguish itself from git_commit (which creates a commit) or git_pull (which fetches), though it is specific enough.

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?

No guidance on when to use this tool vs alternatives like git_commit or git_pull. The description lacks context about prerequisites (e.g., need to commit first) or when NOT to use it. Usage is implied rather than stated.

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