Skip to main content
Glama

signal-process

Destructive

Send INT, TERM, or KILL to a remote process by PID over SSH to interrupt, stop, or terminate it.

Instructions

Send a signal (INT, TERM, KILL) to a remote process by PID.

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": "signal-process"
  }
}

Input Schema

NameRequiredDescriptionDefault
pidYesProcess ID to signal (positive integer)
signalNoSignal to sendTERM
profileNoProfile name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.31.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv2.5.0

TDQS

C2.9/5.0
Behavior2/5

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

The destructiveHint=true annotation already flags this as a destructive operation, so the description only needed to add context such as irreversibility, escalation order, or behavior when the PID does not exist. Instead it restates the signal enum that is already in the schema, adding essentially nothing 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.

Conciseness5/5

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

A single front-loaded sentence with the action, the allowed signals, and the identifier all in the first clause. No filler, nothing to trim.

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

Completeness2/5

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

For a destructive remote-process tool with no output schema and an undocumented 'profile' parameter, the description should say what happens on success/failure, whether the process must be under an active session, and how the profile scopes the target. None of that is present.

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 coverage is 100%, so the baseline is 3 and the description's mention of PID and the signal values is redundant with the schema. The 'profile' parameter carries no description in either the schema or the description, which is the one place added meaning would have helped.

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?

States a specific verb (send a signal) and resource (remote process, identified by PID) with the signal set named inline. An agent can tell this is a signaling/kill tool rather than a command-execution or session tool, though it does not explicitly contrast with siblings like destructive-command or run-command.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to choose this over run-command or destructive-command, no prerequisites (must the PID belong to an open session/connection?), and no note that KILL is uncatchable and should be a last resort before INT/TERM.

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