Skip to main content
Glama

PrivateByte

Order a new server

create_server

Order a new server AND pay for it from the account wallet. THIS SPENDS REAL MONEY. It works in two steps. Step 1: call it with only product_id; nothing is ordered, and the reply lists the questions from checkout (operating system, each extra such as additional IPv4 or disk, billing cycle, hostname, coupon, SSH keys for the first login) with their choices and prices. Ask the person every question; never choose for them. Step 2: call it again with every answer, the ceiling max_price_minor (whole minor units, 599 = 5.99) and a request_id. If any answer is missing, or the first invoice would be above the ceiling, nothing is ordered. The server renews at the same price every billing cycle until the service is cancelled. Needs a key with orders:create, billing:read and invoices:pay. If the wallet cannot cover it, the order is held unpaid for 15 minutes and the reply says how much is missing.

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": {
      "product_id": "<product_id>"
    },
    "name": "create_server"
  }
}

Input Schema

NameRequiredDescriptionDefault
osNoOperating system: a name or part of one, for example "Ubuntu 24.04", or its value id
extrasNoOne entry per extra the product offers: the option name (or id) mapped to the chosen value name (or id). Choose the free value to decline an extra.
hostnameNoA name for the server, or null when the person does not want one
quantityNoHow many identical servers. Only set it when the person asked for more than one.
ssh_keysNoIds of saved SSH keys to log in with, or an empty list for none. Not asked for Windows.
product_idYesFrom list_products
request_idNoAn id you choose for this one action, 8 to 64 characters. Send the same id again when retrying, so nothing is done twice. Use a new id for a new action.
coupon_codeNoA coupon code, or null when the person has none
billing_cycleNoOne of the cycles the product is sold in, for example monthly
max_price_minorNoSpending ceiling for the first invoice, in whole minor units

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=false), it discloses that real money is spent, that step 1 is effectively a dry run that orders nothing, that renewal recurs every cycle until cancellation, the required scopes (orders:create, billing:read, invoices:pay), and that an underfunded order is held unpaid for 15 minutes with the shortfall reported.

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?

The money warning is front-loaded, then the flow is laid out in ordered steps, then prerequisites and failure modes. Despite its length, every sentence carries decision-relevant information for a 10-parameter, two-phase tool.

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

Completeness5/5

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

With no output schema, the description still tells the agent what the reply contains at each step (the checkout questions with choices and prices; the shortfall amount when the wallet is insufficient). For a high-stakes two-call flow this is complete enough to invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline is 3; the description still adds meaning by explaining max_price_minor units with a concrete example (599 = 5.99), tying request_id to retry idempotency, and specifying that step 1 takes only product_id while step 2 takes all answers. It does not explain every parameter (e.g. extras/ssh_keys interplay is left to the schema), so not a 5.

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 description pairs a specific verb and resource ("Order a new server") with the additional act of paying from the wallet, and the two-step structure makes clear how it differs from a generic order_product or a product-listing call. An agent can tell what this tool does without opening the schema.

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 explicit procedural guidance: call first with only product_id to fetch the checkout questions, then call again with every answer plus max_price_minor and request_id, and it states the failure conditions (missing answer, first invoice above ceiling). It does not explicitly name a sibling alternative (e.g. order_product) or when to prefer it, which keeps it below a 5.

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