Skip to main content
Glama
peter-decoded

filesystem_sandbox

make_directory

Create directories within a sandboxed filesystem using relative paths, automatically creating parent folders as needed. Safely organize files without leaving the sandbox.

Instructions

Create a directory inside the sandbox.

  • Path must be relative to the sandbox root

  • Creates parent directories if needed

  • Does nothing if the directory already exists

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
relative_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses two important behaviors: creates parent directories as needed and is idempotent if the directory exists. This goes beyond a bare statement and gives the agent actionable expectations.

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?

The description is compact, using a brief lead sentence and bullet points. Every sentence delivers useful information without wordiness. The structure makes the key constraints and behavior easy to scan.

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?

Given the tool's simplicity (one parameter, no nested objects) and the presence of an output schema, the description covers the essential behavioral aspects. It leaves out error scenarios or permission requirements, but these are not necessary for a minimal sandbox directory creation tool to be used effectively.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must explain the parameter. It explicitly states that relative_path must be relative to the sandbox root, which adds meaning beyond the schema's bare type. Further detail on path format would be helpful but is not essential for this simple case.

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?

The description clearly states the tool creates a directory inside the sandbox, using a specific verb and resource. It distinguishes itself from sibling tools like list_files, move_file, and delete_file, as none of those create directories.

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 provides clear context: paths must be relative to the sandbox root. It omits explicit when/when-not guidance compared to alternatives, but the distinct verb and resource make the intended use obvious.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/peter-decoded/filesystem_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server