Skip to main content
Glama

SKV Network

Run code in the sandbox

sandbox_run
Destructive

Run python/pytest/node sandboxed (no net). [C v5.66286e:H,R01]

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": {
      "code": "<code>"
    },
    "name": "sandbox_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes
filesNo
languageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / files / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / language / default
      Removed value: -"python"
  2. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, openWorldHint=false and idempotentHint=false, so the safety profile is largely covered. The description's 'no net' does add a concrete constraint beyond that, but it says nothing about execution timeouts, resource limits, whether the sandbox filesystem persists across calls, or what a destructive-execution means in practice. With annotations carrying most of the weight, the added context is modest.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core sentence is tight and front-loaded, which is good. However, the bracketed version/flag string is unexplained noise that occupies space without adding actionable meaning, and the whole definition is thin rather than economical.

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

Completeness2/5

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

There is no output schema, so the description would need to explain what the tool returns (stdout, exit code, artifact paths), and it does not. Combined with zero schema description coverage on three parameters, an agent must guess both how to format `files` and how to interpret the result of a destructive, non-idempotent execution.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the full burden for three parameters. The language hints ('python/pytest/node') loosely imply valid values for the `language` parameter, but `files` is completely unexplained (is it a path-to-content map, input artifacts, or mounts?) and `code` is undocumented as to whether it is a script body or a command line. Baseline compensation is far from met.

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 (Run) plus the resources involved (python/pytest/node) and the key constraint (sandboxed, no net). An agent can tell this executes code rather than reading or writing files, which distinguishes it from file-oriented siblings. The trailing token '[C v5.66286e:H,R01]' is opaque and contributes nothing to understanding the purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to choose this tool versus another, and no prerequisites or preconditions are stated. Nothing indicates how to pick the sandbox over, say, a file-write tool, or what happens when a task is not code-execution related.

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.