Skip to main content
Glama

signal_session

Send a specific signal (INT, HUP, USR1, TERM) to a running session's process group to control, reload, or stop its processes.

Instructions

Send a specific signal to a running session's process group (e.g. INT, HUP, USR1).

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": {
      "id": "<id>",
      "signal": "<signal>"
    },
    "name": "signal_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesSession id.
signalYesSignal name or number (INT, TERM, HUP, USR1, USR2, QUIT, KILL, STOP, CONT, 9...).

Output Schema

NameRequiredDescriptionDefault
okYes
stderrYes
stdoutYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It does add the useful behavioral detail that the signal goes to the whole process group rather than a single PID, but it omits that signals like KILL/TERM/QUIT terminate or suspend the session irreversibly, and says nothing about permissions or failure behavior.

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?

One front-loaded sentence with the resource, scope (process group), and examples in that order. No filler, no repetition.

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?

With an output schema present, return values need not be explained, and both parameters are fully documented in the schema. The only real gap for a signal-sending tool with zero annotations is the absence of any warning about destructive signals and the running-session precondition.

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% and both parameters are documented in the schema, so the baseline is 3. The description's signal examples (INT, HUP, USR1) largely restate what the schema's signal description already enumerates, adding no syntax or semantic detail beyond it.

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) and resource (a signal to a running session's process group), with concrete examples of signal values. It is distinguishable from session lifecycle tools like start_session/stop_session, though it never explicitly contrasts itself with them.

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?

There is no when-to-use or when-not guidance. An agent is left to infer that this is the low-level escape hatch for signals other than whatever stop_session does, and no preconditions (session must be running) are stated.

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