Skip to main content
Glama
rriesco

Git MCP Server

by rriesco

git_pull

Pull commits from a remote Git repository. Updates the local branch with remote changes, requiring clean working directory.

Instructions

Pull commits from remote. Uses GITHUB_TOKEN from env if available.

Fails if there are uncommitted changes (commit or stash first).

Returns: {branch, remote, sha_before, sha_after, commits_pulled, files_changed, up_to_date}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
remoteNoorigin
branchNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description carries the full burden. It discloses that the tool uses GITHUB_TOKEN and fails with uncommitted changes. However, it does not cover conflict resolution or error scenarios beyond the precondition.

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 very concise, using three short sentences and a bulleted return format. All information is front-loaded and no words are wasted.

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 the tool's simplicity (two optional params, output schema described), the description covers auth, a key precondition, and the return structure. It is sufficiently complete for an agent to use the tool correctly in most cases.

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 coverage is 0%, but the description adds no parameter details beyond the names in the schema. The defaults and types are in the schema, but the description could have clarified the branch parameter's role (e.g., current branch if null).

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?

The description clearly states 'Pull commits from remote', specifying the action (pull) and resource (commits from remote). It distinguishes itself from siblings like git_push and git_commit through the pull action, but lacks explicit differentiation.

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 provides usage context by noting the tool fails if there are uncommitted changes, advising to commit or stash first. However, it does not mention when not to use it or alternatives like git_sync_with_main.

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/rriesco/git-mcp-server'

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