Skip to main content
Glama

safari_click_and_read

Clicks a page element and returns the updated page in one step, saving a round-trip versus separate click and read actions; handles React Router navigation and full page loads.

Instructions

Click an element then return the updated page — saves 1 full round-trip vs separate click+read_page. Handles both React Router navigation and full page loads.

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_click_and_read"
  }
}

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.
textNoVisible text of the element to click
waitNoMs to wait after click (default: auto-detect navigation)
receiptNoOmit it: Daylight has no tab receipts and refuses a call that passes one
selectorNoCSS selector
maxLengthNoMax chars to return (default: 50000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations at all, the description carries the full disclosure burden. It does add real behavioral context — the round-trip saving and that React Router navigation and full page loads are both handled — but says nothing about failure modes (element not found, ambiguous text match) or how truncation interacts with the returned page.

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?

Two short sentences, zero filler, with the differentiating benefit (saved round-trip) and the navigation coverage both front-loaded. Nothing could be cut without losing information.

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?

For an 8-parameter tool with no annotations and no output schema, the definition covers the what and the why but not the edge behavior an agent needs: element-resolution precedence, what the returned page excludes, and what is returned on failure. Adequate to invoke, thin for predicting results.

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 coverage is 100% across all 8 parameters, so each field is already documented in place, and the description adds no syntax or selection guidance. The notable omission is that the schema never says whether selector, text, and x/y are alternatives or combined, and the description doesn't clarify this either.

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?

Names a concrete action (click an element) plus the added outcome (return the updated page), and contrasts it with the 'separate click+read_page' pattern, so an agent can place it relative to the simpler click tools. It stops short of naming the closer sibling safari_click_and_wait, so the boundary with wait-then-click workflows is left to inference.

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 a clear when-to-use signal: prefer this over two calls when you need the page state after a click. It does not state the converse case (use plain safari_click when you don't need the resulting content) or when safari_click_and_wait is the better pick, so exclusion guidance is partial.

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