Skip to main content
Glama

Ferrite

Deploy a committed revision

deploy_ref
Destructive

For existing-app repairs, use the exact commit returned by rcs_commit; unchanged files are already in the repository. Deploys a revision committed with rcs_commit; not for a first deploy or a fork redeploy (deploy_source: one build, no verdict). When the platform requires tests, it refuses a commit without a passing test_ref verdict; the repository's ferrite.json must name exactly this app (for a fork, the fork's name). Deploy a COMMITTED revision of the app's repository: the platform checks out the source at the ref (omit for the 'main' head), reads the deployment spec FROM the repo ('spec_path', default 'ferrite.json'), attest-builds, and deploys — the version-controlled deploy flow (no monolithic single-call upload). ASYNCHRONOUS, for the same reason as deploy_source: it compiles your source, which takes minutes. Returns {BuildStarted:{build_id,app}}; then build_status (wait_s: 50). Do NOT resubmit while it is building.

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

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
instancesNo
referenceNo
spec_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare the destructive, non-idempotent, open-world nature, but the description adds substantial context beyond them: the async build that takes minutes, the checkout/attest-build/deploy sequence, the returned shape, and the instruction not to resubmit while building. It does not, however, explain what gets replaced on redeploy or how failures surface, which would matter for a destructive operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Usage routing is correctly front-loaded, but the body is dense with em-dash clauses and a cryptic parenthetical ('deploy_source: one build, no verdict') that costs more parsing effort than it returns. Some of the mechanism detail could be trimmed without losing callable guidance.

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?

Covers preconditions (test_ref verdict, ferrite.json naming), the execution model, the async follow-up via build_status, and the return value shape despite there being no output schema. An agent has what it needs to call this correctly and to avoid resubmitting.

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 20%, so the description must carry the load, and it largely does: it explains reference (omit for 'main' head), spec_path (default 'ferrite.json'), and app (must name exactly this app, or the fork's name). The 'instances' parameter is never mentioned and token only appears in the schema, leaving one real gap.

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?

States a specific verb and resource ('Deploy a COMMITTED revision of the app's repository') and explicitly separates itself from deploy_source ('one build, no verdict') and fork redeploys. An agent can identify the operation and its scope 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?

Gives explicit when-to-use ('For existing-app repairs, use the exact commit returned by rcs_commit') and when-not-to-use ('not for a first deploy or a fork redeploy'), naming the alternative deploy_source. It also states the test_ref verdict precondition and routes follow-up to build_status with wait_s: 50.

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.