Skip to main content
Glama

git_safe_write_with_checkpoint

Automatically commit the current git state before writing a config file, ensuring you always have a rollback point for safe modifications.

Instructions

Write a config file AND automatically git-commit the current state before writing. This is the safest way to modify config files — you always have a rollback point.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
relative_pathYes
contentYes
commit_messageNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

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 discloses the key behavior of committing before writing and mentions rollback, but omits details about error handling, prerequisites (e.g., git initialized), and effects of null commit_message.

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?

Two sentences, front-loaded with the primary action and key differentiator. Every sentence adds value with no wasted words.

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 tool's complex behavior and zero annotation coverage, the description is too brief. It lacks context on prerequisites, failure modes, and integration with existing git state. The presence of an output schema does not compensate for these 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 missing param explanations. It does not describe any parameter (relative_path, content, commit_message), leaving the agent to infer from the schema alone. This is insufficient.

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 it writes a config file and automatically commits before writing, specifying the verb+resource and distinguishing from simpler write tools and separate git commit tools. It conveys the combined functionality effectively.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It indicates when to use this tool (safest way with rollback) but does not explicitly list alternatives or when not to use it. The context is clear but lacks explicit exclusions.

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/Fistacho/ha-nexus-agent'

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