Skip to main content
Glama

wait_for_user

Pause automation and hand the tab to the user for CAPTCHAs, logins, 2FA codes, or payments; returns after they click Done or the timeout expires.

Instructions

Hand the tab to the user and wait until they click Done. Use it for CAPTCHAs, logins, 2FA codes, payments, or anything the user should type themselves. The page shows an amber "You're in control" banner with your reason. While the user is in control, every other tool on that profile is refused; the user can also take over on their own by clicking on the page, and then you must call this to wait. Returns when they hand back or after timeoutSeconds (default 50) with stillWaiting=true: then simply call it again to keep waiting. (Most MCP apps cancel a tool call after 60 s, so keep each wait under that.)

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

Input Schema

NameRequiredDescriptionDefault
tabIdNoTab ID from tabs_list. Omit for the active tab.
reasonNoShown to the user, e.g. "Please solve the CAPTCHA, then click Done."
profileNoChrome profile: folder ("Profile 3"), nickname, or unique display name. Omit to use the current profile.
timeoutSecondsNoDefault 50. Only raise it if your MCP app allows long tool calls.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.7/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full behavioral burden and does so: an amber 'You're in control' banner displays the reason, all other tools on that profile are refused while the user is in control, the default timeout is 50s, a timeout returns stillWaiting=true requiring another call, and MCP apps typically cancel calls after 60s. Each of these points affects how an agent must call and retry the tool.

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 four sentences: what it does, when to use it, what happens while it runs, and how the wait terminates and resumes. The control flow and timeout mechanics are front-loaded, and every sentence adds information that is not repeated elsewhere.

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?

For a blocking wait tool with no annotations and no output schema, the description still explains the return condition: the user handing back control, or a timeout returning stillWaiting=true. It also gives the retry protocol and the 60s environment constraint. Nothing an agent needs in order to call it correctly is missing.

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 tabId, reason, profile, and timeoutSeconds are already documented, and the description adds little on tabId/profile. It does add operational meaning for timeoutSeconds by explaining the default of 50 and the 60s app cancellation ceiling, but the remaining parameters are simply restated rather than enriched.

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 opens with a specific verb and resource: 'Hand the tab to the user and wait until they click Done.' That names the mechanism, the actor, and the terminating condition. An agent can distinguish this from click, type, and wait_for without opening any schema.

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?

It names concrete triggers (CAPTCHAs, logins, 2FA, payments, anything the user should type) and an exclusive rule that applies when the user takes over manually: 'then you must call this to wait.' That is explicit when-to-use guidance with no ambiguity left to inference.

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