Skip to main content
Glama
stevenayl

MCP Safari Server

click_element

Automate web interactions by clicking specific elements using CSS selectors. Ideal for testing, debugging, and browser automation tasks in Safari on macOS.

Instructions

Click on an element in the page using CSS selector

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
selectorYesCSS selector for the element to click
waitForNavigationNoWait for page navigation after click
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It states the action but lacks details on error handling (e.g., if selector fails), side effects (e.g., page changes), performance (e.g., timeouts), or response format. The mention of 'CSS selector' is basic and doesn't cover behavioral traits adequately.

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 a single, efficient sentence with zero waste. It front-loads the core action and method, making it easy to scan and understand quickly.

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

Completeness2/5

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

Given no annotations, no output schema, and a mutation tool (clicking implies interaction that may change state), the description is incomplete. It doesn't explain what happens after the click, error cases, or dependencies, leaving significant gaps for an AI agent to use it correctly.

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 the schema already documents both parameters fully. The description adds no additional meaning beyond implying the use of a CSS selector, which is covered in the schema. Baseline 3 is appropriate as the schema does the heavy lifting.

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 on an element') and the resource ('in the page'), specifying the method ('using CSS selector'). It distinguishes from siblings like 'type_text' or 'select_option' by focusing on clicking, but doesn't explicitly differentiate from all siblings like 'wait_for_element' which also uses selectors.

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?

No guidance is provided on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing an element to be visible), exclusions (e.g., not for non-interactive elements), or comparisons with siblings like 'execute_script' for complex interactions.

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/stevenayl/mcp-safari-server'

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