Skip to main content
Glama

build_sandbox

Creates a writable Apptainer sandbox from a crocontainer registry image for CESM runs on Derecho. Required one-time setup before container use.

Instructions

Build the Apptainer writable sandbox from the crocontainer registry image.

This is a one-time setup step required on Derecho before start_container can be used. Takes ~1 hour on a compute node. Submits via qcmd if queue_walltime is set.

sandbox_dir: where to create the sandbox (default: ~/scratch/crocontainer_sandbox). queue_walltime: PBS walltime for the build job (default 3h).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sandbox_dirNo
queue_walltimeNo03:00:00

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, so description carries full burden. Discloses that it submits via qcmd if queue_walltime is set, takes ~1 hour, and is one-time. Could add more on error handling or file modifications, but sufficient for safe invocation.

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?

Four sentences, each adds essential information. Front-loaded with main purpose, then prerequisites, timing, and parameter details. No unnecessary words.

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

Completeness5/5

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

For a tool with 2 parameters and an output schema, the description covers purpose, prerequisites, behavior, and parameter semantics. Complete for an agent to select and invoke correctly given sibling tools include start_container.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema has 0% description coverage and provides only defaults. Description adds meaningful defaults (~/scratch/crocontainer_sandbox for sandbox_dir, 3h for queue_walltime) and explains their intent, fully compensating for the schema's lack of description.

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?

Clearly states the tool builds an Apptainer writable sandbox from a crocontainer registry image. Uses specific verb (Build), resource (Apptainer writable sandbox), and context (on Derecho). Distinguishes from sibling tools like start_container.

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?

Explicitly says this is a one-time setup step required before start_container and mentions it takes ~1 hour. Provides context on when to use (before start_container) but could explicitly mention when not to use (e.g., after sandbox exists).

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/CROCODILE-CESM/MCP_cesm_runner'

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