Skip to main content
Glama

safari_wait_for

Wait for a specific element or text to appear on a Safari page before continuing automation. Prevents race conditions in browser workflows.

Instructions

Wait for an element or text to appear on the page

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoText to wait for
receiptNoTab receipt from safari_new_tab — pins this call to that tab (survives reconnects/subagents)
timeoutNoTimeout in ms (default: 10000)
selectorNoCSS selector to wait for

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changedv2.18.1
    • addedInput schema / properties / receipt
      Added value: +{
      +  "description": "Tab receipt from safari_new_tab — pins this call to that tab (survives reconnects/subagents)",
      +  "type": "string"
      +}
  2. Addedv2.11.6
  3. Removedv2.11.3
  4. Addedv2.10.9
  5. Removedv2.10.8
  6. Addedv2.10.5
  7. Removedv2.10.4
  8. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, but it stops at the core behavior. It does not disclose what happens on timeout (throw vs. return), whether presence in the DOM suffices or visibility is required, or what the tool returns on success/failure — all material for a wait operation.

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

Conciseness4/5

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

One front-loaded sentence with zero filler. It is appropriately economical for this operation, though so terse that it forgoes the behavioral context covered under other dimensions.

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 output schema and no annotations, the description must explain outcomes but does not: the agent cannot know what a successful wait returns, what timeout failure looks like, or which parameters are acceptable alone. For a tool with 4 documented parameters, this one-liner is under-specified.

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%, so the baseline is 3; the schema already documents text, receipt, timeout, and selector. The description adds only mild connective meaning ('element or text to appear') and does not clarify whether selector and text are mutually exclusive or combinable.

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 uses a specific verb and resource ('Wait for ... to appear on the page') and names both wait modes (element via selector, text). It is clear on its face, though it does not explicitly differentiate itself from the similarly named sibling safari_wait or safari_wait_for_new_tab, so it misses the top score.

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 when-to-use guidance, no exclusions, and no mention of alternatives. With a sibling literally named safari_wait, the agent gets no help deciding which waiting tool fits the task.

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/achiya-automation/safari-mcp'

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