Skip to main content
Glama

vm_type

Types text as keystrokes into a UTM virtual machine's guest, auto-detecting the keyboard layout or using a specified one. Use vm_paste for long text or unsupported characters.

Instructions

Types text (newline = Enter) as keystrokes on the guest's keyboard layout, detected automatically (or pass e.g. layout="de"). For long text or characters the layout lacks, use vm_paste.

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": "<vm>",
      "text": "<text>"
    },
    "name": "vm_type"
  }
}

Input Schema

NameRequiredDescriptionDefault
vmYes
textYes
layoutNoauto

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/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 whole burden. It usefully discloses the newline-to-Enter mapping and that layout is auto-detected and can be overridden, but says nothing about whether the guest must be focused/running, whether input requires helper tooling, or whether the call blocks until typing finishes.

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?

Two sentences, front-loaded with the action and its key semantic (Enter), with the alternative deferred to the end where it belongs. Nearly no waste, though the parenthetical layout example interrupts the main clause mid-sentence.

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, so return values need no explanation. For an input-injection tool with no annotations and zero schema coverage, though, the definition omits prerequisites (focus, guest agent availability) and the meaning of the 'vm' parameter, leaving real gaps for an agent trying to call it correctly on first attempt.

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 description coverage is 0%, so all three parameters are bare titles. The description compensates well for 'text' (newline semantics) and 'layout' (auto default, 'de' example), but leaves 'vm' completely undefined in both schema and prose, so an agent must guess the expected identifier form.

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?

Names a specific verb and resource ('Types text ... as keystrokes on the guest's keyboard layout') and pins down the mechanism (keystroke synthesis, newline = Enter) rather than a vague 'sends input'. The closing clause distinguishes it from vm_paste, so an agent can pick between the two without opening either schema.

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?

Gives an explicit alternative with the selecting condition: long text or characters the layout lacks go to vm_paste. It stops short of full routing guidance (e.g. when a single key or shortcut is wanted instead of text), but the core when-to-use is stated, not implied.

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