Skip to main content
Glama
Process Monitor MCP

Process Monitor MCP

by Ahmad-1276

terminate_process

Terminate a running process by PID only after setting confirm=true; critical system processes are refused to protect the host.

Instructions

Terminate a process. Requires confirm=True and refuses critical PIDs.

Args: pid: Process ID to terminate. confirm: Must be true to perform the action.

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": "terminate_process"
  }
}

Input Schema

NameRequiredDescriptionDefault
pidYes
confirmNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two real guardrails: the confirm flag requirement and the refusal of critical PIDs. However, it says nothing about irreversibility, required privileges, or what an agent sees when termination is refused or the PID does not exist.

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

Conciseness4/5

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

Front-loaded with the action and its two guardrails, then per-parameter notes; no filler. The confirm requirement is stated twice (prose and Args), which is minor redundancy but aids scanning rather than harming it.

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?

An output schema exists, so return values need not be explained, and the safety preconditions are covered. For a destructive, unannotated operation the description is still thin on failure modes and side-effect seriousness, which is the main remaining gap.

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?

Schema coverage is 0%, so the description must compensate. It adds genuinely new meaning for `confirm`: the schema marks it optional with default false, while the description states it must be true for the action to occur — a requirement an agent could not infer from the schema alone. The `pid` explanation is thin ('Process ID to terminate'), leaving room for more on invalid or already-exited PIDs.

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 process" gives a specific verb plus resource, so an agent immediately knows the operation. It does not explicitly distinguish itself from the read-oriented siblings (list_processes, get_process_tree, etc.), though the destructive verb makes the distinction implicit.

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 is only implied: the tool kills a running process, and two preconditions (confirm=True, non-critical PID) are stated. There is no explicit guidance on when to prefer it over inspecting a process first, nor on what to do when termination is refused.

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