Skip to main content
Glama

Git Remote Tools

git_remotes
Destructive

Manage Git remotes by listing, adding, removing, or updating URLs, then fetch, pull, or push with branch and refspec options.

Instructions

Remote tool. Use action=list|manage|fetch|pull|push for network/transport operations.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "git_remotes"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
nameNo
tagsNo
forceNo
pruneNo
actionNolist
atomicNo
branchNo
rebaseNo
remoteNo
ff_onlyNo
refspecsNo
no_verifyNo
repo_pathNoAbsolute path to the local Git repository. If omitted, falls back to the server default set via the GIT_REPO_PATH environment variable or --repo-path CLI argument.
prune_tagsNo
rebase_modeNodefault
push_optionsNo
set_upstreamNo
remote_actionNo
response_formatNoOutput format for the response.markdown
force_with_leaseNo
negotiation_tipsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.2

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare destructive=true, openWorld=true, and idempotent=false. The description adds only generic 'network/transport' context and does not disclose what may be destroyed, force-push risks, authentication requirements, pruning behavior, or other side effects.

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

Conciseness3/5

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

The description is two short sentences, front-loaded and free of wasted wording. However, the terseness is under-specification rather than useful conciseness, and the action modes are listed without structure or explanation.

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?

For a 22-parameter destructive network tool with no output schema, the description is far too thin. It gives action categories but omits parameter meanings, side effects, authentication/network requirements, and expected results.

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?

With 22 parameters and only 9% schema description coverage, the description names the action enum values but leaves 21 other parameters (force, prune, refspecs, rebase_mode, set_upstream, etc.) undocumented in both the schema and the description. It does not compensate for the coverage gap.

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

Purpose3/5

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

The description identifies remote/network operations and enumerates five action modes, but 'Remote tool' is vague and never states that it manages Git remotes (add/remove/set-url) or fetches/pushes branches. It gives enough to guess the domain but not a precise verb+resource.

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?

It only says to use action=list|manage|fetch|pull|push for network/transport operations. There is no guidance on when to use this tool versus siblings, when not to use it, or how to choose among the action modes.

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