Skip to main content
Glama

terminal_disconnect

Idempotent

Disconnect one host connection via connectionRef while leaving other hosts connected; retains the admitted session credential for resuming within authorization.

Instructions

Disconnect one host connection (connectionRef; required when several are connected). Other hosts stay connected. Retains its admitted session credential for resuming within its authorization.

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

Input Schema

NameRequiredDescriptionDefault
connectionRefNoThe host connection to act on, as returned by terminal_connect (for example vrch-110.vrch.ai). Required when several hosts are connected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / connectionRef
      Added value: +{
      +  "description": "The host connection to act on, as returned by terminal_connect (for example vrch-110.vrch.ai). Required when several hosts are connected.",
      +  "type": "string"
      +}
  2. 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 cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true, openWorldHint=true). Beyond those, the description discloses two non-obvious behaviors: the blast radius is limited to one host, and the admitted session credential is retained for later resumption subject to authorization. That credential-retention detail is genuinely useful state information not present in the annotations.

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?

Three tight clauses with the operation and its scope front-loaded, then the parameter note, then the state-retention caveat. The parenthetical is slightly dense but nothing is wasted; a short sentence on the omitted-connectionRef case would have been the only worthwhile addition.

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 one-parameter teardown tool with a full annotation set and no output schema, this covers what an agent needs: scope of effect, when the parameter is required, and what state survives. Only the behavior when connectionRef is omitted on a single-host connection is left implicit.

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 connectionRef and its "required when several hosts are connected" condition are already documented in the schema. The description restates that condition verbatim and adds no syntax, format, or defaulting behavior for the single-host case, so the baseline 3 applies.

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?

"Disconnect one host connection" gives a specific verb plus resource and immediately scopes the operation to a single host, which clearly separates it from terminal_connect and the input/run tools. It stops short of naming any sibling explicitly, so it earns a 4 rather than a 5.

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

Usage Guidelines4/5

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

"Required when several are connected" tells the agent the condition under which connectionRef must be supplied, and "Other hosts stay connected" clarifies the intent of a targeted teardown versus dropping everything. There is no explicit exclusion or named alternative, but none of the listed siblings appears to be a competing disconnect path.

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