Skip to main content
Glama

OpenFactory

deploy_app

Build a fresh app-baked OpenFactory variant and deploy it blue-green.

The exact Git revision is resolved with your connected GitHub account, dependencies and the app are built through OBS or a live-build hook, and a new live VM boots only after the ISO is complete. The VM receives runtime env, starts the packaged service, passes health checks, and then atomically replaces the old gateway route. No install/build work runs in the live VM.

To test an app hosted elsewhere (Vercel, AWS, …) you do NOT need this — pass the hosted URL straight to create_app_scenario.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "deploy_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
portNoPort the app listens on (>=1024)
waitNoWait for completion within wait_timeout_seconds; the deployment continues if the wait expires
app_idNoDeploy a registered app by id (uses its git_url/branch/slug)
branchNoOptional branch override
api_keyNoMCP API key
git_urlNoGit URL to deploy (omit if app_id is given)
use_obsNoPackage through OBS when true; use the image-build hook when false; omit for automatic selection based on OBS health and stack support.
base_imageNoOptional base-variant override; registered app default is debian-trixie
visibilityNoPreview-URL visibility: 'public' (default) or 'private' (only the owner, gated by login). Defaults to the registered app's setting when app_id is given.
run_commandNoCommand to start the app, e.g. 'pnpm start' or 'python3 app.py'. Auto-detected for npm/pnpm/Yarn projects (port 3000) and static sites (python3 http.server, port 8080) if omitted.
build_commandNoOptional production build command. For Node repos this is auto-detected from the package.json build script when omitted.
session_tokenNoSession token
install_commandNoOptional deps install, e.g. 'npm install' or 'pip3 install -r requirements.txt'
static_output_dirNoOutput directory for a built static site, e.g. dist or out
wait_timeout_secondsNoMaximum bounded wait when wait=true (1-540 seconds)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose a real pipeline: revision resolution via the connected GitHub account, build via OBS or a live-build hook, VM boot only after the ISO completes, health checks, and an atomic route swap. It omits what an agent most needs for a long mutation: expected duration, credential requirements (api_key/session_token), whether the old deployment is retained for rollback, and failure behavior. 'No install/build work runs in the live VM' is useful but leaves the rollback story unclear.

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?

Front-loaded with the core action, then a paragraph of mechanism, then a one-line exclusion that earns its place by redirecting a common misuse. Slightly long for the payload, but every sentence carries a distinct fact with no filler.

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

Completeness3/5

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

An output schema exists so return values needn't be described, and the pipeline is well explained. But for a 15-parameter, zero-required, unannotated mutation tool, the description should have covered which inputs are mutually exclusive (app_id vs git_url), credential requirements, and what the async `wait=false` default means for the agent's next step.

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 coverage is 100%, so the 15 parameters are already documented, and this establishes the baseline of 3. The description adds conceptual framing for use_obs ('through OBS or a live-build hook') and for the build-vs-live boundary implied by install_command/build_command, but it never maps meaning onto specific parameters such as git_url vs app_id precedence or visibility.

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: 'Build a fresh app-baked OpenFactory variant and deploy it blue-green.' That is concrete enough to distinguish it from create_app_scenario, get_app_deploy_status and the other lifecycle siblings without opening any schema.

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

Usage Guidelines4/5

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

Gives an explicit exclusion and names the alternative: 'To test an app hosted elsewhere (Vercel, AWS, …) you do NOT need this — pass the hosted URL straight to create_app_scenario.' It does not clarify the relationship to get_app_deploy_status or get_app_build_status, so an agent must still infer where to poll after the call.

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.