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.

Run a command

rent_exec
Destructive

Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. Runs a shell command (/bin/bash -l -c) in a running sandbox and answers when it exits: stdout, stderr, exit_code (null when killed by the timeout), timed_out. timeout_s defaults to 50, so the answer comes back inside common client tool timeouts. For work that runs longer (servers, builds, training), start it with rent_start_process and read its output with rent_get_process_output. Arguments not listed here go to the REST route as they are, which refuses them by name.

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

Input Schema

NameRequiredDescriptionDefault
cmdYesShell command.
cwdNo
envNo
userNoDefault `user`.
stdinNoWritten to stdin, then closed.
timeout_sNoSeconds before the command is killed. Default 50.
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
stderrYes
stdoutYes
exit_codeYes
timed_outYes
duration_msYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, and idempotentHint=false, yet the description still adds real behavior: it blocks until exit and returns stdout, stderr, exit_code, and timed_out, with exit_code null when the timeout kills the process. It explains the 50s default as a fit inside common client tool timeouts, which is genuine context an annotation cannot 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?

Four dense sentences with essentially no filler, and the core behavior comes early. The account-prerequisite sentence leads the description rather than the core action, which slightly delays the front-loaded answer to 'what does this do'.

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?

An output schema exists, yet the description still sketches the return fields, and it covers auth, the long-running alternative, and timeout behavior, which is ample for a destructive execution tool. Minor gaps: cwd, env, and whether a non-zero exit surfaces as a tool error or a normal return are not addressed.

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 71% and the schema already documents sandbox_id, cmd, stdin, user, and timeout_s. The description adds meaning only for timeout_s (default 50 and the rationale for that default) and notes that undocumented arguments are refused by name; cwd and env go unexplained in both places.

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 mechanism: 'Runs a shell command (`/bin/bash -l -c`) in a running sandbox and answers when it exits.' It also implicitly separates itself from rent_start_process, which is named for the long-running case, so an agent can pick between them without opening the schemas.

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 preconditions (a rent.dev account, sign in or call rent_signup first) and an explicit alternative with its triggering condition: for servers, builds, or training, use rent_start_process plus rent_get_process_output. Also notes that unlisted arguments are rejected by name by the REST route, which tells the agent not to invent parameters.

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