Skip to main content
Glama
safari-mcp
by tszaks

safari_click_element

Clicks a specified element on the current Safari page using a CSS selector, optionally targeting a given tab or window, so an agent can trigger buttons, links, and other controls.

Instructions

Click an element in the current Safari page.

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": {
      "selector": "<selector>"
    },
    "name": "safari_click_element"
  }
}

Input Schema

NameRequiredDescriptionDefault
selectorYes
tab_indexNo
window_indexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.4/5.0
Behavior1/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 and discloses almost nothing. It does not say whether the click scrolls the element into view, whether it waits for the element, what happens on failure (missing or hidden selector), whether a navigation may follow, or whether anything is returned. For a mutation-style action with zero annotation coverage this is a serious gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with no wasted words and a clear front-loaded verb, but its brevity reflects under-specification rather than disciplined conciseness.

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?

With no annotations, no output schema, and 0% schema description coverage across three parameters, the definition leaves the agent without the information needed to invoke the tool reliably. It should at minimum cover selector syntax, tab/window targeting, and click failure behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for all three parameters and does not. The selector format (CSS, XPath, ID?) is unstated, and tab_index/window_index semantics are only indirectly hinted at by 'current Safari page'. Parameter names are somewhat self-evident, which keeps this above a 1.

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 names a specific verb (click) and a specific resource (element) scoped to the current Safari page, so the agent knows exactly what the tool does. It does not explicitly differentiate itself from siblings such as safari_type_into_element or safari_submit_form, so it falls short of a 5.

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?

There is no guidance on when to use this tool versus alternatives (e.g. type_into_element for inputs, submit_form for forms), nor any prerequisites such as the element needing to exist or be visible. The agent must infer everything from the one-line description.

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