Skip to main content
Glama
crosspad-mcp-server

crosspad-mcp-server

Official
by CrossPad

crosspad_kill

Destructive

Stops a single PC simulator by control port or exact PID, sends SIGTERM then SIGKILL, and leaves non-CrossPad processes alone; use all=true only to sweep every built simulator process.

Instructions

[PC sim] Stop one PC simulator: the process listening on the control port (port, default 19840 / CROSSPAD_REMOTE_PORT) or the exact pid. Never matches by name; a process holding the port that is not a CrossPad binary is reported and left alone, so another instance (the user's own) survives. all=true is the explicit sweep over every process running the built binary. SIGTERM, waits up to 3 s, then SIGKILL. Returns the killed PIDs and whether anything still answers on the port.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "crosspad_kill"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNoStop every process running the built simulator binary, whatever its port. Default false — it takes the user's instance too.
pidNoStop exactly this PID (it must be a CrossPad simulator). For an instance that never got its control port.
portNoSimulator control port (default: CROSSPAD_REMOTE_PORT of this server, else 19840). Needed to address a second instance.
platformNoPlatform — currently only 'pc' is supported here.pc

Output Schema

NameRequiredDescriptionDefault
docsNo
nextNo
errorNo
noticeNo
successYes
killed_pidsYes
was_runningYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv11.0.0
  2. Removedv10.2.0
  3. First observedv9.2.0

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the destructiveHint annotation by disclosing the escalation sequence (SIGTERM, 3 s wait, SIGKILL) and, crucially, the safety property that a non-CrossPad process holding the port is reported and left alive so a user instance survives. It also says what comes back: the killed PIDs and whether anything still answers on the port.

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?

Dense but well front-loaded: platforms tag, then addressing modes, then safety note, then signal escalation. Slightly over-packed sentences, and the final sentence restates return values that the output schema already documents.

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

Completeness5/5

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

For a destructive process-kill tool with four all-optional parameters, the description covers addressing, defaults, safety exclusions, termination sequencing, and outcomes. An agent has everything needed to call it correctly and to avoid collateral damage.

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 100%, so the baseline is 3. The description reinforces the mode split (port vs pid vs all) but the default-port resolution and the 'takes the user's instance too' caveat are already present in the schema, so it adds little new parameter-level meaning.

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?

States a specific verb (stop/kill) and a precisely scoped resource: one PC simulator process, addressed by control port or PID. The '[PC sim]' tag and the note that it never matches by name cleanly separate it from any device- or build-oriented sibling.

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

Usage Guidelines4/5

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

Gives concrete selection guidance across the three modes: port to address a running instance (including a second one), pid for an instance that never got its control port, and all=true as the explicit sweep with a warning that it takes the user's instance too. It doesn't point at any alternative tool, but none is obviously needed for this isolated kill action.

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