Skip to main content
Glama
S0ra-ai
by S0ra-ai

git_commit

Stage all changes and create a git commit with a specified message, optionally selecting specific files to stage.

Instructions

Stage all changes and create a git commit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filesNoSpecific files to stage (default: all)
messageYesCommit message
projectNoProject name
Behavior2/5

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

With no annotations, the description must disclose behavioral traits. It implies a write operation but does not discuss reversibility, safety, or whether it requires a clean state. The description adds minimal context beyond the input schema.

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 very concise (8 words) and front-loaded, but it likely omits important details. It is adequate but not exemplary.

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?

There is no output schema, yet the description does not explain what the tool returns (e.g., commit hash). It also fails to mention that it operates only in a git repository or that staging all changes may be a large operation.

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 baseline is 3. The description does not add any additional meaning beyond what the schema already provides for each parameter.

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 it stages all changes and creates a commit, which distinguishes it from other git tools like git_diff or git_status. However, it claims 'all changes' while the schema allows specifying specific files via the 'files' parameter, creating a minor contradiction.

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 provided on when to use this tool versus alternatives such as git_diff or git_log. It does not explain that it stages all changes by default or mention prerequisites like a clean working directory.

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/S0ra-ai/OpenCode_MCP'

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