Skip to main content
Glama

add_domain

Attaches a new domain name to a specified web application on a RunCloud server, enabling the app to serve that domain.

Instructions

Add a domain to a web application

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>",
      "webappId": "<webappId>",
      "name": "<name>"
    },
    "name": "add_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesDomain name
serverIdYesThe ID of the server
webappIdYesThe ID of the web application

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

C2.9/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 it discloses essentially nothing: not whether the domain is validated, whether DNS must resolve first, what permissions are required, or whether adding a domain triggers SSL issuance. Only the bare 'add' (a mutation) is implied by the verb.

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?

It is a single front-loaded sentence with no filler words. However, its brevity comes at the cost of information rather than being maximally efficient, so it isn't a 5.

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 mutating tool with three required identifiers, no annotations, and no output schema, the definition should say more about prerequisites and effects. As written, an agent has no basis to predict success conditions or side effects.

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 serverId, webappId, and name are already documented in the input schema. The description adds no extra meaning, formats, or constraints beyond what the schema provides, making the 3 baseline appropriate.

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?

The description gives a specific verb and resource ('Add a domain') plus a target object ('to a web application'), which is enough to distinguish it from siblings such as delete_domain or add_ssh_key. It never explicitly names a sibling it differs from, so it stops short of a 5.

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 this tool is the right choice versus alternatives like create_webapp_alias, nor any stated preconditions (domain ownership, DNS pointing, whether the webapp must already exist). The agent must infer all usage context.

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