Skip to main content
Glama

Create server

create_server

Provision a sized server box. Servers hold projects; each project gets a stable URL that serves once you make it public. One server holds several projects, so check list_servers for one with room before creating another. Pass secrets to set server-wide env vars (shared by every project on the server); values are write-only. Pass kind: "browser" for a box with a screen and a browser on it. Returns the server id. A new server takes about a minute to start: poll get_server until provisioning reads ready before writing files or starting apps.

Input Schema

NameRequiredDescriptionDefault
kindNoWhat kind of box. standard is a headless server, the default. browser adds a screen with Chrome on it, so a run can use sites that need a real browser: take a screenshot with `s4a-computer screenshot`, then click and type with `s4a-computer`. A browser box costs more to run and needs a plan that allows the medium tier.
taskNoShort nickname for the server.
tierNoSize tier. small=3 projects/5 GB, medium=10 projects/20 GB, large=unlimited projects/100 GB. Available tiers depend on your plan. Defaults to small.
regionNoWhere the box runs. Defaults to us-east.
secretsNoServer-wide env vars to set and bind. Values are write-only.
project_sharingNoWhat an agent run in one of this server's projects may do with the others on it. isolated = runs are not told the other projects exist. read = runs may read them for reference and are told not to change them. shared = runs may work across projects. Defaults to read. Guidance for runs, not a hard boundary: projects on a server share one machine.

Output Schema

NameRequiredDescriptionDefault
idYesThe new server's id.
urlNoThe server's own address, when it has one.
kindNostandard = headless. browser = a box with a screen and a browser on it.
tierNoSize tier.
statusNoLifecycle status. A new box takes a minute or two to become ready.
project_sharingNoWhat a run in one project may do with the others.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true), it discloses the non-obvious operational traits: roughly one minute of asynchronous provisioning that must be awaited via get_server, secrets being write-only, and the returned server id. No contradiction with the declared hints.

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 purpose, then workflow constraint, then parameter notes, then the provisioning delay — a sensible order. Slightly redundant with the schema on secrets and the browser kind, and the sentences are long, but no line is filler.

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 six-parameter, zero-required creation tool with an output schema, nothing an agent needs is missing: prerequisite check, side effects, write-only values, latency, and the readiness gate are all covered. Return shape is delegated to the output schema, as appropriate.

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 kind, tier, region, project_sharing, and the secrets item shape are already fully documented. The description's mentions of `secrets` (server-wide, shared by every project, write-only) and `kind: "browser"` largely restate the schema in abbreviated form, adding only the sharing scope implied by 'server-wide'. Baseline 3 applies.

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?

Opens with a specific verb+resource ('Provision a sized server box') and immediately situates it in the object model: servers hold projects, projects get URLs. It is clearly distinguishable from create_project, get_server, and list_servers named in the text.

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 routing logic: check list_servers for a server with room before creating another, and poll get_server until provisioning reads ready before writing files. It also names the condition that selects the browser variant, so precedence between this tool and its siblings is fully determined.

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.