Skip to main content
Glama

Terminate the active machine

htb_stop_machine
Destructive

Terminates the active Hack The Box machine session immediately, optionally verifying a target first before ending it.

Instructions

Terminate the currently active machine. Optionally verify a target first. This ends the machine session immediately.

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

Input Schema

NameRequiredDescriptionDefault
targetNoOptional machine to check before terminating.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare destructive=true, openWorld=true, and readOnly=false. The description adds that the machine session ends immediately and that a target can optionally be checked first, but it does not describe permissions, reversibility, or failure behavior in detail.

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?

The description is short and front-loads the main action. However, 'This ends the machine session immediately' partially repeats 'Terminate', and 'Optionally verify a target first' is somewhat vague.

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?

For a simple destructive mutation with one fully documented optional parameter and no output schema, the description gives enough context to invoke the tool correctly. It could say more about target validation or what happens when no target is supplied, but the annotations and schema cover most of the operational details.

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 target parameter is already fully documented in the input schema. The description's phrase 'Optionally verify a target first' adds little semantic detail beyond what the schema already provides.

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?

The description uses a specific verb, 'Terminate', and names the exact resource, 'the currently active machine'. It is clear what the tool does, but it does not explicitly distinguish itself from similarly named siblings such as htb_reset_machine or htb_extend_machine.

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 description implies usage by stating it terminates the currently active machine and optionally verifies a target first. It does not explain when to choose this over resetting or extending a machine, so the guidance is minimal.

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