Skip to main content
Glama

wavexis_wait

Read-onlyIdempotent

Wait for a page condition (load, selector, URL, or network idle) before taking next steps. Blocks until the condition is met or timeout, enabling reliable automation after navigation or for dynamic content.

Instructions

Block until a page condition (load, selector, URL, network idle) is met.

Use after wavexis_navigate when the wait strategy was 'none', or to wait for dynamic content; use wavexis_stop to cancel a load instead.

Side effects: None — read-only polling with no page mutations; blocks the tool call up to the configured timeout. Returns: JSON string with keys: 'status' ('ok'/'error'), 'elapsed_ms' (int).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

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

  1. Changed6 schema fields changedv1.6.24
    • addedInput schema / $defs / WaitInput / properties / selector / description
      Added value: +"CSS selector to target an element"
    • addedInput schema / $defs / WaitInput / properties / session_id / description
      Added value: +"Active session ID from wavexis_session_open"
    • changedInput schema / $defs / WaitInput / properties / strategy / description
      Previous value: -"load, domcontentloaded, networkidle, selector, url"New value: +"load, domcontentloaded, networkidle, selector, url, none"
    • addedInput schema / $defs / WaitInput / properties / strategy / enum
      Added value: +[
      +  "load",
      +  "domcontentloaded",
      +  "networkidle",
      +  "selector",
      +  "url",
      +  "none"
      +]
    • addedInput schema / $defs / WaitInput / properties / timeout / description
      Added value: +"Operation timeout in ms"
    • addedInput schema / $defs / WaitInput / properties / url_pattern / description
      Added value: +"URL pattern to wait for (used when strategy='url')"
  2. First observedv1.0.1

TDQS

A4.7/5.0
Behavior5/5

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

Description discloses side effects: 'None — read-only polling with no page mutations; blocks the tool call up to the configured timeout.' This adds context beyond annotations (readOnlyHint, idempotentHint) by detailing the blocking behavior and polling nature. No contradiction with annotations.

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 concise and well-structured: a single sentence for purpose, followed by usage notes, side effects, and return format. Every sentence adds value and is front-loaded with the core action.

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

Completeness5/5

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

Given the tool's complexity (one required parameter, five optional with enums) and the presence of thorough schema descriptions, the description covers all necessary aspects: purpose, when to use, side effects, and return format. It is sufficient for an AI agent to understand and invoke the tool correctly.

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 description does not elaborate on individual parameters; however, the input schema already provides detailed descriptions for each parameter (timeout, selector, strategy, url_pattern). Since schema coverage of descriptions is high, the description adds minimal value beyond restating the purpose and return format. 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 verb 'block until' and the resource 'a page condition', listing specific conditions (load, selector, URL, network idle). It distinguishes itself from sibling tools like wavexis_navigate and wavexis_stop by providing context on when to use each.

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

Usage Guidelines5/5

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

Explicitly states when to use: 'after wavexis_navigate when the wait strategy was none' or 'for dynamic content'. Also provides an alternative: 'use wavexis_stop to cancel a load instead'. This gives clear guidance on usage versus alternatives.

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

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/MathiasPaulenko/wavexis-mcp'

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