Skip to main content
Glama

kill_process

Destructive

Send a termination signal (default SIGTERM) to a process you own, such as a hung service or stuck job. Refuses PID 1 and the server itself.

Instructions

Send a signal to a process owned by the current user (default SIGTERM). Refuses PID 1 and this server.

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": {
      "pid": "<pid>"
    },
    "name": "kill_process"
  }
}

Input Schema

NameRequiredDescriptionDefault
pidYes
signalNoTERM

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/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 description does not need to prove this mutates state. It adds genuinely new behavioral facts: the permission boundary (current user only), the default signal, and a built-in self-protection rule that rejects PID 1 and the server itself. It stops short of stating what happens on a failed kill or that SIGKILL cannot be caught.

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?

Two compact sentences with the action, default, and safety constraints front-loaded. No filler and nothing buried at the end.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no explanation, and the destructive nature is covered by annotations plus the stated safeguards. What remains thin is signal-choice semantics and failure behavior, which matter for a destructive operation but are secondary given the strong safety framing.

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 description coverage is 0%, so the description carries the full burden, yet it only mentions that the signal defaults to SIGTERM. The four enum values (TERM, KILL, INT, HUP) are never explained, and the pid parameter's constraints are only indirectly implied by the ownership and PID-1 rules. The agent must interpret the signal choices on its own.

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 opens with a specific verb and resource ("Send a signal to a process") and immediately scopes it to processes "owned by the current user." That scope plus the default signal makes it unambiguous which sibling it is (not process_details or top_processes, which observe rather than signal).

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?

Usage context is implied by the scope restriction and the explicit refusal of PID 1 and the server process, which tells the agent the tool is meant for user-owned processes only. However, it never states when to prefer this over inspecting a process first, nor any guidance on choosing between graceful termination and a forced kill.

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