Skip to main content
Glama

push_git

Push this project's committed state to its attached remote — the same chain as the web app's push button (push strategy, repo lock and conflict semantics included; conflicts answer with a structured error, they are never force-resolved). Check get_git_status first: it shows the attached remote and how far ahead the project is.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_id": "<project_id>"
    },
    "name": "push_git"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageNo
project_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does so well: it discloses that the operation follows the same chain as the web push button, that a repo lock and push-strategy semantics apply, and that conflicts return a structured error and are never force-resolved. It omits permission/auth requirements and what a successful push returns, though an output schema exists to cover the latter.

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 sentences, front-loaded with the action and followed by the precondition. Every clause — conflict handling, repo lock, the get_git_status pointer — adds information an agent needs, with no filler.

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 conflict, lock, and no-force behavior is well covered for a mutating tool, and the output schema handles return values. However, the undefined `message` parameter and the absence of any note about authentication or required remote setup leave meaningful gaps for an agent invoking this on a project that may not be fully configured.

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 for the two parameters, and it does not. The `message` parameter in particular is never mentioned, leaving its purpose (commit message? push annotation?) entirely ambiguous, and `project_id` is only implied by 'this project's'.

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 — pushing the project's committed state to its attached remote — and frames the scope as equivalent to the web app's push button. This clearly separates it from the read-only get_git_status and from remote-attachment tools.

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?

Explicitly instructs the agent to check get_git_status first and explains why (it reveals the attached remote and how far ahead the project is), which is a concrete precondition rather than vague advice. It does not state when to avoid this tool or contrast it with the pull-direction sibling, so an exclusion clause is missing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources