Skip to main content
Glama
seleniumbase

SeleniumBase MCP

Official

click

Click an element identified by CSS selector or text, with optional scroll and timeout. Raises an exception if the element isn't found within the timeout.

Instructions

Click an element matched by a CSS selector (or by text, e.g. 'a:contains("Sign in")'). If no timeout given (0 or None), then SeleniumBase uses 7 seconds. Raises an exception if the element isn't found within the timeout.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scrollNo
timeoutNo
selectorYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It proactively explains the default timeout behavior and the exception raised when the element is not found, which is valuable. It does not mention the scroll parameter's default behavior or visibility requirements, but the core failure/success semantics are well covered.

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?

The description is two sentences, front-loads the primary purpose, and includes a concrete example. Every sentence adds useful information without repetition or filler.

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 relatively simple clicking tool, the description provides selector syntax, timeout semantics, and error behavior. The output schema exists so return values are not a gap. The only meaningful omission is the scroll parameter's behavior and any interaction with visibility.

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?

Since schema description coverage is 0%, the description must compensate. It adds real meaning to 'selector' by specifying CSS selector or text syntax, and explains the timeout parameter's default behavior. However, the 'scroll' parameter is not described at all, leaving one of three parameters undocumented.

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 clearly states the action ('click') and the resource (an element matched by CSS selector or text), including an explicit example. It is unambiguous, though it does not explicitly differentiate itself from sibling click variants such as click_visible_elements or click_nth_element.

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

Usage Guidelines2/5

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

The description explains what selectors are accepted but provides no guidance on when to use this tool versus the many sibling click-related tools. No exclusions or alternative recommendations are given, so the agent must infer the use case.

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

Install Server

Other Tools

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/seleniumbase/SeleniumBase'

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