Skip to main content
Glama

OpenFactory

create_app

Register an app (a git repo to deploy) on OpenFactory.

This creates the App record (name, source, slug, visibility). Deploy it with deploy_app(app_id=…) to build a fresh immutable variant and get a URL at https://.apps.openfactory.tech (web-service apps). To test an app that's ALREADY hosted elsewhere (Vercel, etc.), you don't need this — just point a scenario at its URL with create_app_scenario.

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": {
      "name": "<name>",
      "git_url": "<git_url>"
    },
    "name": "create_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesHuman name for the app, e.g. 'my-shop'
portNoPort the app listens on (e.g. 3000)
slugNoOptional DNS-safe slug for the app's URL; auto-derived from the name if omitted
branchNoBranch to deploy (default main)main
api_keyNoMCP API key
git_urlYesHTTPS git URL of the app's repository
base_imageNoBase variant for deployments (default: debian-trixie)debian-trixie
visibilityNo'public' (anyone with the URL can view) or 'private' (only you — the preview URL is gated by your OpenFactory login).public
session_tokenNoSession token
deployment_typeNoweb-service (long-running server), static-site, or scheduled-jobweb-service

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

With no annotations supplied, the description carries the full disclosure burden, and it does reveal the important lifecycle fact that this only creates the record while deployment (an immutable build) is a separate step producing a URL at https://<slug>.apps.openfactory.tech. It does not mention authentication requirements despite api_key and session_token parameters, nor what happens on duplicate name/slug collisions, which keeps it below a 5.

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 definition is front-loaded with the core action, then structured into create-then-deploy and the hosted-elsewhere exception. It is slightly longer than strictly necessary, but each sentence carries a distinct routing or scoping fact.

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?

For a 10-parameter creation tool the definition covers the workflow, the artifact created, and the follow-up call, and an output schema exists so return values need not be explained. The only meaningful omission is auth/permission expectations and duplicate-handling behavior.

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 100%, so the baseline is 3, but the description adds genuine meaning by tying slug to the resulting preview URL and by clarifying the app-vs-deployment split that governs port, branch, base_image and deployment_type. It defers the remaining field-level detail to the already-thorough schema.

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 opening sentence states a specific verb and resource — registering an app, defined as a git repo to deploy — and the second sentence enumerates exactly what record fields are created (name, source, slug, visibility). It also distinguishes itself from deploy_app and create_app_scenario, so an agent can tell the three apart 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 Guidelines5/5

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

The description gives explicit routing: call this first, then deploy via deploy_app(app_id=…), and skip this tool entirely if the app is already hosted elsewhere by pointing a scenario at its URL with create_app_scenario. Both the when-to-use and an explicit when-NOT-to-use case are present.

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.