Skip to main content
Glama

Press key sequence

key_sequence
Read-only

Send a sequence of key presses in order to an Android device or emulator, enabling automated UI control.

Instructions

Press several keys in order (same names as key_press).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keysYesKeys in press order
serialNoDevice serial (defaults to session or the only device)
Behavior3/5

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

Annotations provide readOnlyHint, so the safety profile is partially covered. The description adds that keys are pressed in order, but doesn't disclose any details about failure, timing, or side effects on the device, which would be useful for a tool that sends input.

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?

Single sentence, front-loaded with the action and scope. Every word contributes, with no redundancy.

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 tool with 2 parameters, no output schema, and a complete schema, the description is adequate. The reference to key_press provides essential context for key naming, so the agent can use it correctly. No major gaps for the expected usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema already documents both parameters at 100% coverage, so the baseline is 3. The description adds value by pointing to key_press for key names, which helps the agent understand the expected string values.

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?

Description states exactly what the tool does: 'Press several keys in order'. This clearly distinguishes it from sibling tool key_press which likely presses a single key, and references 'same names as key_press' to clarify key naming.

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 implies usage by the name and action, and the reference to key_press gives a convention for key names. However, it doesn't explicitly mention when to use this over alternatives, though the 'several keys in order' clearly indicates its use case.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dev-jackson/androidbuild-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server