Skip to main content
Glama
Negm-Ahmed

Desktop Commander

by Negm-Ahmed

kill_process

Terminate a running process by PID to stop unresponsive or unwanted programs; use with caution because it forcefully ends the specified process.

Instructions

                    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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly states the destructive nature ('forcefully terminate') and includes a caution warning, which are essential behavioral traits. However, it doesn't mention potential side effects, error conditions, permission requirements, or what happens if the PID doesn't exist.

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 first two sentences are well-structured and front-loaded with essential information. However, the third sentence about command referencing adds unnecessary length without improving tool understanding, reducing overall conciseness.

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 tool with no annotations and no output schema, the description provides adequate basic information about purpose and caution. However, it lacks details about return values, error handling, system impacts, and doesn't fully compensate for the missing structured documentation.

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?

The schema has 0% description coverage for its single parameter (pid), but the description adds meaningful context by specifying that it terminates 'a running process by PID'. This clarifies what the pid parameter represents and how it's used, though it doesn't provide format details or validation rules.

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 specific action ('terminate') and target resource ('a running process by PID'), distinguishing it from sibling tools like 'interact_with_process' or 'start_process'. It uses precise technical language that leaves no ambiguity about what the tool does.

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 with 'Use with caution as this will forcefully terminate the specified process', which implicitly suggests when to use it (for forceful termination) and hints at alternatives (less forceful methods). However, it doesn't explicitly name alternative tools or specify exact scenarios when not to use it.

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