Skip to main content
Glama
safari-mcp
by tszaks

safari_wait_for_navigation

Wait for the current Safari page to navigate and finish loading before continuing, so agents can act on updated page content.

Instructions

Wait for the current Safari page to navigate and finish loading.

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

Input Schema

NameRequiredDescriptionDefault
tab_indexNo
timeout_msNo
interval_msNo
window_indexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.7/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 burden and does not meet it. It does not say what happens when the timeout elapses (error vs. silent return), whether a return value indicates success, whether waiting is polling-based, or that it acts on a specific tab/window. 'Finish loading' is the only real behavioral statement.

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?

A single tight sentence with the core verb and scope front-loaded and no filler. It is efficient rather than padded, though the brevity is achieved by omitting needed detail rather than by careful editing.

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?

For a tool with four optional parameters, no annotations, and no output schema, the definition is thin. Nothing explains target-tab selection or timeout/interval behavior, so an agent cannot call it correctly without reverse-engineering the bare JSON schema.

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% across four parameters, so the description must compensate and does not. tab_index, window_index, timeout_ms, and interval_ms are entirely unexplained — the 100–60000 ms timeout bound and the 50–5000 ms polling interval are meaningful knobs an agent needs to reason about, and none are mentioned.

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 gives a specific verb and resource: wait for the current Safari page's navigation and subsequent load completion. That distinguishes it from the sibling wait tools (safari_wait_for_element, safari_wait_for_text) whose wait condition is an element or text rather than navigation, although the description itself never draws that contrast explicitly.

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?

No when-to-use guidance is offered beyond the implicit 'after something triggers navigation'. It never states the prerequisites (that a navigation must already be in flight), never says when not to use it, and never points to safari_wait_for_element or safari_wait_for_text for waiting on post-load content.

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