Skip to main content
Glama
neu-sandbox-mcp

neu-sandbox-mcp

Official
by neutree-ai

Delete Directories from Sandbox

sandbox_delete_directories

Deletes specified absolute directory paths and all their contents from a target sandbox to remove unwanted files and nested folders.

Instructions

Delete directories and everything inside them.

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>",
      "paths": "<paths>"
    },
    "name": "sandbox_delete_directories"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsYesAbsolute directory paths to delete
sandbox_idYesID of the target sandbox

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It does add one genuinely useful behavioral fact (deletion is recursive, removing contents as well), but it omits irreversibility, what happens when a path does not exist, partial-failure behavior across multiple paths, and any permission requirements — significant gaps for a bulk destructive operation.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though the brevity is close to under-specification rather than optimal concision.

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?

The tool is simple in shape, but it is destructive, has no annotations, no output schema, and batch input, so the description should disclose more about success/failure semantics and irreversibility. As written, an agent knows what it does but not the consequences of calling it.

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?

Both parameters are fully documented in the schema (100% coverage), including that paths must be absolute. The description adds no per-parameter meaning such as whether empty arrays are allowed or how many paths are accepted, so the baseline 3 applies.

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 uses a specific verb ("Delete") and resource ("directories"), and the phrase "everything inside them" signals recursive scope, which is what distinguishes it from the sibling sandbox_delete_files. It stops short of naming that sibling explicitly, so the differentiation is implied rather than stated.

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 when-to-use guidance, no exclusion of alternatives (e.g., use sandbox_delete_files for files only), and no prerequisites such as requiring the directories to exist or a valid sandbox_id. The agent must infer the choice purely from the tool name and the word "directories".

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