Skip to main content
Glama

git_commit_repo

Commit staged changes in a specified repository with a custom message and author. Provide the repo path, commit message, and author in 'Name ' format to create a commit.

Instructions

Commit staged changes. author must be 'Name '.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
authorYes
messageYes
repo_pathYes
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the core action (commit) but omits side effects, such as whether it modifies the repository history, requires prior configuration (user.name/email), or how it handles empty commits. The author format hint is the only extra detail, which is insufficient.

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 brief, which is structurally good, but it sacrifices substance for brevity. It uses two short sentences and front-loads the purpose, but the content is so thin that it fails to earn its place as a useful guide. It is under-specified rather than efficient, so a 3 is appropriate.

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 that this is a mutating Git operation with no output schema and no annotations, the description should cover prerequisites (e.g., staged changes, existing repo, user config). It mentions 'staged changes' but omits what the commit will look like, error cases, and any required prior state. The description is incomplete for a tool in this context.

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

Parameters1/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 clarify parameters, but it does not. Only the 'author' parameter is given a format hint ('Name <email>'), while 'repo_path' and 'message' are left entirely to the schema's title-only definitions. The description adds almost no value for parameter usage.

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 clear action ('Commit staged changes') with a specific resource (the repository). It distinguishes itself from siblings like git_stage, git_diff_repo, and git_log_repo by focusing on committing, which is a distinct operation. No ambiguity about what the tool does.

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?

The description implies usage context by mentioning 'staged changes', suggesting it should be used after git_stage, but it does not explicitly state when to use this tool versus alternatives, nor does it mention any prerequisites or competing tools. The guideline is only implicit from the word 'staged'.

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/BerkantACUN/fsguard-mcp'

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