Skip to main content
Glama

Get Experiment

get_experiment

Retrieve an experiment's full state and run summary to re-orient after a gap or verify the sandbox is still active before continuing.

Instructions

Fetch an experiment's full state and a summary of what happened in it.

USE THIS to re-orient -- after a long gap, or to check whether a sandbox is still alive before sending more commands.

RETURNS status, base image, isolation settings, resource limits, how many commands ran and how many failed, the last test summary, change statistics and artifact count.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
experiment_idYesThe experiment to describe.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
changesNo
sandboxNoLIVE
artifactsNo
objectiveYes
resourcesYes
base_imageYes
duration_msNo
commands_runYes
network_modeYesHow much of the network the sandbox can see. ``NONE`` -- no interfaces at all. The default. ``RESTRICTED`` -- an isolated bridge network shared by nothing else; egress works, but the sandbox cannot reach other sandboxes or the host's service ports. ``ENABLED`` -- the daemon's default bridge. Full egress.
project_nameYes
test_summaryNo
experiment_idYes
failed_commandsYes
host_working_treeNoUNCHANGED

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

There are no annotations, so the description carries the behavioral burden. 'Fetch' implies a read-only operation, and the description clearly lists the state and summary data returned, including liveness. It does not explicitly state side-effect-freeness or permissions, but nothing suggests mutation or hidden costs.

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?

The description is compact and well-structured: one sentence for what it does, one for when to use it, and one for what it returns. Every sentence earns its place with no filler.

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?

Given a single parameter, an output schema, and no annotations, the description is largely complete: it covers purpose, return content, and a representative use case. A short note about which sibling tools to prefer for narrower needs would make it fully complete.

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 description coverage is 100% and the single parameter experiment_id is already described as 'The experiment to describe.' The description adds no new parameter-level detail, which matches the baseline for fully covered schemas.

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 the specific verb 'Fetch' with a clear resource ('an experiment's full state and a summary of what happened in it') and enumerates the returned items. This makes it easy to distinguish from sibling tools like list_experiments or inspect_changes.

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 explicitly gives use cases: re-orienting after a long gap and checking whether a sandbox is still alive before more commands. It does not name alternatives or exclusions, such as pointing to check_sandbox_runtime for a lighter liveness check, so it stops short of a 5.

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

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/AbhiteshPundir/sandbox-mcp'

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