Skip to main content
Glama
code-bridge

code-bridge

by ITSWProj

Termina tutte le istanze di Claude Code

claude_kill_all

Terminates all Claude Code processes, including external ones if include_altri is true, for emergency cleanup. Requires explicit confirmation; use only on user request.

Instructions

Pulizia di emergenza: termina TUTTE le istanze di Claude Code, comprese quelle non avviate da questo server, se include_altri è true. Operazione distruttiva: usare solo su richiesta esplicita dell'utente, mai di iniziativa e mai come modo per liberare posti dopo un RIFIUTATO.

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": {
      "conferma": "<conferma>"
    },
    "name": "claude_kill_all"
  }
}

Input Schema

NameRequiredDescriptionDefault
confermaYesDeve valere esattamente 'si'. Serve a garantire che l'utente abbia acconsentito.
include_altriNoSe true termina anche i processi Claude Code non avviati da questo server (istanze aperte a mano, residui di riavvii). Default false: si toccano solo i propri.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it labels the operation destructive and discloses that include_altri=true reaches processes this server did not launch (manually opened instances, restart leftovers). It stops short of saying what the call returns or any throughput/permission limits.

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?

Two sentences, front-loaded with the 'emergency cleanup' framing followed by the destructive warning. No filler and nothing buried.

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?

Covers the destructive nature, scope of the blast radius, and usage constraints for a mutation tool with no annotations. The only gap is that no return/result information is given and no output schema exists, which leaves the agent unsure what to expect after the call.

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 both parameters already carry descriptions. The description restates the include_altri scope and adds nothing about the exact-match 'si' confirmation value, which the schema covers on its own. Baseline 3 is appropriate.

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 and resource ('termina TUTTE le istanze di Claude Code') and emphasizes the 'TUTTE' scope, which implicitly separates it from the singular claude_kill. It does not name a sibling explicitly, so the differentiation relies on inference from the name pair.

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

Usage Guidelines5/5

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

Gives explicit when-to-use and when-not-to-use rules: only on explicit user request, never on the agent's own initiative, and never as a way to free slots after a REJECTED. That level of constraint is exactly what a destructive tool needs.

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