Skip to main content
Glama

PillDrops

fork_sandbox

Fork a sandbox: a running copy with the same disk, memory and processes, under a new id. Use it to try something risky on a copy, run several attempts from one state, or reproduce a bug without touching the original.

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": "fork_sandbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
sandbox_idYessandbox id, e.g. sb_ab12cd

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full load, and it does disclose the important trait that the original is untouched and the copy is live (disk, memory, processes) under a new id. It is silent on the practical consequences of a fork: whether the copy consumes additional quota/resources, whether processes keep running, and whether the fork is independent for later lifecycle operations.

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 sentences, zero waste: the definition of the operation comes first, then the motivating uses. Nothing is repeated from the title or the schema.

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 one-parameter tool with no annotations and no output schema, the description covers what the fork is and why to do it. The main remaining gap is the return value (presumably the new sandbox id) and whether the fork counts against resource limits; an output schema's absence makes the returned id worth mentioning.

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?

Only one parameter and schema coverage is 100%, with the schema providing both the description and a format example (sb_ab12cd). The description adds no meaning beyond that, so the baseline of 3 applies.

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 gives a specific verb (fork) and resource (sandbox) and immediately defines what the fork is: 'a running copy with the same disk, memory and processes, under a new id.' That definition implicitly separates it from create_sandbox (new blank sandbox) and restore_sandbox (from a saved state), but no sibling is named, so it stops short of explicit differentiation.

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?

Three concrete when-to-use cases are spelled out: experimenting risky changes on a copy, running parallel attempts from one state, and reproducing a bug without touching the original. It does not say when NOT to fork or name an alternative tool to use instead, so it is clear context without exclusions.

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.