Skip to main content
Glama

gluecron_write_file

Create or update a file on a branch via git plumbing. Wraps createOrUpdateFileOnBranch. Pass content as a UTF-8 string OR content_base64 for binary. 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
pathYes
repoYes
ownerYes
branchYes
contentNoUTF-8 file body (optional)
messageYesCommit message
content_base64NoBase64 file body (optional)
expect_blob_shaNoOptimistic-concurrency check: existing blob sha must match.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior5/5

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

Beyond the annotations (which only mark it as a non-read-only, non-destructive write), the description discloses rich behavioral context: it meets the same branch protection, rulesets and secret scan as a git push, fires CI/webhooks like a push, and requires the 'repo' scope. These are exactly the side-effect and auth details an agent needs before invoking a mutation.

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?

It is a compact, front-loaded definition that leads with what the tool does and then adds constraints. The 'Wraps createOrUpdateFileOnBranch' clause is slightly redundant but still informative; otherwise every sentence earns its place.

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 mutation tool with no output schema, the description covers the key behavioral facts (side effects, auth scope, encoding options). It could note what happens when the file already exists vs is newly created, but overall it is close to complete.

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?

With 50% schema description coverage, the description usefully clarifies the content vs content_base64 distinction (UTF-8 string vs base64 for binary) beyond the schema's terse '(optional)' labels. However it adds nothing for owner/repo/path/branch/message/expect_blob_sha, leaving half the parameters unenriched, so a baseline 3 is warranted.

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 states a specific verb+resource ('Create or update a file on a branch') and adds the mechanism ('via git plumbing'). It is clear, but it does not explicitly distinguish this from close siblings like gluecron_apply_patch, gluecron_atomic_multi_file_commit, or gluecron_delete_file, so it stops short of a 5.

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?

There is no explicit when-to-use or when-not-to-use guidance relative to the many sibling write tools. The only conditional phrasing ('content OR content_base64') is parameter choice, not tool selection, so the agent gets no routing help.

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