Skip to main content
Glama

press_key

Simulate keyboard key presses, including modifier chords, to enable AI agents to interact with web pages and handle logins or challenges.

Instructions

A key, including modifier chords.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.6/5.0
Behavior2/5

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

No annotations, so the description carries the full behavioral burden. It hints that a key and modifier chords are involved, but says nothing about focus requirements, whether chords use "Ctrl+Shift+A" syntax, key-down/up handling, or effects on the page.

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

Conciseness2/5

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

A single sentence fragment, but its brevity reflects under-specification rather than efficiency. There is nothing front-loaded because there is no actionable content.

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

Completeness1/5

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

For an input action tool with no annotations, no output schema, no defined parameters, and a host of similar input siblings, this is far too thin for an agent to invoke correctly.

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

Parameters1/5

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

The schema is a bare object with zero properties while the description references "a key, including modifier chords" – implying an input the schema does not define. With 0 params declared, the description must specify the argument shape, and it wholly fails to (no key name format, no chord syntax).

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

Purpose2/5

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

"A key, including modifier chords." is a fragment, not a statement of purpose. It never says it presses/sends a key or that it operates on the browser page. Against siblings like click, type_text, and press_and_hold, an agent gets no clear differentiation.

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

Usage Guidelines1/5

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

No when-to-use, no conditions, no alternatives. Nothing routes the agent to press_key over press_and_hold, type_text, or click.

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