Skip to main content
Glama
This connector has been deprecated

Replaced by rent.dev.

Duplicate listing. rent.dev is listed from the official MCP Registry as dev.rent/rent, and that listing is the maintained one.

Extend a sandbox

rent_extend_sandbox
Idempotent

Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. Sets a running sandbox to stop timeout_s seconds from now (at most 86400), holding the added cost first on the key that started it; a short balance answers 402 with top-up links. An API key with a spend limit cannot extend a sandbox another key started (403 forbidden).

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": {
      "sandbox_id": "<sandbox_id>",
      "timeout_s": "<timeout_s>"
    },
    "name": "rent_extend_sandbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeout_sYes
sandbox_idYesSandbox id (`lse_…`) from rent_create_sandbox or rent_list_sandboxes. It names the sandbox for its whole life and keeps answering rent_get_sandbox, with the final state, after it ends.

Output Schema

NameRequiredDescriptionDefault
idYes
wireYes
stateYes
domainYes
regionYes
ended_atYes
metadataYes
supplierYes
templateYes
billed_byYes
cpu_countYes
memory_mbYes
account_idYes
auto_pauseYes
created_atYes
sandbox_idYes
started_atYes
timeout_atYes
auto_resumeYes
endpoint_idYes
held_microsYes
captured_microsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description discloses that the added cost is charged up front on the key that originally started the sandbox, that insufficient balance returns 402 with top-up links, and that a spend-limited key cannot extend another key's sandbox (403). These are non-obvious billing and authorization behaviors an agent could not infer from structured fields.

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?

Three dense sentences with the auth prerequisite front-loaded, followed by the effect and then the two failure modes. Nothing is redundant, though the parenthetical max and the balance clause are compressed to the point of being slightly hard to parse on first read.

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?

Because an output schema exists, return values need no explanation, and the description covers the remaining burdens for a paid mutation: authentication path, cost source, the relative-timeout semantics, the 86400 cap, and both documented error codes. The only minor omission is behavior when the sandbox is not running.

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 50%: sandbox_id is fully documented in the schema, but timeout_s carries only min/max bounds there. The description compensates by defining timeout_s as seconds from now rather than an absolute timestamp, and by clarifying the caller must already own a running sandbox. It stops short of describing behavior for an already-terminated or paused sandbox.

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 states a specific verb and resource ('Sets a running sandbox to stop timeout_s seconds from now'), including the semantics of the timeout as an absolute deadline measured from now and the hard ceiling of 86400. An agent can distinguish this from rent_create_sandbox, rent_pause_sandbox, and rent_terminate_sandbox without inspecting 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 Guidelines3/5

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

It gives real prerequisites — sign in via the client or call rent_signup first — and explains failure paths (402 with top-up links, 403 across keys). However, it never states when to choose extension over alternatives such as creating a new sandbox with a longer timeout or pausing/resuming, so tool-selection guidance is only implied by the precondition of an existing running sandbox.

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