Skip to main content
Glama

browser_press

Press keyboard keys in a specific browser tab, with optional Alt, Ctrl, Meta, or Shift modifiers, so multiple agents can control their own pages.

Instructions

Press a key. modifiers is a bitfield: 1=Alt, 2=Ctrl, 4=Meta, 8=Shift. tab: the handle browser_new_tab returned ("t3"). Pass it on every call: several agents can share this server, and the tab is how each one keeps to its own page.

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
keyYes
tabNo
modifiersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose genuinely useful behavior: the server is shared by several agents and the tab handle scopes each agent to its own page. It leaves out what happens when tab is omitted (the schema defaults it to null, which is unexplained) and what the call returns or whether the key is dispatched to the focused element.

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?

Three tight sentences, action first, then the two non-obvious parameters, with no filler. The parenthetical example ("t3") and the concurrency rationale both earn their words.

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 3-param tool with no annotations, no output schema, and 0% schema coverage, the description covers the two hard parameters well but omits key-name conventions and the null-tab fallback. An agent could still mis-invoke it by sending "Enter" vs "Return" or by omitting tab.

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 0%, so the description must compensate, and it does for two of three parameters: the modifiers bitfield values (1=Alt, 2=Ctrl, 4=Meta, 8=Shift) and the tab handle's origin and purpose are both spelled out in ways the bare integer/string schema cannot convey. Only `key` (special key naming like "Enter" or "Escape") is left unaddressed.

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 concrete verb and resource ("Press a key") that is distinct from text-entry siblings such as browser_type and browser_fill. It does not explicitly name a sibling to differentiate against, 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?

Usage context is implied by the tab-passing instruction rather than stated: the reader learns to always supply the tab handle, but there is no explicit when-to-use-this-vs-browser_type guidance or note on required page focus before pressing.

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