Skip to main content
Glama

gluecron_atomic_multi_file_commit

Apply a set of file writes + deletes as a single atomic commit on a branch (creates the branch if it doesn't exist). The killer agent tool: blob/tree/commit/ref-update sequence. Each change is {path, content?, content_base64?, deleted?}. Meets the same branch protection, rulesets and secret scan as a git push, and fires CI/webhooks like one. Requires 'repo' scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYes
ownerYes
branchYes
changesYesArray of {path, content?|content_base64?, deleted?} entries.
messageYes
base_branchNoBranch to fork from when `branch` doesn't yet exist (default: repo default).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the underlying blob/tree/commit/ref-update sequence, that branch protection/rulesets/secret scan apply as with a push, that CI/webhooks fire, that the branch is created if missing, and the required 'repo' scope. This is exactly the behavioral context an agent needs for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action and the change-entry format early; every sentence carries information. The parenthetical 'The killer agent tool' is marketing filler that adds no selection value, costing a point.

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

Completeness4/5

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

For a 5-required-param mutation tool with no output schema, the description covers mechanics, safety gates, side effects, and auth scope. It omits conflict/non-fast-forward behavior and what the response returns, but those are minor gaps given the coverage provided.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With only 33% schema coverage, the description compensates by documenting the shape of each `changes` entry ({path, content?, content_base64?, deleted?}) and the branch-creation semantics tied to `base_branch`. The remaining params (owner, repo, branch, message) are self-evident, so this is close to complete.

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?

States a specific verb (apply), resource (file writes + deletes as one atomic commit), and scope (on a branch, creating it if absent). This clearly distinguishes it from single-file siblings like gluecron_write_file, gluecron_delete_file, and gluecron_create_branch.

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?

The 'single atomic commit' framing plus branch-creation behavior gives clear context for when this tool is the right choice over per-file writes. It never explicitly names an alternative or states exclusions, so it stops short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources