Skip to main content
Glama

browser_wait_for_human

Brings the target tab into focus and waits for a human to complete CAPTCHA, Cloudflare Turnstile, or SSO login, then returns automatically when the page clears.

Instructions

Bring the tab to focus and wait for the human user to complete a Cloudflare Turnstile / CAPTCHA / institutional SSO login in their local browser, returning automatically once cleared.

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": "browser_wait_for_human"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoShort explanation shown in logs of what the user needs to complete.
tab_idNoTarget tab id.
selectorNoOptional CSS selector that must appear after human action.
timeout_msNoWait timeout in ms (default: 120000).
url_containsNoOptional substring the final URL must contain after human action.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior3/5

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

There are no annotations, so the description carries the whole burden. It discloses useful behavior beyond the name: the tab is brought to focus, it blocks until the human acts, and it returns automatically once cleared. It is silent on the important failure path — what happens when timeout_ms elapses without human action (error, partial return, or tab state) — which an agent needs to plan around.

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?

One sentence, front-loaded with the action and the blocking condition, with no filler. Every clause ('bring to focus', the challenge types, 'returning automatically') contributes distinct information.

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

Completeness3/5

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

For a five-parameter blocking tool with no annotations and no output schema, the definition covers what the tool does and when it applies but omits the timeout/failure outcome and what state the browser is left in. That single omission is the main gap an agent would care about before calling it.

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 description coverage is 100%, so reason, tab_id, selector, timeout_ms and url_contains are all already documented. 'Returning automatically once cleared' loosely frames selector and url_contains as success conditions, but adds no syntax, defaults, or interaction details beyond the schema; the baseline 3 applies.

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 states a concrete verb and resource ('Bring the tab to focus and wait for the human user to complete a ... login') plus the scope of what it waits on (Cloudflare Turnstile / CAPTCHA / institutional SSO) and the exit condition. That is enough to distinguish it from every sibling, which are all automated browser actions rather than human-in-the-loop waits.

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

Usage Guidelines4/5

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

It names the triggering situations clearly: a Turnstile/CAPTCHA challenge or an institutional SSO login that the agent cannot complete itself. It does not state a negative case (e.g. don't use for ordinary navigation delays) or name an alternative, so it falls short of full when/when-not guidance.

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