Skip to main content
Glama
neu-sandbox-mcp

neu-sandbox-mcp

Official
by neutree-ai

Search Files in Sandbox

sandbox_search_files

Search a target sandbox directory for files matching a glob pattern; returns a flat list of file paths.

Instructions

Find files under a directory by glob pattern (e.g. "*.py"). Returns a flat list.

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_search_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesBase directory to search from
patternNoGlob pattern, e.g. "*.log"
sandbox_idYesID of the target sandbox

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the return shape ("Returns a flat list"), which is genuinely useful, but it omits whether the search recurses into subdirectories, whether matches are paths relative to the base directory, whether hidden files are included, and what happens when the path does not exist.

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?

Two short sentences, front-loaded with the core action and free of filler. The second sentence about the flat list return earns its place, though the glob example in the first sentence largely repeats what the schema already shows.

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

Completeness3/5

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

For a three-parameter read tool with full schema coverage and no output schema, the definition covers the essentials and correctly states the return shape. It leaves meaningful gaps around recursion behavior, path semantics, and error handling that an agent would need for reliable 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 description coverage is 100%, so all three parameters (sandbox_id, path, pattern) are already documented in the schema, which sets the baseline at 3. The description's only parameter-adjacent content is a glob example ("*.py") that duplicates the schema's own example, adding no new syntax or behavioral detail.

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?

A specific verb and resource ("Find files under a directory by glob pattern") with the search scope stated, which distinguishes it from a plain directory listing sibling such as sandbox_list_directory. It stops short of naming any alternative explicitly, but an agent can tell what the tool does without opening the schema.

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

Usage Guidelines3/5

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

Usage is only implied: the phrase "by glob pattern" suggests when this tool fits (when you know a pattern), but there is no explicit when-to-use, when-not-to-use, or pointer to alternatives like a directory listing or file read. No prerequisites or constraints on the target sandbox are mentioned.

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