Skip to main content
Glama

cloud_deploy_machine

Deploy a Machine (VPS or GPU) paid from Cloud credits. Needs a key with the "spend" permission, max_usd and idempotency_key. See plans and prices with cloud_list_plans.

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": {
      "computeApiKey": "<computeApiKey>",
      "plan": "<plan>",
      "region": "<region>",
      "prepaid_hours": "<prepaid_hours>",
      "max_usd": "<max_usd>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "cloud_deploy_machine"
  }
}

Input Schema

NameRequiredDescriptionDefault
planYesPlan id from cloud_list_plans
labelNo
os_idNoOperating system id. Default 2284 (Ubuntu 24.04).
regionYesRegion id, for example ewr
max_usdYesThe most you agree to pay, in US dollars. Refused before any charge if the price is higher.
computeApiKeyYesSingularity Cloud API key with the "spend" permission (cloud.x402compute.cc > Settings > API keys).
prepaid_hoursYesPrepaid hours. At least 24, or when cloud_list_plans shows hourly rentals on: at least 1 for a machine, 2 for a GPU. Under 24 hours costs the hourly price +15% for machines and +20% for GPUs and AI machines (even on a CPU plan).
ssh_public_keyNoOptional SSH public key for root login
idempotency_keyYesA new unique id per purchase (8 to 128 letters, digits, . _ : -). Repeating a purchase with the SAME id never charges twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / prepaid_hours / description
      Previous value: -"Prepaid hours. At least 24, or when cloud_list_plans shows hourly rentals on: at least 1 for a machine, 2 for a GPU. Under 24 hours costs the hourly price +15% for machines and +20% for GPUs."New value: +"Prepaid hours. At least 24, or when cloud_list_plans shows hourly rentals on: at least 1 for a machine, 2 for a GPU. Under 24 hours costs the hourly price +15% for machines and +20% for GPUs and AI machines (even on a CPU plan)."
  2. Changed1 schema field changed
    • changedInput schema / properties / prepaid_hours / description
      Previous value: -"Prepaid hours. At least 24, or at least 1 when cloud_list_plans shows hourly rentals on: under 24 hours costs the hourly price +15% for machines and +20% for GPUs."New value: +"Prepaid hours. At least 24, or when cloud_list_plans shows hourly rentals on: at least 1 for a machine, 2 for a GPU. Under 24 hours costs the hourly price +15% for machines and +20% for GPUs."
  3. Changed2 schema fields changed
    • changedInput schema / properties / prepaid_hours / description
      Previous value: -"Prepaid hours, at least 24"New value: +"Prepaid hours. At least 24, or at least 1 when cloud_list_plans shows hourly rentals on: under 24 hours costs the hourly price +15% for machines and +20% for GPUs."
    • changedInput schema / properties / prepaid_hours / minimum
      Previous value: -24New value: +1
  4. Added

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden; it discloses that the purchase is paid from Cloud credits, that a spend-permission key is required, and that an idempotency key prevents double charging. It says nothing about what happens after a successful call — whether deployment is synchronous, how long it takes, how to retrieve or delete the created machine, or failure/recovery semantics — which are material for a purchase operation.

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?

Two sentences, front-loaded with the action and cost model, followed by prerequisites and the discovery tool. No filler, no restatement of the title, and the alternative tool is surfaced at the end where it is most useful.

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 9-parameter, 6-required purchase tool with no annotations and no output schema, the definition covers purpose, authorization, billing source and idempotency reasonably well. The notable gap is the return value: with no output schema, the description should say what a successful deploy returns (e.g., an instance id or handle) and whether it is immediate or asynchronous.

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 89%, so the schema already documents plan, region, max_usd, prepaid_hours, computeApiKey, os_id, ssh_public_key and idempotency_key in detail. The description only echoes a subset of those requirements and adds no format, unit, or defaulting guidance beyond the schema, so the baseline of 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?

The definition opens with a specific verb and resource: "Deploy a Machine (VPS or GPU) paid from Cloud credits," and the parenthetical narrows what a Machine is. It is clear enough to act on, though it never contrasts this against the sibling deploy tools (cloud_deploy_pod, cloud_deploy_processor), so an agent must infer which deploy path fits.

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

Usage Guidelines4/5

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

It gives concrete preconditions (a key with the "spend" permission, max_usd and idempotency_key) and routes the agent to cloud_list_plans to inspect plans and prices before calling. What it lacks is explicit when-not guidance or a comparison to cloud_deploy_pod and cloud_deploy_processor, so selection among deploy siblings is still left to inference.

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