Skip to main content
Glama

Git Manage Tool

git_manage

Manage Git repositories and operations including file handling, branching, commits, and pull requests through FleetQ's MCP server.

Instructions

Manage git repositories and operations. Actions: repo_list, repo_get (repo_id), repo_create (name, url, credentials), repo_update (repo_id + fields), repo_delete (repo_id), repo_test (repo_id — test connection), file_read (repo_id, path, branch), file_write (repo_id, path, content, branch, message), file_list (repo_id, path, branch), branch_create (repo_id, name, source), commit (repo_id, message, files), pr_create (repo_id, title, body, source, target), pr_list (repo_id).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform: repo_list, repo_get, repo_create, repo_update, repo_delete, repo_test, file_read, file_write, file_list, branch_create, commit, pr_create, pr_list
providerNoFilter by provider: github, gitlab, bitbucket, gitea, generic
modeNoFilter by mode: api_only, sandbox, bridge
statusNoFilter by status: active, disabled, error
limitNoMax results (default 15, max 100)
idYesRepository UUID
nameYesFriendly name for the repository
urlYesRepository URL (HTTPS or SSH)
default_branchNoDefault branch name (default: main)main
credential_idNoUUID of a Credential containing the PAT/SSH key for authentication
configNoMode-specific config. sandbox: {provider, instance_type, run_tests, test_command}. bridge: {repo_name, working_directory}. pr: {require_approval}
repository_idYesRepository UUID
pathYesFile path relative to repo root (e.g. "src/app.php")
refNoGit ref: branch name, tag, or commit SHA (default: HEAD)HEAD
contentYesFull file content to write
messageYesCommit message
branchNoBranch to commit to (defaults to repository default_branch)
fromNoSource branch or commit SHA to branch from (defaults to repository default_branch)
changesYesArray of file changes: [{path, content}] or [{path, deleted: true}]
titleYesPull request title
bodyNoPull request description/body
headYesSource branch (the branch with changes)
baseNoTarget branch (defaults to repository default_branch)
stateNoPR state filter: open, closed, all (default: open)open
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure but fails to mention destructive side effects (repo_delete), mutation behavior (whether file_write auto-commits), authentication requirements, or rate limits. Only 'test connection' hints at behavior for one specific action.

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 efficiently packs 13 action signatures into a single sentence, but the dense parenthetical format hinders readability. It is front-loaded with the general purpose, though the action list could benefit from structural separation or formatting to distinguish commands from their arguments.

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 complex tool with 24 parameters, nested config objects, no annotations, and no output schema, the description is insufficient. It lacks explanation of return values, error states, the relationship between repository modes (api_only, sandbox, bridge), or how the 'action' parameter determines which other fields are actually required.

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

Parameters4/5

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

While the schema has 100% description coverage, the description adds crucial value by mapping which parameters belong to which action (e.g., 'repo_create (name, url, credentials)'). This is essential because the schema presents all 24 parameters as a flat list with many conditionally required fields that aren't marked as such.

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 identifies Git repositories as the resource and catalogs 13 specific operations (repo_list, file_write, pr_create, etc.). While the opening clause 'Manage git repositories and operations' is generic, the exhaustive action list with parameters effectively distinguishes this from sibling tools like 'admin_manage' or 'credential_manage' by specifying domain-specific capabilities.

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 specific actions versus alternatives, no workflow sequencing (e.g., that repo_create must precede file_write), and no mention that credential_id is required for certain actions. The description merely enumerates available actions without context for selection.

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/escapeboy/agent-fleet-o'

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