Skip to main content
Glama

console_press_keys

Destructive

Presses and releases key chords such as Ctrl+S or Enter in a Hyper-V VM console using virtual-key codes, enabling keyboard input for guest interaction.

Instructions

Press and release a key chord (for example ['ctrl','s'] or ['enter']) using Hyper-V virtual-key codes.

Input Schema

NameRequiredDescriptionDefault
keysYes
vm_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=true, so the safety profile is covered structurally. The description adds that keys are pressed and released via Hyper-V virtual-key codes, but it does not explain the destructive potential, required console state, or what guest actions might be triggered.

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?

The description is a single, front-loaded sentence with no wasted words. The key behavior and an example parameter format are delivered immediately.

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 and annotations cover the destructive/non-idempotent profile, reducing the burden on the description. However, with 0% schema parameter coverage, the description leaves gaps around vm_name, valid key naming, prerequisites, and when this tool should be chosen over sibling console-input 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 0%, so the description must carry parameter meaning. It partially compensates by showing the keys array as a chord (['ctrl','s']) or single key (['enter']) and mentioning Hyper-V virtual-key codes, but vm_name is undocumented and it does not clarify whether listed keys are pressed simultaneously or sequentially.

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?

The description states a specific verb and resource: 'Press and release a key chord,' with concrete examples like ['ctrl','s'] and ['enter']. It does not explicitly differentiate this from sibling tools such as console_type_text or console_ctrl_alt_delete, but the key-chord framing is clear enough to distinguish the operation.

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 guidance on when to use this tool versus alternatives like console_type_text, console_batch, or console_ctrl_alt_delete, nor are prerequisites such as requiring a connected console or running VM stated. The examples imply shortcut/key input, but usage remains inferred rather than directed.

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