Skip to main content
Glama

Ferrite

Fork an app with its data

fork

Copy a running app WITH its data (copy-on-write, seconds): {app, fork_app}, fork_app a new name such as -karaoke. Returns {BuildStarted:{build_id}}; build_status reports deployed within seconds with the fork's host and one line per service (forked = copied). The original keeps serving, unchanged. To change the copy: deploy_source ONCE with your edited files and the same spec except application name = fork_app exactly (artifact_key apps/<fork_app>@v1); keep the service names so the copied data stays. One build. Not rcs_checkout/rcs_commit/test_ref/deploy_ref: deploy_ref needs a manifest naming the fork and, when the platform requires tests, a passing commit-bound test verdict before deployment. Then give the user both URLs. A fork refused with "is FULL" is a temporary capacity limit and costs nothing: retry the same fork call (each retry is free). Never substitute a fresh app: it would lose the data the user asked to keep. as_of_unix_micros (optional) forks the state as of a past instant within 14 days. A code branch without data: rcs_branch. Details (not needed for the steps above): read_docs doc=forking.

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>",
      "fork_app": "<fork_app>"
    },
    "name": "fork"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYes
tokenNofallback bearer for clients that cannot send an Authorization header; when a header is present omit this argument, because a different token is refused
fork_appYes
as_of_unix_microsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare this is not read-only, is open-world, not idempotent, and non-destructive. The description adds substantial behavior beyond those annotations: copy-on-write semantics, original app continuing to serve unchanged, return shape {BuildStarted:{build_id}}, build_status reporting deployed hosts/services, free retry on 'is FULL', and the 14-day as_of window.

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 description is dense but front-loads the core purpose and return behavior before deployment and edge-case guidance. Some workflow details and sibling comparisons make it longer than typical, but they are relevant to invoking the tool correctly.

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

Completeness5/5

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

For a complex, non-idempotent fork operation with no output schema and sparse annotations, the description covers return value, follow-up status check, post-fork modification path, capacity failure handling, time-travel option, and alternatives. Nothing essential for correct invocation appears missing.

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 description coverage is only 25%, so the description must carry parameter meaning. It explains that fork_app is a new name such as <app>-karaoke and that as_of_unix_micros forks past state within 14 days; token is left to the schema, which already documents it as a fallback bearer.

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: copy/fork a running app WITH its data, using copy-on-write. It also distinguishes the operation from code-only branching via rcs_branch and from modifying a fork via deploy_source, so an agent can identify the tool without opening the schema.

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?

The description explicitly says when to fork (copy a running app with its data), how to change the copy afterward, and which sibling operations are not appropriate. It also handles the temporary capacity failure case by instructing retry rather than substitution with a fresh app.

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.