Skip to main content
Glama
redf0x1

MCP-Server-Filesystem

by redf0x1

run_command

Execute shell commands in a secure environment and capture their output, enabling development tasks, file operations, git commands, and package management.

Instructions

Execute shell commands and return their output. This tool allows running terminal commands within the allowed directories. Useful for development tasks, file operations, git commands, package management, etc. Commands are executed with a timeout and in a secure environment. Both stdout and stderr are captured.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYesThe shell command to execute
timeoutNoTimeout in milliseconds (default: 30 seconds)
includeStderrNoInclude stderr in output
workingDirectoryNoWorking directory for the command (default: first allowed directory)
Behavior3/5

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

With no annotations, the description carries the transparency burden. It mentions timeout, secure environment, and stderr capture, but does not disclose exit code handling, output format, or what happens on timeout. These are significant behavioral gaps for a command execution tool.

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 three sentences, front-loaded with the primary action and followed by concise context. Every sentence adds value without redundancy or fluff.

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?

While the description covers allowed directories and timeout, it lacks critical context for a command runner: no output schema exists, and the description does not specify the return structure (e.g., object with stdout/stderr/exit code). This leaves agents uncertain about how to parse results, making it only partially complete.

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 coverage is 100%, so the schema already documents all parameters. The description adds no substantive parameter-specific guidance beyond what the schema provides, only hinting at timeout and stderr which are already in the schema.

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 states 'Execute shell commands and return their output' with a clear verb and resource. Sibling tools are all file operations, so this tool is unambiguously the command executor, distinguishing itself without needing explicit contrast.

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?

It says 'Useful for development tasks, file operations, git commands, package management, etc.', providing clear usage context. However, it does not explicitly state when not to use the tool or mention alternatives, so it falls short of a 5.

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/redf0x1/MCP-Server-Filesystem'

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