Skip to main content
Glama

Ferrite

Commit source to the app repo

rcs_commit

For an existing-app repair, send only changed files with complete contents; omitted files remain in the hosted repository, so do not re-upload unchanged generated packages. Save RcsCommitted.commit and use that exact reference for required test_ref and deploy_ref. Preserve the existing manifest and app identity. COMMIT files to the app's hosted source repository — INCREMENTAL: each commit overlays the previous tree, so you build the app up over MANY commits (many generations) instead of one giant upload; the FIRST commit claims the app. Optionally commit on a 'branch' (the branching model — a concurrent line on the SAME codebase; default 'main'). 'files' maps relative path -> file content. Returns {RcsCommitted:{app,branch,commit}}. packages names Ferrite source packages (list_packages, read_package) whose files the server adds to files under src//, with their dependencies', exactly as ferrite add writes them.

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>",
      "files": "<files>"
    },
    "name": "rcs_commit"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYes
filesYes
tokenNofallback bearer for clients that cannot send an Authorization header; when a header is present omit this argument, because a different token is refused
branchNo
messageNo
packagesNoFerrite source packages to compile in, by name from list_packages ("name" or "name@version"). The server adds each package's files, and its dependencies', under src/<root>/ before anything reads `files`; declare each root in src/lib.rs (read_package gives the lines). Do not send those files yourself: a changed copy is refused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only give the safety quartet (readOnly=false, destructive=false, idempotent=false, openWorld=false); the description goes substantially further by disclosing overlay semantics ('each commit overlays the previous tree'), what happens to omitted files (they remain in the hosted repository), the first-commit claim behavior, the refusal conditions ('a changed copy is refused'), and the exact return shape {RcsCommitted:{app,branch,commit}}. Nothing here contradicts the annotations — non-idempotent is consistent with a commit-per-call model and non-destructive with the overlay-merge behavior described.

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 most decision-relevant guidance (changed-files-only, commit-reference handoff, incremental overlay) is front-loaded and every sentence carries operational meaning. It is, however, a single dense block with em-dashes, capitalization shifts, and the return shape buried mid-paragraph, which costs some readability for a description this long.

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?

There is no output schema, and the description correctly fills that gap by specifying the return object and the commit reference to retain. For a 6-parameter, nested-object mutation, it covers semantics, persistence behavior, refusal conditions, and the packages expansion; only 'message', 'app', and failure/conflict behavior are left unexplained.

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?

Schema coverage is only 33%, so the description must carry weight, and it does for the difficult parameters: 'files' is defined as a relative-path-to-content map, 'branch' is explained as a concurrent line on the same codebase with default 'main', and 'packages' is explained as name-or-name@version that the server expands under src/<root>/ with dependencies. Gaps remain for 'message' and 'app', which are neither described in the schema nor in the description, so it does not fully compensate.

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 states a specific verb and resource — 'COMMIT files to the app's hosted source repository' — and immediately qualifies the mechanism as incremental overlay rather than one-shot upload. It also distinguishes the incremental multi-commit model from a single large upload and notes the FIRST commit's special role in claiming the app, so an agent can tell it apart from a per-file commit or a raw upload path.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit when-to guidance ('For an existing-app repair, send only changed files'), explicit prohibitions ('do not re-upload unchanged generated packages', 'do not send those files yourself'), and routes the agent to sibling utilities (list_packages, read_package) for the packages flow. It also tells the agent what to do with the result — save RcsCommitted.commit and pass it to test_ref and deploy_ref — which is the kind of downstream routing guidance that prevents mis-selection.

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.