Skip to main content
Glama
LuiccianDev

MCP Git Commit Generator

by LuiccianDev

git_branch_tool

Lists Git branches in a repository, filtered by type (local, remote, or all) and optional commit containment.

Instructions

Lists Git branches (local, remote, or all).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_pathYesPath to the Git repository
branch_typeNoWhich branches to list: 'local', 'remote', or 'all'local
containsNoOnly show branches that contain this commit SHA
not_containsNoOnly show branches that do NOT contain this commit SHA

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, the description bears full responsibility for behavioral disclosure. It only states the basic listing function but does not mention potential behaviors such as requiring the repo path to be valid, performance considerations for large repositories, or any 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.

Conciseness4/5

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

The description is a single concise sentence that effectively communicates the core purpose. While it could be more structured (e.g., listing options), it is appropriate in length and front-loaded.

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?

Despite having an output schema and four parameters, the description is too sparse. It omits mention of the optional filtering parameters (contains, not_contains) and does not provide enough context for an agent to fully understand the tool's capabilities.

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?

The input schema already provides complete descriptions for all four parameters (100% coverage). The tool's description adds no additional parameter semantics beyond what the schema offers.

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?

The description clearly states that the tool lists Git branches, specifying the options local, remote, or all. This directly describes the action and resource, and distinguishes it from other branch-related sibling tools like git_create_branch_tool or git_checkout_tool.

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 is given on when to use this tool versus alternative tools for branch operations. There is no mention of prerequisites or context like requiring a valid repo path.

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/LuiccianDev/mcp_git_commit_generator'

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