Skip to main content
Glama

show_vm_card

Display an interactive card for a single VirtualBox VM, showing status, hardware specs, and lifecycle actions so users can inspect and manage that VM from one view.

Instructions

Display an interactive Prefab UI card for a single Virtual Machine.

Return Format

Structured Prefab UI card payload with status badge, hardware specs, and quick lifecycle actions. Error states carry status: "error" plus error.

Examples

await show_vm_card("Ubuntu-Dev")

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": {
      "vm_name": "<vm_name>"
    },
    "name": "show_vm_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
vm_nameYesVM name or UUID to display.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.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 burden, and it does disclose the return payload shape and the error-state contract (status: "error" plus error), which is genuinely useful. However, it mentions "quick lifecycle actions" without saying whether invoking them mutates the VM or whether this tool itself has side effects — a meaningful gap for something that surfaces lifecycle operations. No permission or auth requirements are stated.

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?

The core purpose is front-loaded in one sentence, followed by a short return-format section and a minimal example. Nothing is padded, though the return-format section partially duplicates what the output schema already conveys.

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?

For a one-parameter display tool with an output schema present, the definition covers purpose, return shape, error behavior, and invocation syntax — enough to call it correctly. The remaining gap is the side-effect profile of the embedded lifecycle actions and the lack of routing guidance among sibling tools.

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 100% and the single parameter already documents "VM name or UUID to display." The description adds no further meaning about identifier format, lookup behavior, or what happens when the name is ambiguous or not found (beyond the generic error state). Baseline 3 is appropriate when the schema does the work.

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 and resource: display an interactive Prefab UI card for a single Virtual Machine. This clearly distinguishes it from sibling card tools (show_hypervisor_health_card, show_sandbox_status_card) by resource, and from vm_management by output modality (UI card vs data). It does not explicitly name the siblings it is not, so a 4 rather than 5.

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?

There is no explicit when-to-use guidance: nothing says when to render a card instead of querying VM data through vm_management or vm_agentic_workflow. The code example implies invocation syntax but not selection criteria. An agent must infer the choice from the tool name alone.

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