Skip to main content
Glama

emt_rent

Start a PAID GPU rental with exactly one of environment (verified, from emt_environments: preferred) or template. Requires explicit spending authorization, fresh quote, rent scope, credit and accepted terms. Store payload and key before requesting.

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": {
      "quote": "<quote>",
      "name": "<name>",
      "confirm_paid_rental": "<confirm_paid_rental>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "emt_rent"
  }
}

Input Schema

NameRequiredDescriptionDefault
sshNoOpenSSH public key (ssh-ed25519 / ssh-rsa / ecdsa) authorized on the machine. Never send a private key.
nameYesHuman-readable name for the rental or job, shown in the console.
portsNoNumber of public ports to expose, 0–200 (default 10).
quoteYesUUID of a fresh, unexpired quote from the matching quote tool.
setupNoOptional start-up for a verified environment: repo (public https Git URL), ref (branch/tag) and script (bash, max 3000 chars).
volumeNoUUID of a persistent volume of the workspace to attach at start.
backupsNotrue enables scheduled backups of /root for this rental (billed as storage).
jupyterNotrue also starts JupyterLab on the machine (default false).
templateNoUUID of a public template from emt_templates; use only when no verified environment fits.
environmentNoVerified environment ID from emt_environments (preferred over template), e.g. "pytorch", "vllm".
idempotency_keyYesUnique key (16–120 chars of A-Z a-z 0-9 _ . : -). Reuse the same key and payload when retrying an uncertain request.
confirm_paid_rentalYesMust be true: confirms the user explicitly authorized this paid spend.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • addedInput schema / properties / backups / description
      Added value: +"true enables scheduled backups of /root for this rental (billed as storage)."
    • addedInput schema / properties / confirm_paid_rental / description
      Added value: +"Must be true: confirms the user explicitly authorized this paid spend."
    • addedInput schema / properties / environment / description
      Added value: +"Verified environment ID from emt_environments (preferred over template), e.g. \"pytorch\", \"vllm\"."
    • addedInput schema / properties / idempotency_key / description
      Added value: +"Unique key (16–120 chars of A-Z a-z 0-9 _ . : -). Reuse the same key and payload when retrying an uncertain request."
    • addedInput schema / properties / jupyter / description
      Added value: +"true also starts JupyterLab on the machine (default false)."
    • addedInput schema / properties / name / description
      Added value: +"Human-readable name for the rental or job, shown in the console."
    • addedInput schema / properties / ports / description
      Added value: +"Number of public ports to expose, 0–200 (default 10)."
    • addedInput schema / properties / quote / description
      Added value: +"UUID of a fresh, unexpired quote from the matching quote tool."
    • addedInput schema / properties / setup / description
      Added value: +"Optional start-up for a verified environment: repo (public https Git URL), ref (branch/tag) and script (bash, max 3000 chars)."
    • addedInput schema / properties / ssh / description
      Added value: +"OpenSSH public key (ssh-ed25519 / ssh-rsa / ecdsa) authorized on the machine. Never send a private key."
    • addedInput schema / properties / template / description
      Added value: +"UUID of a public template from emt_templates; use only when no verified environment fits."
    • addedInput schema / properties / volume / description
      Added value: +"UUID of a persistent volume of the workspace to attach at start."
  2. Changed3 schema fields changed
    • addedInput schema / properties / environment
      Added value: +{
      +  "maxLength": 40,
      +  "type": "string"
      +}
    • addedInput schema / properties / setup
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "ref": {
      +      "pattern": "^[A-Za-z0-9._/-]{1,100}$",
      +      "type": "string"
      +    },
      +    "repo": {
      +      "maxLength": 300,
      +      "type": "string"
      +    },
      +    "script": {
      +      "maxLength": 3000,
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "quote",
      -  "name",
      -  "template",
      -  "confirm_paid_rental",
      -  "idempotency_key"
      -]New value: +[
      +  "quote",
      +  "name",
      +  "confirm_paid_rental",
      +  "idempotency_key"
      +]
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare that this is a non-read-only, open-world, non-destructive call; the description adds the material facts that this spends money, requires user authorization and available credit, that the quote must be fresh and unexpired, and how retries should be handled. It stops short of describing what happens after start (async provisioning, resulting rental ID, billing cadence) or how the rental is later terminated via emt_terminate.

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?

Two dense, front-loaded sentences with no filler; the exclusivity rule leads and prerequisites follow. The closing "Store payload and key before requesting" is terse to the point of ambiguity about where the payload and key should be stored.

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 a 12-parameter, nested-object, paid mutation with no output schema, the definition covers the spend authorization, quote freshness, mutual exclusivity, and retry discipline that an agent most needs. It leaves out the post-start outcome (what identifier is returned, whether provisioning is asynchronous) and the cost/duration model, which are the remaining gaps.

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%, so the baseline is 3. The description does add one genuinely non-schema constraint — the exactly-one-of environment/template exclusivity and the preference ordering — which the schema does not encode, but it adds nothing about quote, idempotency_key, or the nested setup object beyond what the field descriptions already say.

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?

"Start a PAID GPU rental" is a specific verb plus resource, and the description immediately pins the exclusive selector (exactly one of environment or template) that defines this tool. It also names the sibling sources emt_environments and emt_templates, so an agent can tell this apart from emt_rent_cluster and the quote tools without opening a 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 an explicit preference rule (environment preferred, template only when no verified environment fits) and lists preconditions: explicit spending authorization, fresh quote, rent scope, credit, accepted terms. What is missing is a negative routing statement — e.g. when to use emt_rent_cluster or emt_start_experiment instead.

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