Skip to main content
Glama

git_init

Initialize a new Git repository in a workspace and set its initial branch, leaving existing repositories unchanged.

Instructions

Initialise a new git repository (non-destructive; existing repos are left intact).

Input Schema

NameRequiredDescriptionDefault
repoNo.
initial_branchNomain

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/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. It usefully discloses that the operation is non-destructive and leaves existing repositories intact, which is valuable behavioral context. However, it does not mention permissions, error behavior, or what happens if a repository already exists beyond 'left intact'.

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?

A single short sentence with zero waste. The non-destructive caveat is front-loaded alongside the core action, and every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained. The tool is simple, but with no annotations and no parameter descriptions in the schema, the description omits essential information about the two inputs. It is minimally adequate for a very simple tool but leaves clear gaps.

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 description coverage is 0%, so the description must compensate for the two undocumented parameters. It says nothing about the 'repo' path or 'initial_branch' argument, leaving the agent to infer meaning from parameter names and defaults alone.

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 states a specific verb and resource: 'Initialise a new git repository'. It is immediately clear what the tool does and there is no ambiguity with sibling tools like git_status or git_commit.

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?

Usage is implied by the tool's purpose, but there is no explicit guidance on when to use it versus alternatives, no prerequisites, and no exclusions. The non-destructive note implicitly reassures but does not provide selection guidance.

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