Skip to main content
Glama

Lium GPU Cloud: live GPU prices and rent links

Rent a Lium GPU pod

rent_pod
Destructive

Rent a GPU pod on Lium with your API key and wait until it runs; returns the pod id and the ssh command. Spends money from your Lium balance: the pod is billed per second until remove_pod, also when idle. Give gpu (and count, optional max_price_per_gpu_hour and country) to let Lium pick the cheapest matching node, or node_id from search_gpus alone for that node. quoted_price_per_gpu_hour caps the price: a node asking more than one cent per GPU-hour above it is not rented. idempotency_key is required: a call with the same key within 24 hours returns the first rental instead of renting again. quote_id is required: the one quote_rent returned for the same gpu or node_id, count, country, template_id and quoted_price_per_gpu_hour; other terms rent nothing.

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": {
      "quoted_price_per_gpu_hour": "<quoted_price_per_gpu_hour>",
      "idempotency_key": "<idempotency_key>",
      "quote_id": "<quote_id>"
    },
    "name": "rent_pod"
  }
}

Input Schema

NameRequiredDescriptionDefault
gpuNoGPU model, e.g. H100, RTX 4090; Lium picks the cheapest node that fits
nameNoPod name
countNoGPUs on one node (default: 1 with gpu, every free GPU with node_id)
countryNoTwo-letter country code (with gpu, not node_id)
node_idNoA node id from search_gpus, to rent that node
quote_idYesThe quote_id quote_rent returned for these terms (valid 30 to 60 minutes)
template_idNoFrom list_templates; default: Lium's PyTorch image for the node
wait_secondsNoHow long to wait for the pod to run (default 25, max 50)
ssh_public_keyNoOpenSSH public key to log in with (e.g. ~/.ssh/id_ed25519.pub); default: the keys saved on your Lium account
idempotency_keyYesA unique string per rental (e.g. a UUID). A call with the same key within 24 hours returns the same rental: it never rents twice
max_price_per_gpu_hourNoPrice cap in USD per GPU-hour (with gpu, not node_id)
quoted_price_per_gpu_hourYesExpected USD per GPU-hour, e.g. search_gpus price_per_gpu_hour; a node asking more than one cent per GPU-hour above it is not rented

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / quote_id
      Added value: +{
      +  "description": "The quote_id quote_rent returned for these terms (valid 30 to 60 minutes)",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "quoted_price_per_gpu_hour",
      -  "idempotency_key"
      -]New value: +[
      +  "quoted_price_per_gpu_hour",
      +  "idempotency_key",
      +  "quote_id"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / idempotency_key / description
      Previous value: -"A new unique string per rental (e.g. a UUID). Send the same key again within 24 hours to retry the same rental: it never rents twice"New value: +"A unique string per rental (e.g. a UUID). A call with the same key within 24 hours returns the same rental: it never rents twice"
    • changedInput schema / properties / quoted_price_per_gpu_hour / description
      Previous value: -"USD per GPU-hour of the price you told the user before calling (search_gpus price_per_gpu_hour); a node asking more than one cent per GPU-hour above it is not rented"New value: +"Expected USD per GPU-hour, e.g. search_gpus price_per_gpu_hour; a node asking more than one cent per GPU-hour above it is not rented"
  3. Changed2 schema fields changed
    • addedInput schema / properties / quoted_price_per_gpu_hour
      Added value: +{
      +  "description": "USD per GPU-hour of the price you told the user before calling (search_gpus price_per_gpu_hour); a node asking more than one cent per GPU-hour above it is not rented",
      +  "exclusiveMinimum": 0,
      +  "type": "number"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "idempotency_key"
      -]New value: +[
      +  "quoted_price_per_gpu_hour",
      +  "idempotency_key"
      +]
  4. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true, openWorldHint=true, idempotentHint=false and readOnlyHint=false, so the safety profile is partly pre-supplied; the description still adds substantial context beyond that: money is spent from the Lium balance, billing is per second and continues while idle until remove_pod, the call blocks waiting for the pod to run, and same-key replays within 24 hours return the first rental. The per-key idempotency nuance slightly softens the 'idempotentHint=false' label rather than contradicting it, but because the description's cost/idle-billing and 24-hour replay semantics go well past the annotations, a 4 is warranted rather than the mid-tier 3. It stops short of 5 only because it never states what happens on partial failure (e.g. pod created but never reaches running within wait_seconds) or whether a failed rental still consumes balance.

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 what it does, what it returns and what it costs, then the parameter rules; nearly every sentence carries information. The semicolon-chained sentences (especially the quote_id and idempotency_key sentences) are dense and would read better as short bullets, which costs it a point.

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?

For a 12-parameter, money-spending mutation with no output schema, the description covers the essentials: return values (pod id, ssh command), cost model and duration, blocking/wait behavior, the required quote and idempotency prerequisites, and how the two selection paths differ. Nothing an agent needs to call this correctly is missing.

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 100%, so the schema already defines each field, and the description's main added value is cross-parameter semantics: gpu-based selection versus node_id-based selection are mutually exclusive paths, and quote_id must correspond to the same gpu/node_id, count, country, template_id and quoted_price_per_gpu_hour or nothing is rented. It also explains the one-cent tolerance on quoted_price_per_gpu_hour, which the schema states but the description reinforces as a decision rule.

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?

States a specific verb and resource ('Rent a GPU pod on Lium') plus the observable outcome ('returns the pod id and the ssh command'), and it is clearly separated from the sibling quote_rent, which it names as the prerequisite for quote_id. An agent can tell this is the actual spending action, not the quote or the search.

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

Usage Guidelines5/5

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

Gives explicit routing rules: supply gpu (plus count/max_price_per_gpu_hour/country) to let Lium pick the cheapest node, or node_id from search_gpus for a specific node. It also states the two hard prerequisites (quote_id from quote_rent matching the same terms, and idempotency_key) and the lifecycle exit (billing continues until remove_pod), which is exactly the when/when-not guidance an agent needs.

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.