Skip to main content
Glama

mcp_sandbox

Inspect or customize a server's sandbox capability manifest for env, network, filesystem, and subprocess access; use view, set, or reset to tighten, loosen, or revert grants on next connect.

Instructions

View or customize a server's sandbox capability manifest (env/network/filesystem/subprocess access). Use action 'view' to inspect, 'set' to tighten or loosen grants (applies on next connect), or 'reset' to revert to defaults.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesServer slug (as shown by mcp_list_active or mcp_discover)
actionYesview = inspect manifest; set = override grants; reset = revert to defaults
fsReadNo[set] Absolute paths the server may read
fsWriteNo[set] Absolute paths the server may write
networkNo[set] Network mode. 'none' = no network, 'allowlist' = only listed hosts, 'all' = unrestricted
envAllowNo[set] Environment variable NAMES the server may receive, e.g. ['GITHUB_TOKEN']
subprocessNo[set] Whether the server may spawn subprocesses
enforcementNo[set] Isolation level. l2-container requires Docker/Podman.
networkAllowNo[set] Allowed host:port patterns for allowlist mode, e.g. ['api.github.com:443', '*.example.com']

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries full behavioral burden. It helpfully discloses that changes are deferred ('applies on next connect') and that reset restores defaults, but it omits whether 'set' merges with or replaces existing grants, whether changes are reversible, and any auth/confirmation requirements — a meaningful gap for a security-sensitive mutation tool.

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?

A single, front-loaded sentence covering scope, the three actions, and the deferred-application constraint. No filler or padding.

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 9-parameter, multi-action tool with full schema coverage and no output schema, the description covers purpose, actions, and timing. The one material omission is set/replace merge semantics for the grant fields, which matters for correct invocation.

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 every parameter, including enum meanings and example values. The description's mention of env/network/filesystem/subprocess categories adds framing but no semantics beyond what the schema provides, so baseline 3 applies.

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?

States a specific verb (view/customize) and a specific resource (a server's sandbox capability manifest), and immediately names the capability domains (env/network/filesystem/subprocess). This is clearly distinguishable from siblings like mcp_connect or mcp_server_info.

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?

The description explains all three actions and their intent, and adds the key usage condition that 'set' grants apply on next connect, which tells an agent when in the lifecycle to call it. It does not name sibling tools as alternatives or state prerequisites (e.g. server must be discovered/known).

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