Skip to main content
Glama

manage_process

Inspect listening ports and processes, start detached background services, stop a PID, or run a configured safe cleanup script to manage local Windows processes.

Instructions

Inspect listening ports/processes, launch detached persistent background services via WMI Win32_Process Create, stop a specific PID, or run an optional configured safe cleanup script.

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": {
      "action": "<action>"
    },
    "name": "manage_process"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNo
pidNo
portsNo
actionYes
commandLineNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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 disclosure burden, and it does add real context: the WMI Win32_Process Create mechanism, that launched services are 'detached' and 'persistent', and that cleanup uses a pre-configured safe script. It does not say whether stop_pid is a force kill, whether it is irreversible or requires elevation, what happens if no cleanup script is configured, or what any action returns.

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?

A single front-loaded sentence organized as a parallel list of the four capabilities, with no filler wording. Density is high but every clause corresponds to a real action mode.

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 five-parameter, annotation-free tool with a destructive branch and no output schema, the description should at minimum sketch what list_ports returns (port/PID mapping) and warn on stop_pid irreversibility; neither is present. It is adequate at the functional level but thin given the tool's risk profile.

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 0%, so the description must supply meaning, and it does for three of five parameters: ports ('inspect listening ports'), pid ('stop a specific PID'), and commandLine (implied by Win32_Process Create). It leaves cwd entirely unexplained and gives no format expectations for ports or commandLine, so it only partially compensates for the documentation 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?

The description names a specific verb+resource for each of the four modes: inspecting listening ports/processes, launching detached services via WMI Win32_Process Create, stopping a specific PID, and running a configured cleanup script. This is far more specific than the name 'manage_process' alone, though it never distinguishes the tool from process-adjacent siblings like fs_manage or get_task_status.

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 four clauses map one-to-one onto the action enum, so an agent can infer which mode to pick, and 'optional configured safe cleanup script' hints the cleanup path may not always be available. However there is no explicit when-to-use guidance, no statement of prerequisites (e.g. privileges needed to stop a foreign PID), and no guidance on confirming before a destructive stop_pid.

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