Skip to main content
Glama
Bridge Commander
by PaPasha215

force_terminate

Destructive

Terminate a process and all child processes started by start_process, using the required PID to stop sessions cleanly.

Instructions

Terminate a session started by start_process (and its child processes).

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": "force_terminate"
  }
}

Input Schema

NameRequiredDescriptionDefault
pidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so the safety profile is carried by structured data. The description adds real behavioral context beyond that by disclosing that child processes are also terminated, which is a non-obvious blast radius. It omits what happens on an invalid or already-dead pid, which is why it is not a 5.

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 short sentence with the resource scoping front-loaded and the child-process caveat attached where it is most relevant. Nothing is wasted and nothing is buried.

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 one-parameter destructive tool with annotations covering the safety profile and no output schema, the description is roughly sufficient but thin. It does not define the pid's expected form or say what a caller gets back or what occurs when the target is not a force_terminable session.

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?

There is one parameter (pid) with 0% schema description coverage, so the schema adds no meaning. The description implies 'session' semantics but never states that pid identifies the session's root process, nor whether it accepts a session id versus a process id, leaving real ambiguity.

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 ('Terminate') and resource ('a session started by start_process'), and explicitly extends scope to child processes, which lets an agent tell it apart from a plain session-close. It stops short of distinguishing itself from the sibling 'kill_process', so the purpose is clear but not fully disambiguated.

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 clause 'started by start_process' implies this only applies to sessions created there, which is useful scoping guidance. However there is no explicit when-to-use versus 'kill_process' or 'list_sessions', and no stated preconditions or failure behavior, leaving the agent to infer the alternative.

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