Skip to main content
Glama

safari_right_click

Right-click a Safari page element by CSS selector or X/Y coordinates to open its context menu for agent-driven menu actions.

Instructions

Right-click (context menu) an element by CSS selector or x/y coordinates

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "safari_right_click"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNoX coordinate
yNoY coordinate
whyNoOptional short purpose of this step, shown to the user in the cursor's status pill (e.g. 'to save the settings'). The page can read it: never put passwords, codes, card numbers or other private data in it.
receiptNoOmit it: Daylight has no tab receipts and refuses a call that passes one
selectorNoCSS selector

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden; it does disclose the key behavioral trait that this produces a context menu rather than a normal click. However, it says nothing about what happens after the menu opens, whether the menu must be dismissed, whether a follow-up click is needed, or what happens if both selector and coordinates are supplied. That leaves meaningful behavioral gaps for a UI-mutating action.

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?

A single short sentence, front-loaded with the verb and the effect, with no filler. Every clause earns its place by identifying the action, the outcome, and the two targeting modes.

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

Completeness3/5

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

The tool is conceptually simple and the schema is fully documented, so the description is close to sufficient for invocation. But with zero annotations and no output schema, the agent gets no information about post-click state (menu open or not), required follow-ups, or failure behavior when the selector matches nothing. Adequate but with clear gaps.

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 selector, x, y, why, and receipt are all documented in the schema itself. The description only restates the two targeting modes and adds no precedence rule for selector-vs-coordinates, nor any mention of the why or receipt parameters. Baseline 3 is appropriate given 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?

States a specific verb (right-click) and resource (an element), and adds the parenthetical '(context menu)' so the agent knows the intended effect. The two targeting modes (CSS selector or x/y coordinates) are named, which separates it from plain safari_click and safari_double_click. It stops short of explicitly naming a sibling alternative, so not quite 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 explicit statement of when to choose this over safari_click, safari_native_click, or safari_double_click, and no guidance on when to prefer selector versus coordinates. Usage is only implied by the verb itself. No exclusions or preconditions (e.g., element must be visible, menu must be dismissed afterwards) are given.

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

Deploy Server

Other Tools