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.

Terminate a sandbox

rent_terminate_sandbox
DestructiveIdempotent

Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. Ends a sandbox now, deleting its memory and files, and settles its charge. Terminating an ended sandbox answers it unchanged. The id keeps answering rent_get_sandbox.

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>"
    },
    "name": "rent_terminate_sandbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.1/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, and the description still adds real information beyond them: exactly what is destroyed (memory and files), that the charge is settled, and that a repeat call is a benign no-op. It also notes the id remains queryable via rent_get_sandbox, which a caller cannot infer from annotations.

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?

Four compact sentences with no padding, and the destructive effects are stated up front. The auth prerequisite takes the opening slot ahead of the purpose statement, which slightly buries the primary verb but is still readable.

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?

An output schema exists, so return payloads need not be described, and the description still covers prerequisites, destructive effects, billing settlement and idempotent re-invocation. That is everything an agent needs to call a single-parameter destructive tool correctly.

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 coverage is 100% and the sandbox_id description already explains the `lse_…` prefix, provenance and lifetime, so the description adds essentially nothing param-specific. Baseline 3 applies when the schema carries the parameter semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Ends a sandbox now') and immediately names the consequences ('deleting its memory and files, and settles its charge'), which separates it in spirit from pause_sandbox. It never names the pause/resume siblings explicitly, so the contrast with a non-destructive stop is left implicit rather than stated.

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 a clear precondition ('Needs a rent.dev account: sign in when your client offers it, or call rent_signup first') and a re-invocation rule ('Terminating an ended sandbox answers it unchanged'). No exclusion such as 'use rent_pause_sandbox if you intend to resume later' is offered, which is the obvious alternative an agent would weigh.

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