Skip to main content
Glama

fork_sandbox

Test hypotheses safely by creating an isolated sandbox from a parent session, applying optional evolution operations, and comparing differences without modifying the original.

Instructions

Create an isolated sandbox branch from a parent session, optionally apply a hypothesis (list of evolution operations) immediately, and show how the sandbox differs from its fork point. The parent session is never touched. Safe to discard with close_session if the hypothesis doesn't pan out.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hypothesisNoOptional. A short description of the hypothesis (for logging/reporting).
operationsNoOptional. Evolution operations to apply immediately in the sandbox.
session_idYesThe parent session to fork from.
version_idNoOptional. Fork from this historical version instead of the current state.
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses key behaviors: parent session untouched, sandbox is isolated, and it can be safely discarded. It also explains the operations are evolution operations, providing useful behavioral context.

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 with no redundant content; front-loaded with the main action, then safety note. Every word earns its place.

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 tool with 4 params and no output schema or annotations, the description covers the core purpose, optional operations, and safety. It also hints at the diff behavior. It lacks return-format details, but the mention of showing differences partially compensates.

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%, so the schema already documents all four parameters. The description adds that operations are evolution operations and mentions applying a hypothesis, but its phrasing '(list of evolution operations)' could be misread as defining the hypothesis parameter rather than operations, introducing ambiguity.

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 uses a specific verb ('Create') and resource ('isolated sandbox branch') and clarifies optional application of operations and diff display. This distinguishes it from sibling tools like create_branch by emphasizing isolation and safety.

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?

It states the sandbox is for testing a hypothesis and can be discarded if it fails, implying use for safe exploration. It does not explicitly name alternatives or exclusions, but the isolation context ('parent session never touched') provides clear usage context.

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/Deus-corp/cks-mcp'

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