Skip to main content
Glama
@aifirelab/mcp-pinchtab

@aifirelab/mcp-pinchtab

Official
by Ai-firelab

press

Simulate a keyboard key press such as Enter, Tab, Escape, or ArrowDown inside the controlled headless browser, optionally focusing a specific element first to trigger navigation, form submission, or menu movement.

Instructions

Press a keyboard key (Enter, Tab, Escape, ArrowDown, etc.)

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": "press"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesKey to press (e.g. 'Enter', 'Tab')
refNoElement to focus before pressing

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses almost nothing beyond the verb: it does not say whether a keystroke requires a focused element, what happens if nothing is focused, whether an error is raised for unknown key names, or whether the key event is dispatched to the page or a specific element. The only behavioral hint, that `ref` focuses an element first, comes from the schema rather than the description.

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 short sentence, front-loaded with the verb and resource, with the examples doing useful discovery work. There is no filler or redundancy to trim.

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 browser interaction tool with complete schema coverage and no output schema, the definition covers the essentials of what to call. It is incomplete on runtime behavior, though: focus requirements, failure modes, and how it differs from type_text are all absent, and with no annotations nothing else fills those gaps.

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 description coverage is 100%, with both `key` and `ref` documented inline, so the baseline is 3. The description's key examples duplicate what the `key` parameter description already conveys and add no new constraints on accepted key names or on `ref` behavior.

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 gives a specific verb and resource ("Press a keyboard key") plus concrete key examples (Enter, Tab, Escape, ArrowDown), so an agent knows exactly what the tool does. It stops short of distinguishing it from the sibling type_text, which also sends keyboard input, leaving the boundary between the two implicit.

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: the key examples suggest discrete keystrokes rather than arbitrary text entry, which hints at when to prefer this over type_text. There is no explicit statement of when to use this tool, when not to, or how it relates to click/fill/type_text.

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