Skip to main content
Glama

create_webapp

Creates a new web application on a RunCloud server, assigning its domain, system user, stack, PHP version, and resource limits. Use it to provision hosted apps with the required server and domain settings.

Instructions

Create a new web application on a server

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": {
      "serverId": "<serverId>",
      "name": "<name>",
      "domainName": "<domainName>",
      "user": "<user>"
    },
    "name": "create_webapp"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesWeb application name
userYesSystem user ID
stackNoStack (native, hybrid)
serverIdYesThe ID of the server
timezoneNoTimezone (e.g., UTC)
stackModeNoStack mode (production, development)
domainNameYesPrimary domain name
phpVersionNoPHP version (e.g., "php81")
publicPathNoPublic path (default: /)
memoryLimitNoMemory limit in MB
openBasedirNoOpen basedir restriction
postMaxSizeNoMax POST size in MB
maxInputTimeNoMax input time in seconds
maxInputVarsNoMax input variables
allowUrlFopenNoAllow URL fopen
xssProtectionNoEnable XSS protection
processManagerNoProcess manager (dynamic, ondemand, static)
disableFunctionsNoComma-separated disabled functions
maxExecutionTimeNoMax execution time in seconds
uploadMaxFilesizeNoMax upload file size in MB
sessionGcMaxlifetimeNoSession GC max lifetime in seconds
clickjackingProtectionNoEnable clickjacking protection
mimeSniffingProtectionNoEnable MIME sniffing protection
processManagerMaxChildrenNoMax children processes
processManagerMaxRequestsNoMax requests per process
processManagerStartServersNoStart servers (for dynamic)
processManagerMaxSpareServersNoMax spare servers (for dynamic)
processManagerMinSpareServersNoMin spare servers (for dynamic)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and does almost none of it. It does not say whether the app is provisioned immediately or queued, what happens if the domain is already bound, which stack defaults apply, or whether failures roll back partial configuration.

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?

A single front-loaded sentence with zero waste, but it is terse to the point of being unhelpful for a 28-parameter mutation. Nothing is said about which four parameters are mandatory versus the long tail of optional tuning fields.

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

Completeness2/5

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

For a 28-parameter write operation with no annotations and no output schema, the definition is far too thin. An agent gets no signal about side effects, defaults for the many optional PHP/process-manager fields, or what a successful response contains.

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 description coverage is 100%, so every one of the 28 parameters is already documented in the schema; the description adds no meaning beyond it. Baseline 3 applies when the schema already does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Create') and resource ('new web application') plus scope ('on a server'), so an agent can tell it apart from delete_webapp or update_webapp_settings. It does not, however, differentiate itself from the sibling create_webapp_alias, which reads as a near-duplicate operation.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus create_webapp_alias, no prerequisites (that serverId and user must already exist), and no note on required domain setup. Only the bare creation context is implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools