Skip to main content
Glama

git-config

Manage Git configuration settings across global, local, and system scopes. Perform get, set, unset, list, edit, and show operations to configure user details, editor preferences, and repository-specific settings.

Instructions

Git configuration management tool for get, set, unset, list, edit, and show operations. Supports global, local, and system configuration scopes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesThe Git configuration operation to perform
globalNoUse global configuration (~/.gitconfig)
keyNoConfiguration key (required for get, set, unset, show operations). Examples: user.name, user.email, core.editor
localNoUse local repository configuration (.git/config)
projectPathYesAbsolute path to the project directory
showOriginNoShow configuration file origin (for list and show operations)
showScopeNoShow configuration scope (for show operation)
systemNoUse system configuration (/etc/gitconfig)
valueNoConfiguration value (required for set operation)
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool performs 'management' operations including 'set' and 'unset', implying mutations, but doesn't disclose critical behavioral traits like whether changes are permanent, what permissions are required, error handling, or output format. For a mutation-capable tool with zero annotation coverage, this is a significant gap in transparency.

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?

The description is appropriately sized with two sentences that efficiently cover the tool's purpose and scope. It's front-loaded with the core functionality ('Git configuration management tool') and avoids unnecessary details. Every sentence earns its place, though it could be slightly more structured (e.g., separating operations from scopes).

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?

Given the complexity (9 parameters, mutation capabilities) and lack of annotations and output schema, the description is incomplete. It doesn't address behavioral aspects like side effects, error cases, or return values, which are crucial for a tool with actions like 'set' and 'unset'. For a configuration management tool with no structured safety hints, more context is needed.

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 all 9 parameters thoroughly. The description adds no specific parameter semantics beyond what's in the schema (e.g., it doesn't explain parameter interactions or provide additional examples). With high schema coverage, the baseline score of 3 is appropriate as the description doesn't compensate but also doesn't detract.

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 this is a 'Git configuration management tool' that performs 'get, set, unset, list, edit, and show operations', which is specific about the verb and resource. It distinguishes from siblings like git-branches or git-tags by focusing on configuration rather than other Git operations. However, it doesn't explicitly differentiate from all siblings (e.g., git-remote might also involve configuration).

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?

The description provides no guidance on when to use this tool versus alternatives. It mentions it 'supports global, local, and system configuration scopes', which gives some context, but doesn't specify when to choose this over other Git tools (e.g., git-remote for remote configuration) or clarify prerequisites. There's no explicit when/when-not or alternative tool recommendations.

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/Andre-Buzeli/git-mcp'

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