Skip to main content
Glama

Disconnect OpenVPN

htb_vpn_disconnect

Stops the OpenVPN process started by this server; specify a PID file to target one process or omit it to stop all managed HTB OpenVPN processes.

Instructions

Stop the OpenVPN process started by this server. With no PID file, stops all HTB OpenVPN processes managed by this server.

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_vpn_disconnect"
  }
}

Input Schema

NameRequiredDescriptionDefault
pid_fileNoSpecific PID file to stop.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true and destructiveHint=false, so the safety profile is largely covered. The description earns credit for disclosing the significant blast-radius behavior that annotations do not: with no PID file it stops ALL HTB OpenVPN processes managed by this server, not just one. It omits what "stop" means technically (graceful termination vs kill) and whether dropping the tunnel disrupts an active machine session.

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 short sentences with no filler, and the core action plus the default-scope warning are front-loaded so an agent reading only the first clause still knows what the tool does.

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 single optional parameter, no-output-schema tool with annotations covering safety, the definition is nearly complete: action, scope, and the no-PID default are all present. The remaining gap is the consequence of the disconnect on any active HTB machine session, which an agent would want before calling it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already defines pid_file as "Specific PID file to stop" and the baseline would be 3. The description adds genuinely new meaning by stating what happens when the optional parameter is omitted, which the schema does not express at all.

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 ("Stop the OpenVPN process") and bounds the scope to processes "started by this server," which distinguishes htb_vpn_disconnect from htb_vpn_connect and from stopping arbitrary system VPN processes. It stops short of the top score because it never names or contrasts a sibling tool explicitly.

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 usage context (tearing down the tunnel this server established) is implied rather than stated, and there are no explicit when/when-not rules. The description does clarify the dangerous default case of omitting pid_file, which is closer to parameter behavior than to tool-selection guidance.

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