Skip to main content
Glama

browser_press

Destructive

Sends trusted key presses (Enter, Tab, Escape, Meta+A) to a Chrome tab, optionally raising hidden tabs and verifying results.

Instructions

Send trusted key press (Enter, Tab, Escape, Meta+A). Pass front=true if hidden.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "key": "<key>"
    },
    "name": "browser_press"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesKey spec.
tabNoTab index string (e.g. '0'), targetId, or URL/title substring.
fastNoSkip pacing.
frontNoRaise hidden tab first.
verifyNoCSS selector to verify.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, readOnlyHint=false and non-idempotence. The description adds genuine value with "trusted" (implying real, browser-level key events rather than synthetic ones) and the hidden-tab note, but it never warns that a key press can submit forms or trigger irreversible navigation despite destructiveHint=true.

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 the core action first and the conditional hint second; every clause carries information and nothing is padded.

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?

For a 5-parameter tool with full schema coverage and rich annotations, the description plus schema is nearly sufficient. The only real gap is behavioral: no statement of what a key press may trigger (form submission, navigation) despite a destructive annotation.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds real meaning to the otherwise terse `key: "Key spec."` parameter by listing valid key specs, and explains the purpose of `front` beyond the schema's "Raise hidden tab first." The `tab`, `fast`, and `verify` parameters are left entirely to the schema.

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+resource ("Send trusted key press") with concrete key examples (Enter, Tab, Escape, Meta+A) that make the tool's domain immediately obvious. It does not differentiate from siblings like browser_fill or browser_click, which also dispatch input, 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 Guidelines3/5

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

The one conditional hint, "Pass front=true if hidden," does give actionable context for a hidden tab. Beyond that, there is no guidance on when to press a key versus using browser_fill, browser_click, or browser_eval, leaving usage to inference.

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