Skip to main content
Glama

vm_disconnect

Releases held guest input, closes the connection, and stops the temporary worker when ending a VM console or SSH session.

Instructions

Release held guest input, close its connection and stop its temporary worker.

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": {
      "session": "<session>",
      "owner_thread_id": "<owner_thread_id>"
    },
    "name": "vm_disconnect"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionYes
owner_thread_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the effects—releasing held input, closing the connection, stopping the temporary worker—but says nothing about idempotency, permission requirements, what happens if the session is already closed, or whether state is destroyed.

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?

It is a single efficient sentence with the primary action front-loaded and no filler. However, the three-part action list is compressed into one clause, which slightly obscures the sequencing of the teardown steps.

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 low-complexity disconnect tool with no output schema, the description gives a reasonable account of what the operation does. It still falls short on parameter meaning and postconditions, which are important because no annotations or schema descriptions cover them.

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

Parameters2/5

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

Schema description coverage is 0%, so both required parameters (session and owner_thread_id) are entirely undocumented in the schema. The description does not mention either parameter or explain what the session identifier represents or why owner_thread_id must be supplied, leaving the agent without the information needed to fill the arguments correctly.

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 specifies concrete actions—release held guest input, close the connection, stop the temporary worker—so an agent can understand this is a teardown operation for a VM/guest session. It is clear enough to distinguish from vm_connect, though it never names the resource as a VM or guest 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?

Usage is only implied: the teardown verbs suggest calling this when a VM session is no longer needed, and vm_connect in the sibling list makes the inverse relationship intuitive. There is no explicit when-to-use guidance, no preconditions, and no mention of when not to call it.

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