Skip to main content
Glama
mcp-ht-better-hyperv

mcp-ht-better-hyperv

by HuanTian3365

hyperv_vm_list

Lists Hyper-V VMs with state, generation, CPU, memory, heartbeat, and stored-credential status so you can choose a target and know whether hyperv_exec can reach its guest.

Instructions

List Hyper-V virtual machines on this machine with their state, generation, CPU, memory, guest heartbeat, and whether a guest credential is already stored for them. Start here: it tells you which VM to target and whether you need to call hyperv_credential_set first. The HEARTBEAT column is what decides whether hyperv_exec can reach the guest at all: a powered-on VM with no operating system installed, or one still booting or crashed, reports NoContact and cannot accept a PowerShell Direct connection, no matter what credential is stored. Listing, start/stop/restart and hyperv_host_exec never need a guest OS.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it explains that NoContact heartbeat means hyperv_exec cannot reach the guest regardless of stored credentials, and that some operations require no guest OS. The gaps are minor – it does not state whether listing requires admin/Hyper-V role, how slow or large the output can be, or what happens on a host without Hyper-V enabled.

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?

Front-loaded with what it lists, then the routing advice, then the heartbeat caveat. Every sentence adds decision-relevant information; the longer heartbeat sentence earns its length because it prevents a failed hyperv_exec call.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter list tool with no output schema, the description fully covers what comes back and how to act on it, including the credential and heartbeat preconditions for downstream tools. Nothing an agent needs to call it correctly and interpret the result is missing.

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

Parameters4/5

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

The tool takes zero parameters, so the baseline is 4 and there is no parameter meaning for the description to add. The description instead clarifies output-column semantics, which is valuable but belongs to other dimensions.

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 ('List Hyper-V virtual machines on this machine') and enumerates exactly what is returned: state, generation, CPU, memory, guest heartbeat, and stored-credential status. This is clearly distinguishable from siblings like hyperv_vm_start or hyperv_credential_set without opening any schema.

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

Usage Guidelines5/5

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

'Start here' explicitly positions it as the entry point and names the follow-up decision ('whether you need to call hyperv_credential_set first'). It also gives an exclusion rule for sibling tools: listing, start/stop/restart and hyperv_host_exec never need a guest OS, implying which tools do.

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