Skip to main content
Glama

Machine plans and prices

compute_plans
Read-onlyIdempotent

Lists the computers Agentgates rents to agents, by the hour (by the minute on a plan whose card carries minMinutes): confidential ones (Intel TDX, memory encrypted in use), for agents that hold keys, money or private data, and plain ones with no proof (proof: "none": the host can read them, for a much lower price), for agents with nothing secret on them such as scrapers, crawlers and test runs. Each plan's vCPU, memory, disk and traffic, the hours one payment may buy, and the live price of each block of hours on each payment network (USDC over x402). Read from the live catalog at call time. Free: no account, no wallet, no payment. Pass plan to read one plan.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "compute_plans"
  }
}

Input Schema

NameRequiredDescriptionDefault
planNoOne plan id, to read only that plan. Omit for every plan on sale.

Output Schema

NameRequiredDescriptionDefault
okYes
codeNo
noteNo
errorNo
plansNo
onSaleNoWith unknown_plan: the plan ids on sale now.
sourceNo
noticesNoThe API's notices on its answer, when it sent any.
networksNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / plans / items / properties / opensWith
      Added value: +{
      +  "description": "What can open it once it runs: send your pick as open_with to compute_quote.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Changed1 schema field changed
    • addedOutput schema / properties / onSale
      Added value: +{
      +  "description": "With unknown_plan: the plan ids on sale now.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. Changed1 schema field changed
    • addedOutput schema / properties / plans / items / properties / waitsForHost
      Added value: +{
      +  "description": "true: no host has room now, so a purchase now runs about two minutes after it is paid, and its prices carry that host's start.",
      +  "type": "boolean"
      +}
  4. Changed16 schema fields changed
    • addedOutput schema / properties / plans / items / properties / autoRenews
      Added value: +{
      +  "description": "false: no automatic renewal from a balance; renew it yourself.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / plans / items / properties / cpuBurstVcpu
      Added value: +{
      +  "description": "On a plan whose card carries minMinutes: the vCPU it bursts to.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / plans / items / properties / endsWithItsDisk
      Added value: +{
      +  "description": "true: its disk ends with its paid time; nothing is kept after it.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / plans / items / properties / imageMaxMb
      Added value: +{
      +  "description": "The largest image of your own it takes, in MB.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / plans / items / properties / images
      Added value: +{
      +  "description": "The images it takes: send one as image to compute_quote.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / plans / items / properties / inbound
      Added value: +{
      +  "description": "false: it takes no inbound connections; its own address serves its calls.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / plans / items / properties / memoryMb
      Added value: +{
      +  "description": "On a plan whose card carries minMinutes: its memory, in MB.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / plans / items / properties / minMinutes
      Added value: +{
      +  "description": "It sells by the whole minute from this many: send minutes to compute_quote.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / plans / items / properties / minutePrices / description
      Previous value: -"Quarter-hour prices, only while the API sells them: send minutes in place of hours."New value: +"Prices by the minutes one payment buys: quarter-hours while the API sells them, or each step of a plan whose card carries minMinutes. Send minutes in place of hours."
    • changedOutput schema / properties / plans / items / properties / pauses / description
      Previous value: -"Only on a plain plan: true when its machines pause (stop keeps the disk and address, the paid time paying their keep; start runs it again and uses up an hour of it)."New value: +"Only on a plain plan or one whose card carries minMinutes: true when its machines pause (stop keeps the disk and address, the paid time paying their keep; start runs it again and uses up an hour of it)."
    • changedOutput schema / properties / plans / items / properties / paygOffered / description
      Previous value: -"Only on a plain plan: true when it is sold pay-as-you-go by the hour (its first hour priced as a new machine, each later hour as a renewed one: the 402's extra.paygHourMicro); false: buy hours up front."New value: +"Only on a plain plan or one whose card carries minMinutes: true when it is sold pay-as-you-go by the hour (its first hour priced as a new machine, each later hour as a renewed one: the 402's extra.paygHourMicro); false: buy its time up front."
    • changedOutput schema / properties / plans / items / properties / resizes / description
      Previous value: -"Only on a plain plan: true when its machines resize to another plain size, the disk kept."New value: +"Only on a plain plan or one whose card carries minMinutes: true when its machines resize to another plain size, the disk kept."
    • addedOutput schema / properties / plans / items / properties / startsRunning
      Added value: +{
      +  "description": "true: the paid call answers it running when a host has room, else it runs soon after.",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / plans / items / properties / takesNewSetup / description
      Previous value: -"Only on a plain plan: true when a running machine takes a new setup or new env values (it restarts once with them); false: start a new one."New value: +"Only on a plain plan or one whose card carries minMinutes: true when a running machine takes a new setup or new env values (it restarts once with them); false: start a new one."
    • addedOutput schema / properties / plans / items / properties / use
      Added value: +{
      +  "description": "How it is used once it runs, in the catalog's words.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / plans / items / properties / wall
      Added value: +{
      +  "description": "What it shares, in the catalog's words.",
      +  "type": "string"
      +}
  5. Changed5 schema fields changed
    • addedOutput schema / properties / plans / items / properties / regions / items / properties / dataIncludedGbPerHour
      Added value: +{
      +  "description": "On a plain plan's region: data out included for every hour bought there, in GB.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / plans / items / properties / regions / items / properties / pauses
      Added value: +{
      +  "description": "On a plain plan's region: true when every machine there pauses.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / plans / items / properties / regions / items / properties / resizes
      Added value: +{
      +  "description": "On a plain plan's region: true when every machine there resizes.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / plans / items / properties / regions / items / properties / takesNewSetup
      Added value: +{
      +  "description": "On a plain plan's region: true when every machine there takes a new setup while it runs.",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / plans / items / properties / runsIn / description
      Previous value: -"Only on a plain plan: where its machines run (no region to pick)."New value: +"Only on a plain plan: where its machines run. When it also lists regions, send one as region to compute_quote; with none it goes where a machine can be made now at the lowest price."
  6. Changed1 schema field changed
    • addedOutput schema / properties / notices
      Added value: +{
      +  "description": "The API's notices on its answer, when it sent any.",
      +  "type": "object"
      +}
  7. Changed4 schema fields changed
    • changedOutput schema / properties / plans / items / properties / pauses / description
      Previous value: -"Only on a plain plan: false while its machines are not paused."New value: +"Only on a plain plan: true when its machines pause (stop keeps the disk and address, the paid time paying their keep; start runs it again and uses up an hour of it)."
    • changedOutput schema / properties / plans / items / properties / paygOffered / description
      Previous value: -"Only on a plain plan: false while it is not sold pay-as-you-go (buy hours up front)."New value: +"Only on a plain plan: true when it is sold pay-as-you-go by the hour (its first hour priced as a new machine, each later hour as a renewed one: the 402's extra.paygHourMicro); false: buy hours up front."
    • changedOutput schema / properties / plans / items / properties / resizes / description
      Previous value: -"Only on a plain plan: false while its machines are not resized."New value: +"Only on a plain plan: true when its machines resize to another plain size, the disk kept."
    • changedOutput schema / properties / plans / items / properties / takesNewSetup / description
      Previous value: -"Only on a plain plan: false while a running machine takes no new setup (start a new one)."New value: +"Only on a plain plan: true when a running machine takes a new setup or new env values (it restarts once with them); false: start a new one."
  8. Changed5 schema fields changed
    • addedOutput schema / properties / plans / items / properties / pauses
      Added value: +{
      +  "description": "Only on a plain plan: false while its machines are not paused.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / plans / items / properties / paygOffered
      Added value: +{
      +  "description": "Only on a plain plan: false while it is not sold pay-as-you-go (buy hours up front).",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / plans / items / properties / resizes
      Added value: +{
      +  "description": "Only on a plain plan: false while its machines are not resized.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / plans / items / properties / takesNewSetup
      Added value: +{
      +  "description": "Only on a plain plan: false while a running machine takes no new setup (start a new one).",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / plans / items / properties / usePolicyUrl
      Added value: +{
      +  "description": "Only on a plain plan: what its machines may not be used for.",
      +  "type": "string"
      +}
  9. Changed2 schema fields changed
    • addedOutput schema / properties / plans / items / properties / proof
      Added value: +{
      +  "description": "\"none\": a plain machine, with no confidential proof (its host can read its disk and memory). Absent on every confidential plan.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / plans / items / properties / runsIn
      Added value: +{
      +  "description": "Only on a plain plan: where its machines run (no region to pick).",
      +  "items": {
      +    "properties": {
      +      "id": {
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  10. Changed9 schema fields changed
    • addedOutput schema / properties / plans / items / properties / address
      Added value: +{
      +  "description": "\"own\": the machine's own fixed public address, in and out.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / plans / items / properties / closedPorts
      Added value: +{
      +  "items": {
      +    "type": "number"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / plans / items / properties / dataIncludedGbPerHour
      Added value: +{
      +  "description": "Data out included for every hour bought, in GB.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / plans / items / properties / dataPricePerGb
      Added value: +{
      +  "description": "Data out past that, in USD per GB.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / plans / items / properties / maintenance
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / plans / items / properties / ports
      Added value: +{
      +  "description": "\"any\": every port but closedPorts.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / plans / items / properties / protocols
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / plans / items / properties / regions
      Added value: +{
      +  "description": "Only on a plan that lists regions: where it runs, each at its own price. Send one as region to compute_quote.",
      +  "items": {
      +    "properties": {
      +      "fromUsdPerHour": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "oneHourUsd": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / plans / items / properties / tier
      Added value: +{
      +  "description": "The plan's tier, where it has one.",
      +  "type": "string"
      +}
  11. Changed1 schema field changed
    • addedOutput schema / properties / plans / items / properties / minutePrices
      Added value: +{
      +  "description": "Quarter-hour prices, only while the API sells them: send minutes in place of hours.",
      +  "items": {
      +    "properties": {
      +      "byNetwork": {
      +        "items": {
      +          "properties": {
      +            "network": {
      +              "type": "string"
      +            },
      +            "totalUsd": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "usdPerHour": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "minutes": {
      +        "type": "number"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  12. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuinely non-obvious behavior: data is read from the live catalog at call time (prices are not cached), and access is "Free: no account, no wallet, no payment" — an auth/cost fact the annotations do not carry. It also discloses the plain-plan security tradeoff ("the host can read them").

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?

Front-loaded with the core purpose and roughly proportionate in length; nearly every clause carries information (pricing units, plan classes, payment network, cost of access). The nested parentheses ("by the minute on a plan whose card carries minMinutes") and the long run-on middle sentence make it denser to parse than necessary, but there is little true filler.

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?

With an output schema present, return values need not be explained, and the description still previews what each plan contains (vCPU, memory, disk, traffic, hours per payment, per-network USDC/x402 prices). Freshness, cost of access, and plan-type tradeoffs are all covered. The only gap is that it does not point at compute_quote for turning a listed plan into an actual purchase.

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% with a single optional parameter already documented as "One plan id, to read only that plan. Omit for every plan on sale." The description's "Pass `plan` to read one plan" restates that without adding format, id syntax, or behavior on an unknown id. Baseline 3 is correct when the schema does the work.

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?

Opens with a concrete verb and resource: "Lists the computers Agentgates rents to agents, by the hour," and scopes it to a live catalog. It clearly separates two plan classes (confidential Intel TDX vs. plain `proof: "none"`), so an agent knows exactly what comes back. It never names its siblings (compute_quote, compute_docs) or explains how this differs from them, which keeps it below 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 Guidelines4/5

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

Gives real selection guidance by describing who each plan class is for: confidential plans "for agents that hold keys, money or private data," plain plans "for agents with nothing secret on them such as scrapers, crawlers and test runs." It also states the single-plan path ("Pass `plan` to read one plan"). It stops short of stating when to use this versus compute_quote for an actual purchase, so no explicit alternatives or exclusions.

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.