Skip to main content
Glama

commit_backup

Sync project knowledge base data to its git backup directory, create a commit, and push to origin for off-machine redundancy after writes.

Instructions

SIDE-EFFECTFUL — TOUCHES THE NETWORK. Sync the project's KB data into its git backup directory, create a commit, and git push to origin. AUTH: relies on the local user's git credentials (SSH agent, credential helper, etc.) — there is no in-server auth. Kontexta does not rate-limit, but the remote may. Idempotent in steady state: a no-op commit is skipped, but the push still runs. Throws if the project has no configured backup repo or if push fails (network, auth, conflict). Returns {success, copied_files_count, copied_paths}. Use after a batch of KB writes to get changes off-machine.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesProject ID
Behavior5/5

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

The description openly declares side-effectful behavior, network access, reliance on local git credentials, lack of Kontexta rate limiting but possible remote rate limits, idempotency with no-op commit on steady state, and error conditions. This is thorough, especially given no annotations.

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?

The description is concise, with three sentences that front-load the side-effect warning. Every sentence adds value without redundancy, making it efficient and well-structured.

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

Completeness5/5

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

Despite no output schema, the description explicitly specifies the return format and highlights edge cases (throws conditions, idempotent behavior). It fully covers the tool's behavior for an agent to use correctly.

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 schema already provides 100% coverage for the single parameter 'project_id' with a basic description. The description does not add additional meaning beyond the schema, thus a baseline score of 3 is appropriate.

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 the tool syncs KB data to git backup, commits, and pushes to origin. The verb 'sync' combined with the resource and actions provides a specific purpose, distinguishing it from sibling tools that handle file operations or search.

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 explicitly says 'Use after a batch of KB writes to get changes off-machine,' providing clear context. However, it does not explicitly mention when not to use it or name alternative tools, though the usage is well implied.

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/safiyu/kontexta'

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