Skip to main content
Glama

keyboard_release_all

Idempotent

Release all keyboard keys currently held by the session to fix stuck input in a Windows 98 VM. Unlock the VM afterward to resume control.

Instructions

Release every keyboard key tracked as held by this session. VM remains locked by this session; call vm_unlock when finished.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vm_nameYesUnique VM name configured in WIN98CTL.INI.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.7.0
    • addedInput schema / properties / vm_name
      Added value: +{
      +  "description": "Unique VM name configured in WIN98CTL.INI.",
      +  "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$",
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "vm_name"
      +]
  2. First observedv0.0.0-development

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already indicate idempotency and non-destructiveness. The description adds meaningful behavioral context beyond annotations: it releases only keys tracked as held by this session, and it does not unlock the VM. This helps the agent understand side effects and prerequisites.

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?

Two sentences, no filler, with the core action front-loaded and the critical follow-up instruction placed second. Every word contributes to correct usage.

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 simple, idempotent release-all operation with one well-documented parameter, the description sufficiently covers the action, scope, and postcondition. It does not describe output or edge cases, but no output schema exists and the behavior is straightforward.

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% with a single vm_name parameter fully documented in the schema. The description does not need to repeat parameter details, and the baseline of 3 is appropriate since the schema handles the semantic burden.

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?

The description uses a specific verb ('Release') and a precise resource ('every keyboard key tracked as held by this session'), clearly distinguishing this from single-key tools like keyboard_key and from mouse_release_all. The session scoping adds necessary precision.

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?

The description clearly implies when to use it (after keyboard input, to clear all held keys) and provides a crucial postcondition: the VM remains locked and vm_unlock should be called. It does not explicitly contrast with alternatives, but the context is clear enough for an agent to select it.

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