Skip to main content
Glama
American Cloud MCP Server

American Cloud MCP Server

Official

Get VM cost estimate

get_cost_estimate_vm
Read-onlyIdempotent

Preview hourly and monthly costs for a planned VM configuration before provisioning, using the same arguments as VM creation. Check pricing before you create the VM.

Instructions

Preview the price of a VM configuration without creating anything. Takes the same arguments as create_vm and returns hourly/monthly cost breakdowns — use this before create_vm when cost matters.

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": {
      "name": "<name>",
      "region": "<region>",
      "vmPackage": "<vmPackage>",
      "vmSpecs": "<vmSpecs>",
      "image": "<image>",
      "subscriptionPeriod": "<subscriptionPeriod>"
    },
    "name": "get_cost_estimate_vm"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesVM name.
tagsNoTags to attach to the VM.
imageYesImage label, e.g. "ubuntu-24.04-050826" (from list_images).
regionYesRegion label, e.g. "us-west-0" (from list_regions).
networkNoUUID of an existing network to attach the VM to (from networking list tools). Omit to have an isolated network created for the VM automatically. An auto-created network is removed with the VM once its last VM is deleted; a network you supply is left untouched.
vmSpecsYesVM size. Must be within the chosen package's limits (see list_vm_packages for min/max).
keypairsNoNames of SSH key pairs to install for the default login user cloud (from list_ssh_keys). Connect with ssh cloud@<public-ip>.
userdataNoBase64-encoded cloud-init userdata script to run on first boot.
vmPackageYesVM package label, e.g. "standard-custom" (from list_vm_packages).
networkAccessNoOptional post-create network access configuration (egress + inbound rules on the network's public IP).
subscriptionPeriodYesBilling period: "hourly" (pay per hour) or "monthly".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.9.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / networkAccess / additionalProperties
      Removed value: -false
    • removedInput schema / properties / networkAccess / properties / inboundPorts / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / vmSpecs / additionalProperties
      Removed value: -false
    • addedInput schema / properties / vmSpecs / properties / memoryMb / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / vmSpecs / properties / rootDiskGb / maximum
      Added value: +9007199254740991
  2. First observedv0.8.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive behavior, so the description's added "without creating anything" is reinforcement rather than revelation. It does add real behavioral context beyond annotations: the return shape (hourly/monthly cost breakdowns) and the fact that the argument contract mirrors create_vm, which tells the agent no separate parameter set is needed.

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 purpose and ending on the routing rule. Every clause carries distinct information: what it does, what it does not do, what it returns, and when to prefer it.

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

Completeness4/5

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

For an 11-parameter tool with nested objects and no output schema, the description covers the essentials: cost is previewed, nothing is provisioned, and the result is an hourly/monthly breakdown. The remaining gap is that it does not say which of the create_vm-style arguments are irrelevant to pricing, so an agent may over-supply inputs such as keypairs or userdata.

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 100%, so the schema already documents all 11 parameters; baseline is 3. The description's only semantic addition is that the arguments mirror create_vm, which usefully explains why fields like name, tags, and userdata are required for a pure price preview, but it never says which inputs actually drive the price (nor does it clarify that the subscriptionPeriod enum is related to the hourly/monthly breakdowns it mentions).

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?

The first sentence gives a specific verb and resource ("Preview the price of a VM configuration") plus an explicit non-effect ("without creating anything"). The resource qualifier "VM" separates it from the sibling cost-estimate tools for block storage, Kubernetes, object storage, public IP, and snapshots.

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 states the call-site condition clearly: "use this before create_vm when cost matters," naming the alternative write operation. There is no explicit when-not case (e.g., that it is unnecessary when price is already known), which keeps it short of a 5.

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