Stop Tunnel
stopTunnelTerminate a specific active tunnel connection by tunnel ID. Use this to clean up tunnels that are no longer needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tunnelId | Yes | The ID of the tunnel to stop |
stopTunnelTerminate a specific active tunnel connection by tunnel ID. Use this to clean up tunnels that are no longer needed.
| Name | Required | Description | Default |
|---|---|---|---|
| tunnelId | Yes | The ID of the tunnel to stop |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=false, so the safety profile is covered. The description reinforces the terminal nature with 'Terminate' and the cleanup use case, but adds no new behavioral detail such as irreversibility or effect on sessions using the tunnel.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences with the action and key identifier front-loaded, followed by the use case. No filler or redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-parameter destructive tool with full annotation coverage, the description is essentially complete. Only minor omissions remain, such as whether stopping a tunnel affects in-flight sessions, and there is no output schema to require explanation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with a single, fully documented parameter, so the schema already carries the meaning. 'by tunnel ID' merely restates what the schema says; baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (Terminate) and resource (a specific active tunnel connection) keyed by tunnel ID. It is clearly distinguishable from listTunnels and the analyze/build tunnel tools, though it does not name any sibling explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The second sentence gives a use case ('clean up tunnels that are no longer needed'), which implies when to call it, but there is no explicit when-not guidance or reference to the alternative (e.g., listTunnels to find IDs). Adequate but with clear gaps.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.