Skip to main content
Glama

sandbox_create

Create a new E2B cloud sandbox—a secure Linux VM—for isolated development or testing. Returns a sandboxId to use with other tools. Specify template for pre-configured environments and timeout for duration control.

Instructions

Create a new E2B cloud sandbox (secure Linux VM). Returns a sandboxId to use with other tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
templateIdNoSandbox template ID. Defaults to "base". Use a custom template for pre-configured environments.
timeoutMsNoSandbox timeout in milliseconds. Default: 300000 (5 min). Max: 86400000 (24h on Pro).
metadataNoKey-value labels for the sandbox (e.g., {"repo": "user/project"}).
Behavior3/5

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

With no annotations, description partially discloses behavior: creates a VM, returns sandboxId. Does not mention cost, resource limits, or security implications.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences, front-loaded with key action and return value, no wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 3 optional params with full schema coverage and no output schema, the description is adequate but leaves out return format details and cost implications.

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 has 100% coverage, so parameters are well-documented. The description does not add meaning beyond schema defaults and max values.

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?

The description clearly states it creates a new E2B cloud sandbox (secure Linux VM) and returns a sandboxId. It distinguishes itself from sibling tools which are operations on existing sandboxes.

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?

The description implies this is the first tool to use (since it returns sandboxId used by others), but does not explicitly state when to use vs alternatives. Among siblings, it's the creation tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/asif-nvc/e2b-sandbox-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server