Skip to main content
Glama
t3ratech

T3rnel Browser — Session Bridge

Official
by t3ratech

session_click

Destructive

Clicks an element by CSS selector or @eN ref using a real mouse press/release so handlers that ignore synthetic events still fire. Returns clicked target or 'Element not found'.

Instructions

Click an element, by CSS selector or by an @eN ref from session_snapshot. Scrolls the element into view and dispatches a real mouse press and release at its centre, so handlers that ignore synthetic events still fire. Returns {clicked} naming what was targeted. Fails with 'Element not found' rather than clicking something else when nothing matches.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refNoA ref from session_snapshot, such as @e12, used instead of selector
tabIdNoTab to act on; uses the active tab when omitted
selectorYesCSS selector for the element to click

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed4 schema fields changedv1.2.0
    • addedInput schema / properties / ref / examples
      Added value: +[
      +  "@e12"
      +]
    • addedInput schema / properties / ref / pattern
      Added value: +"^@?e\\d+$"
    • addedInput schema / properties / selector / description
      Added value: +"CSS selector for the element to click"
    • addedInput schema / properties / tabId / description
      Added value: +"Tab to act on; uses the active tab when omitted"
  2. First observedv1.1.1

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the destructiveHint/openWorldHint annotations, the description discloses side effects: scrolls into view, dispatches a real press/release at centre, returns {clicked}, and fails loudly with 'Element not found' instead of silently mis-clicking. This is behaviorally transparent.

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?

Four short, information-dense sentences with no filler; the core action and target are front-loaded, and the distinctive behaviors follow. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite no output schema, the description reports return shape, error behavior, selection alternatives, and event semantics, giving an agent everything needed to call it correctly. tabId is left to the schema, which documents it, so no important gap remains.

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?

The schema already covers all parameters (100%), and the description adds the selector-vs-ref relationship and that refs come from session_snapshot. However, it says 'or by an @eN ref' while the schema marks selector as required, so the relationship is not fully consistent; an agent could pass only ref and fail validation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States the specific action ('Click'), the target element, and the two ways to identify it (CSS selector or @eN ref), so an agent immediately understands the operation. It also differentiates from sibling tools by emphasizing a real mouse press/release rather than synthetic event dispatch.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Gives clear context for when to use the tool: when an element needs to be clicked with real input events ('handlers that ignore synthetic events still fire') and when a ref from session_snapshot is available. It does not name alternative sibling tools or state exclusions, but the behavior description makes selection straightforward.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/t3ratech/mcp-session-bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server