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.

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": "create_server"
  }
}

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, fixed once it exists. us = United States, the default. eu = Europe, in Germany. se = Europe, in Sweden. In Europe the server, its files and its apps run in that country. Asia is not open yet.
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. Changed2 schema fields changed
    • changedInput schema / properties / region / description
      Previous value: -"Where the box runs, fixed once it exists. us = United States, the default. eu = Europe, in Germany: the server, its files and its apps run there. Asia is not open yet."New value: +"Where the box runs, fixed once it exists. us = United States, the default. eu = Europe, in Germany. se = Europe, in Sweden. In Europe the server, its files and its apps run in that country. Asia is not open yet."
    • changedInput schema / properties / region / enum
      Previous value: -[
      -  "us",
      -  "eu"
      -]New value: +[
      +  "us",
      +  "eu",
      +  "se"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / region / description
      Previous value: -"Where the box runs. Defaults to us-east."New value: +"Where the box runs, fixed once it exists. us = United States, the default. eu = Europe, in Germany: the server, its files and its apps run there. Asia is not open yet."
    • changedInput schema / properties / region / enum
      Previous value: -[
      -  "us-east",
      -  "us-west",
      -  "eu-west"
      -]New value: +[
      +  "us",
      +  "eu"
      +]
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say it is a non-read-only, non-idempotent, non-destructive open-world write; the description adds what they cannot — secrets are write-only and shared server-wide, a new server takes about a minute to become usable, and a browser box costs more and requires a plan with the medium tier. These are exactly the operational facts an agent needs before calling.

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 consequences, then parameters, then the provisioning-latency caveat — a sensible order with no filler sentences. It is dense and slightly overpacked, but every sentence carries information.

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 create tool with six optional params and an output schema, the description covers cost/plan constraints, secret write-only semantics, the shape of the returned id, and the readiness polling requirement. Nothing an agent needs to invoke it correctly is 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 coverage is 100%, so the baseline is 3, but the description adds real meaning: `secrets` is clarified as server-wide env vars shared by every project (distinguishing it from project-level secrets), and `kind: "browser"` is tied to the actual workflow of screenshotting/clicking. It stops short of explaining `project_sharing` or `region`, which the schema handles on its own.

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 and resource ('Provision a sized server box') and immediately explains the object model (servers hold projects, each project gets a URL). It is unmistakably distinct from siblings like list_servers, get_server, or create_project.

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?

Explicitly routes the agent: 'check list_servers for one with room before creating another' names the alternative and the condition that selects it, and 'poll get_server until provisioning reads ready before writing files' gives the correct follow-up flow. This is when-to-use plus what-to-do-next guidance.

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.