Skip to main content
Glama
axivo

Safari MCP Server

by axivo

wait

Read-onlyIdempotent

Pause execution until a CSS selector appears, disappears, or specific text is found on the page.

Instructions

Wait for a selector to appear, disappear, or text to appear

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
selectorNoCSS selector to wait for
selectorGoneNoCSS selector to wait for absence of
textNoPage text to wait for (substring match in body innerText)
timeoutMsNoTimeout in milliseconds; defaults to the configured page-load timeout

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
matchedYesWhether the condition was met before timeout
elapsedMsYesHow long the wait took, in milliseconds
Behavior4/5

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

Annotations already mark the tool as read-only and idempotent. The description adds behavioral context by specifying wait conditions (appearance, disappearance, text). It does not contradict annotations and provides moderate additional insight, though it omits details like polling behavior or timeout defaults.

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 sentence with no extraneous information. It packs the core functionality efficiently, making it easy to parse.

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

Completeness4/5

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

Given the tool's simplicity, the description covers the main wait conditions. An output schema exists (though not shown), so return value explanation is not needed. However, the timeoutMs parameter behavior is not mentioned, leaving a minor gap.

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?

The input schema already provides full descriptions for all four parameters (100% coverage). The description adds value by linking parameters to their behavioral roles (e.g., 'selector' for appearance), but this is incremental beyond schema descriptions. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Wait') and the conditions (appear, disappear, text appear) with specific resources (selector, text). It distinguishes the tool from sibling tools that perform other actions like clicking or navigating.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for waiting on elements or text but provides no explicit guidance on when to use this tool versus alternatives, nor when not to use it. No exclusion criteria or alternative tool references are given.

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

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