Skip to main content
Glama
ellmos-filecommander-mcp

ellmos-filecommander-mcp

Execute Command

fc_execute_command
Destructive

Runs shell commands and returns their output, with optional working directory and timeout controls.

Instructions

Executes a shell command and returns the output.

Args:

  • command (string): Command to execute

  • cwd (string, optional): Working directory

  • timeout (number, optional): Timeout in milliseconds (default: 30000)

Warning: Commands are executed with user privileges!

Examples:

  • command: "dir" (Windows)

  • command: "ls -la" (Unix)

  • command: "python --version"

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": {
      "command": "<command>"
    },
    "name": "fc_execute_command"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNoWorking directory
commandYesCommand to execute
timeoutNoTimeout in ms

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.11.5
  2. Removedv1.9.3
  3. First observedv1.7.8

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, non-idempotent and non-read-only, so the safety profile is covered. The description does add one genuinely useful piece of context beyond that — 'Commands are executed with user privileges!' — plus the default timeout. It omits stdout/stderr handling, exit codes, and output truncation, which matter for a shell runner.

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

Conciseness3/5

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

The opening sentence is well front-loaded, but the Args block is pure duplication of a fully documented schema, and the platform-split examples are only marginally informative. Roughly a third of the text earns its place.

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?

With no output schema and no annotations covering returns, the description's only statement about results is 'returns the output', leaving exit code, stderr separation, and truncation undefined. For a destructive open-world shell executor, an agent needs to know what comes back on failure.

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 the schema already documents all three parameters including the 30000 default and the 1000–300000 bounds. The Args block restates the same information and adds no syntax, format, or behavioral nuance (e.g., whether cwd is created if missing, whether timeout kills the process). 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?

States a specific verb and resource ('Executes a shell command and returns the output'), which is clear and distinguishable from file-oriented siblings like fc_read_file or fc_start_process. It does not explicitly contrast itself with those siblings, so it stops short of a 5.

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?

The examples ('dir', 'ls -la', 'python --version') show what a command looks like but never say when to reach for this tool versus the many dedicated siblings (fc_read_file, fc_list_directory, fc_search_content, fc_start_process). With 48 siblings, the absence of any routing guidance is a real gap.

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