Skip to main content
Glama

serial_disconnect

Destructive

Detach the server's serial reader and close its pipe handle for a specified VM while leaving the VM's COM port unchanged.

Instructions

Detach this server's serial reader and close its pipe handle without changing the VM COM port.

Input Schema

NameRequiredDescriptionDefault
vm_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety profile is covered. The description adds genuinely useful detail beyond that: it clarifies exactly what is torn down (the server-side reader and pipe handle) and what is deliberately preserved (the VM COM port). It stops short of describing error cases or the return payload.

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?

One sentence, front-loaded with the action and resource, with the non-obvious constraint ('without changing the VM COM port') placed immediately after. No wasted words.

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?

An output schema exists and annotations already flag destructiveness, so the description need not explain returns or safety. However, for a destructive mutation with a wholly undocumented required parameter, it omits preconditions (e.g. what happens if no reader is attached) and the VM scoping of the operation.

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 the single parameter (vm_name) is undocumented in structured data and must be compensated for in the description. The description never mentions vm_name or whether the disconnect is scoped per-VM, leaving the only parameter entirely uninterpreted.

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?

Names a specific verb+resource pair ('Detach ... serial reader and close its pipe handle') and implicitly contrasts with serial_connect. It doesn't explicitly name sibling tools like serial_status/serial_read, so differentiation is inferred rather than stated.

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 implied by the name and the 'detach' verb, and the 'without changing the VM COM port' clause hints at the boundary of the operation. There is no explicit guidance on preconditions (must a reader be connected first?) or failure behavior, and no alternatives are named.

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