Skip to main content
Glama

Ferrite

Commit a file to the app repo

rcs_commit_file

Commit a single text or binary file into an owned app's hosted source repository using MCP file transfer (inline base64 up to 1 MiB, or out-of-band upload up to 16 MiB). Returns {RcsCommitted:{app,branch,commit}}.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "app": "<app>",
      "path": "<path>",
      "file": "<file>"
    },
    "name": "rcs_commit_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesApp name or '<account>/<app>'
fileYesFile payload (inline base64 or out-of-band MCP upload)
pathYesRelative repository path (e.g. 'assets/logo.png' or 'src/main.rs')
tokenNofallback bearer for clients that cannot send an Authorization header; when a header is present omit this argument, because a different token is refused
branchNoTarget branch (default: 'main')
messageNoCommit message (default: 'commit <path>')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-destructive, non-idempotent, closed-world write. The description adds genuinely new behavior: the two upload transports with their size ceilings (inline base64 up to 1 MiB, out-of-band up to 16 MiB) and the exact response envelope. It omits overwrite semantics and auth expectations beyond what the schema's token field states.

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, no filler: the action and its limits come first, the return shape last. Every clause carries information the caller needs (transport, size caps, response keys).

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?

With no output schema, the description usefully spells out the {RcsCommitted:{app,branch,commit}} return. For a 6-parameter mutation with a nested file object, though, it leaves overwrite behavior, directory creation, and sibling selection unaddressed.

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 100%, so the schema already explains app, path, branch, message, token, and the nested file object. The description contributes only one extra fact not in the schema: the 1 MiB inline-base64 threshold below the schema's 16 MiB maximum. That is a useful addition but thin against an already-complete schema, so the baseline applies.

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 and resource: 'Commit a single text or binary file into an owned app's hosted source repository', and the 'single file' scope hints at a batch counterpart. It does not name or distinguish itself from the sibling rcs_commit, so an agent must infer which one applies.

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 is only implied: the word 'single' suggests rcs_commit (or similar) covers multi-file or change-set commits, but no alternative is named and no when-not condition is given. The transport size thresholds give some operational context but no selection guidance.

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.