Skip to main content
Glama

merjax_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

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. Added

TDQS

A3.7/5.0
Behavior4/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 mechanics, that branch protection, rulesets, and secret scanning are enforced as with a real push, that CI and webhooks fire, and that a 'repo' scope is required. With readOnlyHint=false already covering the write nature, that is rich added context; the only notable gap is no statement of what the tool returns (e.g., commit SHA) despite there being no output schema.

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?

The core operation and its branch-creation caveat are front-loaded in the first sentence, and the change-entry format plus side effects follow logically. Minor waste in the self-promotional 'The killer agent tool' and the terse 'blob/tree/commit/ref-update sequence' which is jargon without much agent-facing value.

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 6-parameter, 5-required mutation tool with no output schema, the description covers the important unknowns: atomicity, branch creation fallback, enforcement rules, CI/webhook side effects, and required scope. It falls short only on commit-message semantics and return value, which matter when the caller needs the resulting commit reference.

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 only 33%, and the description mostly restates the `changes` entry shape already present in the schema. It adds meaning for branch auto-creation (tied to base_branch) but says nothing about owner, repo, branch, or that the required `message` is the commit message, leaving two of the six parameters undocumented in both places.

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?

States a specific verb and resource: apply a set of writes and deletes as a single atomic commit on a branch, with branch auto-creation called out. The atomic batch framing implicitly separates it from merjax_write_file and merjax_delete_file, but it never names those siblings or merjax_apply_patch, leaving the agent to infer the distinction.

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?

Usage context is implied rather than stated: 'single atomic commit' and 'The killer agent tool' suggest this is preferred over looping write_file/delete_file calls. There is no explicit when-not guidance, no mention of when to prefer merjax_apply_patch for patch-style edits, and no note that the branch must be resolved via base_branch when absent.

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