Skip to main content
Glama
neu-sandbox-mcp

neu-sandbox-mcp

Official
by neutree-ai

List Sandbox Directory

sandbox_list_directory

Lists directory contents inside a sandbox by absolute path, showing file, directory, and symlink types; set depth to traverse subdirectories.

Instructions

List a directory inside a sandbox. Each entry carries a type (file / directory / symlink). Use depth to walk subdirectories. To find a file by name rather than list a directory, use sandbox_search_files.

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": {
      "sandbox_id": "<sandbox_id>",
      "path": "<path>"
    },
    "name": "sandbox_list_directory"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute directory path inside the sandbox
depthNoTraversal depth; defaults to 1 (immediate children only)
sandbox_idYesID of the target sandbox

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses the return shape ('Each entry carries a type (file / directory / symlink)') and depth-driven traversal, but says nothing about symlink following, hidden files, permission requirements, or what happens for a nonexistent path.

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

Conciseness4/5

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

Three short sentences, front-loaded with the action and each carrying distinct information (purpose, return entries, sibling routing). No filler, though the parenthetical type list is slightly verbose.

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?

A simple read-only listing tool with no annotations and no output schema; the description covers purpose, return entry types, depth usage, and the sibling alternative. Remaining gaps (symlink handling, error behavior) are minor for a directory listing.

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%, so all three parameters are already documented in the schema. The description reinforces depth semantics ('Use depth to walk subdirectories') but adds no format or constraint detail beyond what the schema states, 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 and resource ('List a directory inside a sandbox') and explicitly distinguishes itself from sandbox_search_files, so an agent can separate listing from searching without opening either schema.

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?

Names the alternative tool and the condition that selects it ('To find a file by name rather than list a directory'), plus a hint to use depth for subdirectories. No when-not guidance for the listing case itself or for choosing between sandbox_list_directory and list_sandboxes, so it falls short of full routing coverage.

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