Skip to main content
Glama

Browser Press

browser_press
Destructive

Use this to send an explicit keyboard key or shortcut to the current inspected Chromium tab, such as Enter or Escape. Enter can submit forms; validate focus and user intent first.

Input Schema

NameRequiredDescriptionDefault
keyYesSingle key name such as Enter, Escape, Tab or A.
titleNoChoose a page whose title contains this text.
deviceYesReMCP device id returned by list_devices. Required for every device operation.
endpointNoLoopback Chrome DevTools endpoint. Defaults to REMCP_CDP_URL or http://127.0.0.1:9222.
target_idNoPage target id returned by browser_tabs.
timeout_msNoTimeout in milliseconds.
url_containsNoChoose a page whose URL contains this text.

Output Schema

NameRequiredDescriptionDefault
dataNoBrowser element action structured result for browser_action. Stable fields are declared explicitly; platform-specific fields may be added. Large results may return truncated/bytes/preview instead of the full payload.
textYesConcise human-readable result of the tool call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and idempotentHint=false, but the description earns credit by explaining why: Enter can submit forms, so a key press can have irreversible effects. The instruction to validate focus and intent is genuine behavioral context beyond the annotation flags. It stops short of explaining how the target tab is resolved when target_id/title are omitted.

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?

Two short sentences with zero filler, and the risk warning is front-loaded right after the core action. Nothing to trim.

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?

With 100% schema coverage, an output schema, and destructive/open-world annotations already in place, the description covers what an agent needs to call it responsibly. The one residual gap is how a key is routed when neither target_id nor title is supplied and multiple tabs exist.

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 100%, so every parameter including key, device, target_id and title is already documented in the schema. The description reinforces 'current inspected Chromium tab' as the default target, but adds no syntax, format, or selection-precedence details beyond the schema. Baseline 3 applies when the schema carries the load.

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?

The description names a specific verb and resource ('send an explicit keyboard key or shortcut to the current inspected Chromium tab') and gives concrete examples (Enter, Escape). It is clear what the tool does, but it never names browser_type or keyboard as the adjacent siblings, so the agent must infer the boundary itself.

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

Usage Guidelines3/5

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

It gives a warning about validation ('Enter can submit forms; validate focus and user intent first') which implies cautious usage, but there is no explicit guidance on when to use this versus browser_type (text entry) or the generic keyboard tool. The usage context is implied rather than stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources