Skip to main content
Glama
ellmos-filecommander-mcp

ellmos-filecommander-mcp

Kill Process

fc_kill_process
DestructiveIdempotent

Terminate a running process by PID or process name, with optional forced termination. Use it to stop specific processes; forced termination may cause data loss.

Instructions

Terminates a process by PID or name.

Args:

  • pid (number, optional): Process ID

  • name (string, optional): Process name

  • force (boolean): Force termination

Warning: May cause data loss!

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "fc_kill_process"
  }
}

Input Schema

NameRequiredDescriptionDefault
pidNoProcess ID
nameNoProcess name
forceNoForce

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, idempotentHint=true, and openWorldHint=true. The description adds a real risk note about data loss, but does not say what happens if both pid and name are supplied, what occurs when the target is not found, or what is returned to confirm termination.

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 tool is short and the purpose sentence is front-loaded, but the Args list duplicates parameters already fully described in the schema, so part of the text does not earn its place. The warning would be more useful placed before the argument list.

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 destructive mutation tool with no output schema, the definition covers the action and risk but leaves the caller guessing about pid/name precedence, the no-argument case, and the response. Annotations carry the safety profile, which keeps this at an acceptable minimum rather than a 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 Args block largely restates the schema; 'force (boolean): Force termination' is marginally clearer than the schema's bare 'Force'. Notably absent is any statement that at least one of pid/name must be supplied, even though the schema marks neither as required.

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: "Terminates a process by PID or name." This clearly separates it from siblings like fc_start_process and fc_list_processes. It does not explicitly name an alternative, but the action is unambiguous.

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 guidance on when to use this versus fc_start_process/fc_send_input/fc_close_session, nor on when 'force' is warranted versus a graceful termination. The 'Warning: May cause data loss!' line flags risk but gives no conditions or prerequisites for acting.

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