Skip to main content
Glama

Remote Desktop Commander

kill_process

Destructive
                    Terminate a running process by PID.

                    Use with caution as this will forcefully terminate the specified process.

                    This command can be referenced as "DC: ..." or "use Desktop Commander to ..." in your instructions.

Input Schema

NameRequiredDescriptionDefault
pidYes
deviceIdNoThe ID of the device to run this tool on (from list_devices). Required when more than one device is online; may be omitted when only one device is connected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true and readOnlyHint=false, so the "use with caution" sentence largely restates structured data. It does add one real behavioral signal — the termination is forceful rather than graceful — but says nothing about what happens if the PID does not exist, required permissions, or irreversibility beyond the annotation.

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 purpose is front-loaded in the first sentence, which is good, but the third sentence about referencing "DC: ..." is instruction-file boilerplate that does not help the agent decide or call the tool.

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?

This is a destructive operation with no output schema, and the description omits return behavior (success message, exit code) and failure semantics (nonexistent PID, permissions). The annotations carry the safety profile, so the remaining gaps are moderate rather than crippling.

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

Parameters2/5

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

Schema coverage is only 50%: deviceId is documented in the schema, but pid is a bare number with no schema description. The description only repeats that a PID is used, without clarifying format, whether it must be local to the selected device, or what happens when the PID is invalid, so it does not compensate for the coverage gap.

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?

"Terminate a running process by PID" names a specific verb (terminate), resource (process), and the key selector (PID). It is clear enough to distinguish from list_processes or read_process_output, but it does not differentiate itself from the sibling force_terminate, which sounds like it does the same thing.

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?

The description implies usage (terminate a process by PID) and adds a caution warning, but gives no explicit when-to-use/when-not-to-use guidance. With a sibling named force_terminate, the agent is left to guess which of the two to pick.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.