Skip to main content
Glama

MCP-Midscene

by MauroCor

midscene_aiWaitFor

Monitors a web page condition described in natural language until it becomes true, using AI to poll and verify the specified assertion within a defined timeout.

Instructions

Waits until a specified condition, described in natural language, becomes true on the page. Polls the condition using AI.

Input Schema

NameRequiredDescriptionDefault
assertionYesCondition to monitor on the page, described in natural language.
checkIntervalMsNoHow often to check the condition (ms). Default: 3000
timeoutMsNoMaximum time to wait (ms). Default: 15000

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "assertion": { "description": "Condition to monitor on the page, described in natural language.", "type": "string" }, "checkIntervalMs": { "default": 3000, "description": "How often to check the condition (ms).\nDefault: 3000", "type": "number" }, "timeoutMs": { "default": 15000, "description": "Maximum time to wait (ms).\nDefault: 15000", "type": "number" } }, "required": [ "assertion" ], "type": "object" }

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/MauroCor/mcp-midscene'

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