Skip to main content
Glama

Key

key

Press Android device buttons like home, back, enter, power, or volume to control phones, emulators, and BlueStacks.

Instructions

Press a key: home, back, enter, recent, power, volume_up, volume_down, delete…

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
deviceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It does not say whether a device must be targeted, which device is used when 'device' is omitted, whether the press is blocking, or what happens on an invalid key — all significant for a state-mutating input tool.

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 short sentence with the action front-loaded and the value list immediately after. The trailing ellipsis is a minor flaw since it hints at additional valid keys without naming them.

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 not be explained, and the key set is covered. Still missing: the meaning of the 'device' parameter, whether it is required in practice, and any failure behavior — gaps that matter for a device-input tool with no annotations.

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% and the 'name' property has no enum, so the description's list of valid keys is genuinely load-bearing. However, it never explains the optional 'device' parameter or what its null default selects, leaving half the parameters undocumented.

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 (press) and resource (a key) and enumerates the accepted key values, so an agent understands this injects a hardware/system key event. It is distinguishable from siblings like tap and type_text, though it never names them explicitly.

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

Usage Guidelines3/5

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

The enumerated key list implies usage (device navigation and system buttons), but there is no explicit when-to-use, no when-not-to-use, and no pointer to alternatives such as type_text for text entry or shell for other input.

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