Skip to main content
Glama

Create VPS Subdomain

create_vserver_subdomain

Create a subdomain that points at the VPS (free ZAP domain or one of the customer's domains). Requires confirm=true. Requires an active ZapX Pass (see server instructions).

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": {
      "serviceId": "<serviceId>",
      "label": "<label>"
    },
    "name": "create_vserver_subdomain"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelYesSubdomain label, e.g. `myserver` for myserver.<domain>.
confirmNo
domainIdNoDomain from get_vserver_dns `domains[].id`; default `platform` (the free ZAP domain).
serviceIdYesID of the VPS: the "id" field from list_account_services or list_vservers (e.g. "cmabc123..."). The numericId shown in the panel (e.g. "180") is accepted too. IDs of other service types do not work here.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent, open-world write. The description adds genuinely new context: a confirm=true guard gate and an account-level entitlement (ZapX Pass) that must be active, both of which affect whether the call can succeed. It stops short of describing what happens on a duplicate label or whether DNS propagation is immediate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, no redundancy, with the core purpose front-loaded and prerequisites following. Every sentence carries information the agent needs.

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

Completeness3/5

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

For a creation tool with no output schema, the description never indicates what is returned (subdomain id, hostname, DNS status) or whether the result is immediately resolvable. Prerequisites are covered, but the post-call picture is left to inference.

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 75% and the schema itself documents label, domainId (with the 'platform' default) and serviceId well. The description only reinforces confirm=true and the domain choice, so it adds little meaning beyond the structured fields; baseline 3 applies.

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 and resource plus the target it resolves to: 'Create a subdomain that points at the VPS', and clarifies the parent domain can be the free ZAP domain or a customer domain. It is not explicitly contrasted with a generic DNS-record tool, but the VPS-subdomain scope is unambiguous on its own.

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

Usage Guidelines3/5

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

Gives real prerequisites — 'Requires confirm=true' and 'Requires an active ZapX Pass' — which tell the agent the conditions for a successful call. It does not say when to prefer this over alternatives (e.g., a generic DNS record tool) or what to do if the label already exists.

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.

Resources