Skip to main content
Glama

sleeper_press

Press keys on a target element or active browser tab to trigger shortcuts, submit forms, or test keyboard interactions.

Instructions

Keyboard events on element/active

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
tabNo
profileNoBrowser ID from sleeper_sessions; optional with one connected browser.
selectorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

C2.4/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, yet it discloses almost nothing: it doesn't say whether it dispatches keydown/keyup, whether it targets a selector or the active element by default, or whether focus/permission is required. The only context is the terse 'on element/active' hint.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

At six words it is certainly terse with no wasted filler, but the size reflects under-specification rather than disciplined conciseness. A slightly longer front-loaded sentence would serve the agent better.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With four parameters, no output schema, and no annotations, the description leaves too much unsaid for an agent to invoke it confidently. Key syntax and targeting behavior are the minimum an agent needs and both are missing.

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

Parameters2/5

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

Schema coverage is only 25% (only 'profile' has a description), so the description must compensate and does not. It never explains the 'key' string format (e.g. 'Enter' vs 'Control+A'), what 'selector' targets, or the role of 'tab'.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The phrase 'Keyboard events on element/active' vaguely indicates a key-pressing tool, but 'events' is imprecise and it never states it sends a single key press to a targeted element. It does not distinguish itself from close siblings like sleeper_keys (key combos) or sleeper_type (text entry).

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 guidance on when to use this versus sleeper_keys, sleeper_type, or sleeper_submit. The fragment 'on element/active' hints at targeting, but no conditions, prerequisites, or alternatives are stated.

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