Skip to main content
Glama

vm_discover

Discovers VMware and VirtualBox virtual machines across providers and search paths, and optionally appends discovered VMs to the server configuration for centralized management.

Instructions

发现 VMware / VirtualBox 虚拟机;register=true 时把发现的虚拟机追加到配置。

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

Input Schema

NameRequiredDescriptionDefault
registerNo
providersNo
search_pathsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does disclose the key side effect that register=true appends to configuration, which is the main risk an agent needs to know. However, it says nothing about whether re-registering duplicates existing entries, whether it modifies or only adds, or what a scan actually returns.

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?

A single compact sentence with the resource front-loaded and the conditional mutation stated last, so nothing is wasted. It is, if anything, too terse for the amount of undocumented behavior it covers.

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

Completeness2/5

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

No output schema, no annotations, and 0% parameter coverage mean the description has to do all the work, and it does not — the return shape of a discovery call, valid provider values, and the cost/default of an unrestricted search are all left to the agent's guesswork.

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?

Only one of three parameters (register) is explained, and only in passing. providers and search_paths have 0% schema description coverage and are given no meaning in the description — an agent cannot tell whether providers accepts 'vmware'/'virtualbox' strings or whether omitting search_paths triggers a full-disk scan.

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?

States a specific verb ('发现'/discover) and a concrete resource ('VMware / VirtualBox 虚拟机'), so the agent knows this scans for local hypervisor VMs. It does not name any sibling tool, but the scan-for-VMs action is unambiguous and clearly distinct from action/console siblings.

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

Usage Guidelines2/5

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

No guidance on when to choose this over the other vm_* tools, no prerequisites, and no note that discovery is typically a precursor to vm_action or console tools. The only conditional hint is the register=true behavior, which describes effect rather than when to use the tool.

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