Skip to main content
Glama

press_key

Sends a specified keyboard key, with optional modifiers, to the active Chrome page, enabling automated shortcuts and form interactions through TabWeave MCP.

Instructions

Button

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
modifiersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.3.0

TDQS

D1.1/5.0
Behavior1/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 of behavioral disclosure, and it discloses nothing: no indication of what element receives the keypress, whether focus is required, whether modifiers are held simultaneously, or what errors can occur. "Button" conveys no behavioral information at all.

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?

The text is extremely short, but that brevity is under-specification rather than conciseness; one word with zero information is not a well-structured, front-loaded definition.

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 a two-parameter input tool with no annotations, no output schema, and 0% schema coverage, the description supplies nothing an agent needs to invoke it correctly. It is completely inadequate for the tool's complexity.

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?

Schema description coverage is 0% for two parameters (key, modifiers), and the description adds no meaning: it does not explain what key values are valid (e.g. name vs. code vs. single character) or how modifiers are applied. This is exactly the case where the description must compensate and fails to.

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

Purpose1/5

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

The description is the single word "Button", which neither states a verb nor the resource being acted on; the tool name press_key implies keyboard input, so the description is actively unhelpful rather than merely vague. It gives an agent no basis for distinguishing this tool from siblings like click, hotkey, or type.

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?

There is no guidance whatsoever about when to use press_key versus click, hotkey, type, or focus. An agent has no way to infer the intended invocation context from "Button".

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