Skip to main content
Glama

debug_serial_prepare

Destructive

Configure COM1 kernel debugging over a local named pipe for an offline Hyper-V VM, without stopping or rebooting it; guest BCD setup remains a separate running-VM step.

Instructions

Configure COM1 kernel debugging over a local named pipe while the VM is Off. Guest BCD settings are a separate Running-VM operation. Never stops or reboots automatically. Requires ALLOW_DEBUGGER and confirm_vm.

Input Schema

NameRequiredDescriptionDefault
vm_nameYes
pipe_nameYes
confirm_vmYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and non-idempotent, so the mutation risk is covered structurally. The description adds genuinely useful context beyond that: it requires the VM be Off, never stops or reboots the VM, and needs ALLOW_DEBUGGER plus confirmation. It does not say what existing COM1/serial configuration gets overwritten, which is the remaining gap.

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?

Four short sentences, front-loaded with the scope and VM-state constraint before the exclusions and requirements. No filler.

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?

An output schema exists, so return values need not be described, and the Off-state requirement plus auth gates cover the essentials for this mutation. Still missing details on what happens to prior serial settings and acceptable VM states (e.g., Saved vs Off).

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 0%, so the description must compensate; it only explains that a local named pipe is used and that confirm_vm is an authorization gate. Neither the pipe name format (e.g., \\.\pipe\name) nor the expected confirm_vm value semantics are described.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (configure COM1 kernel debugging over a local named pipe) plus the required VM state (Off). It distinguishes itself from the sibling debug_guest_prepare by noting that guest BCD settings are a separate Running-VM operation.

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?

Explicitly states the precondition (VM must be Off) and routes the guest-BCD case elsewhere, but never names the alternative tool (debug_guest_prepare) or debug_serial_status for verification. Prerequisites ALLOW_DEBUGGER and confirm_vm are given as gates, which is clear guidance.

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