Skip to main content
Glama
@aifirelab/mcp-pinchtab

@aifirelab/mcp-pinchtab

Official
by Ai-firelab

click

Triggers interactions on a browser element by its snapshot ref (e.g. 'e5'); take a snapshot first to identify the ref for buttons, links, or other targets.

Instructions

Click an element by ref (e.g. 'e5'). Use snapshot to find refs. For SPAs, clicking may not cause a full page navigation.

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": {
      "ref": "<ref>"
    },
    "name": "click"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesElement ref from snapshot (e.g. 'e5')
humanNoHuman-like click with random delays
waitMsNoWait this many ms after clicking, then return a page snapshot (max 10000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose one genuine behavioral trait: clicking may not trigger full navigation in SPAs, so the agent should not assume a page load. It omits other important behavior such as what happens if the ref is stale, whether the click scrolls the element into view, or what the tool returns when waitMs is not set.

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 short sentences with the core action front-loaded, followed by the prerequisite and then the caveat in descending order of importance. Nothing is redundant and every sentence carries information an agent needs.

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 simple three-parameter action tool with no output schema and no annotations, the description covers the action, the ref source, and the main SPA gotcha. The remaining gap is failure behavior (invalid refs, element not interactable), which is minor for a click primitive.

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%, so all three parameters (ref, human, waitMs) are already documented in the schema, including the snapshot-return behavior and the 10000ms cap. The description's only parameter-adjacent content is the ref example, which duplicates the schema string, so baseline 3 applies.

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 ('Click an element by ref') with a concrete example ref format, which is unambiguous against siblings like fill, type_text, or hover. It stops short of explicitly contrasting itself with those siblings, so an agent must infer the distinction from the verb alone.

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 line 'Use snapshot to find refs' gives a real prerequisite workflow, which is the most useful guidance here. However, there is no when-not guidance or routing to alternative interaction tools such as hover, select, or press, leaving an agent to infer which tool suits a given element.

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