Skip to main content
Glama

browser_press

Sends a single keyboard key or character to a target browser tab to submit forms, move focus, navigate, or edit fields.

Instructions

Press a single keyboard key (Enter, Tab, Escape, Backspace, Delete, Space, ArrowUp/Down/Left/Right, PageUp/Down, Home, End, or a single character).

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 name or single character.
tab_idNoTarget tab id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and discloses little beyond the allowed key set. It does not say whether the key is dispatched to the focused element, whether focus must be established beforehand, whether the call waits for resulting navigation, or what happens if an unsupported key is passed.

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?

A single front-loaded sentence with zero filler; the key list sits in the natural position after the core action.

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 tool with no output schema and no annotations, the definition covers what to pass but not the operational context (focus targeting, post-press effects, failure modes). An agent could call it, but may need to discover focus behavior through trial and error.

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%, but the schema only says "Key name or single character" with no enums; the description adds a concrete list of accepted key names and the single-character allowance. That is meaningful constraint information the schema does not provide. The tab_id parameter is left to the schema, which is acceptable.

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 single keyboard key") and the word "single" plus the enumerated key list makes it distinguishable from a general text-typing sibling. It does not explicitly name browser_type as the alternative for text entry, so it stops just short of full differentiation.

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 is only implied: an agent can infer this is for discrete key presses such as submitting a form with Enter. There is no statement of when to prefer this over typing text, and no mention of prerequisites like focusing an element first.

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