Skip to main content
Glama
office233
by office233

browser_press_key

Destructive

Trigger keyboard input on a web page by pressing a specified key or chord, such as Enter or Control+A, to automate form submission, navigation, or shortcuts.

Instructions

Press a key or chord on the page, e.g. "Enter", "Escape", "Control+A", "ArrowDown".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
snapshotNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true, readOnlyHint=false, openWorldHint=true, and non-idempotency, so the safety profile is covered. The description adds the chord syntax convention but says nothing about focus requirements, that keystrokes can mutate page state, or any rate/confirmation concerns.

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 well-formed sentence with the action front-loaded and examples inline. No wasted wording, though it is sparse enough that a clause about focus or the snapshot flag could have earned its place.

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?

For a two-parameter mutating tool with no output schema, the description covers the primary input but omits the snapshot parameter entirely and gives no behavioral context beyond annotations. Adequate but with a visible gap.

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 coverage is 0%, so the description must carry the load. It does clarify the 'key' parameter with chord examples like 'Control+A' and 'ArrowDown', which is genuinely useful syntax information absent from the schema. However, the second parameter 'snapshot' is never mentioned, 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 and resource ('Press a key or chord on the page') and supplies concrete examples, which separates it from browser_type and browser_click. It does not explicitly name the sibling it differs from, so it stops short of a 5.

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?

No guidance on when to press a key versus using browser_type, browser_click, or a chord-based alternative, and no stated prerequisites such as an element needing focus. Usage is only implied by the examples.

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

Deploy Server

Other Tools