Skip to main content
Glama

Create a GPU pod

rent_create_gpu_pod

Starts a GPU pod on RunPod with your own RunPod key (store it with rent_set_byok_credential, vendor runpod). RunPod bills your key by the hour until rent_terminate_gpu_pod; no rent.dev balance is used. The pod id (lse_…) lives until it is terminated. Arguments not listed are refused by name. When RunPod is out of that GPU type it answers 503 no_capacity with retry_after and the pod is listed failed; retry after that, or pick another RunPod GPU type from rent_quote, which may be in stock.

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": {
      "gpu_type": "<gpu_type>",
      "image": "<image>"
    },
    "name": "rent_create_gpu_pod"
  }
}

Input Schema

NameRequiredDescriptionDefault
envNo
imageYesContainer image.
portsNoe.g. ["8888/http", "22/tcp"].
gpu_typeYesRunPod GPU type id, e.g. NVIDIA GeForce RTX 4090.
gpu_countNoDefault 1.
volume_gbNoDefault 0.
cloud_typeNoDefault SECURE.
credential_idNoRunPod credential (`cred_…`); default the account's only one.
container_disk_gbNoDefault 20.

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
imageYes
portsYes
stateYes
pod_idYes
ended_atYes
gpu_typeYes
billed_byYes
gpu_countYes
volume_gbYes
account_idYes
cloud_typeYes
created_atYes
started_atYes
credential_idYes
container_disk_gbYes
cost_per_hour_usdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the billing model (billed hourly on your own key, no rent.dev balance consumed), the pod id's lifetime, strict argument validation ("arguments not listed are refused by name"), and the concrete failure contract for capacity exhaustion (503, no_capacity, retry_after, pod recorded as failed). These are exactly the operational facts an agent needs that readOnlyHint/openWorldHint/destructiveHint do not convey.

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-loads the action and vendor, then builds outward to billing, lifecycle, validation, and error handling with almost no filler. Density is high and the parenthetical/backtick styling makes it slightly harder to scan than plain prose, but every clause carries distinct information.

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 9-parameter, open-world creation tool with a mutation and cost implication, the description covers credentials, billing, id lifetime, validation strictness, and the main failure mode. Return values are covered by the existing output schema, so nothing essential is left for the agent to guess.

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 89%, so the schema carries most parameter documentation. The description still adds value by pointing to rent_quote as the source of valid gpu_type values, which is a discovery hint the schema's example alone does not provide, and by warning that unlisted arguments are rejected rather than ignored.

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 ("Starts a GPU pod on RunPod") plus the defining constraint that it uses the caller's own RunPod key rather than a rent.dev balance, which is exactly what separates it from the sandbox-creation sibling. An agent can classify the tool 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?

Gives an explicit prerequisite (store the key first via rent_set_byok_credential, vendor runpod), an explicit lifecycle counterpart (RunPod bills hourly until rent_terminate_gpu_pod), and an explicit recovery path on 503 no_capacity: retry after retry_after or select another GPU type from rent_quote. It stops short of naming when NOT to use it (e.g. non-GPU workloads that belong to rent_create_sandbox), so it is strong but not exhaustive.

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