Skip to main content
Glama

Stop and ask the person to do this part

browser_ask_user

Hands control to the user for CAPTCHA, sign-in, payment, form-field, or consent steps, then resumes automatically when the page shows they are done.

Instructions

Hand control to the user for a step that is not yours to do, then carry on when they have done it.

Use it the moment you recognise one, rather than after failing:

  • a CAPTCHA or "I am not a robot" challenge — but try it yourself first; escalate after two failed attempts

  • a sign-in, including SSO and two-factor — only once browser_credentials_list shows nothing stored for the site

  • card or payment details — never type a card number yourself

  • a form field whose correct value is not knowable from the page — a plausible guess in a real form is worse than a question

  • a cookie banner, terms acceptance or permission prompt

This brings your tab to the front, sends the user a message on their phone with a screenshot of the page — and, on the company server, a one-time link that shows them just your tab — and then waits. It returns as soon as the page shows they are done or they press "done" on the phone — they do not have to come back and tell you. If the message cannot be sent — or, on the company server, hq cannot make the phone link — it fails at once and says why; then fix that or tell the user yourself, in your reply, what is needed. Give untilTextGone or untilTextAppears when you can name what will change, and it will notice within a second or two instead of waiting for a URL change.

If this call is interrupted (a message arrived while it waited) after a phone link went out, the request is NOT cancelled: the link stays live, and when the user finishes, declines or it expires you get a message saying so. Do not call it again for the same step; answer the message and wait for that one. If no link went out, take a snapshot and ask again if it is still needed.

Say what you need in plain language, as if to someone who cannot see your reasoning.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "need": "<need>",
      "what": "<what>"
    },
    "name": "browser_ask_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
whyNoWhy you cannot do it yourself, in one line, in Hebrew like `what`. Skip it when it is obvious.
needYesWhat kind of step this is.
whatYesWhat the user should do, concretely. It reaches them exactly as written, so write it in Hebrew — they do not read English. e.g. "לסמן את התיבה של reCAPTCHA בתחתית הטופס" or "להיכנס עם חשבון הגוגל של Cloudflare".
untilTextGoneNoText on the page now that will be gone once they are done, e.g. the challenge prompt.
timeoutSecondsNoHow long to wait. Default 180, maximum 900. On timeout this returns without failing, so you can report where things stand and ask again.
untilTextAppearsNoText that will appear once they are done, e.g. a heading on the page behind the login.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.8/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden and does: it describes foregrounding the tab, the phone message with screenshot, the one-time company-server link, the wait-and-auto-return semantics, immediate failure with a reason when messaging is impossible, and the interrupted-call rule where a live link keeps the request alive and must not be re-issued.

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?

Front-loaded with the purpose, then a scannable bullet list of triggers, then a paragraph on mechanics and failure modes. It is long, but nearly every sentence carries decision-relevant information; the closing line about plain language is the only part that could be trimmed.

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 six-parameter, asynchronous, user-blocking tool with no output schema, the description covers invocation triggers, what the user experiences, how the call returns, failure paths, and interruption recovery. The only detail left to the schema is the timeout value, which the schema documents explicitly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline is 3; the description goes beyond it by advising when to supply untilTextGone/untilTextAppears ('when you can name what will change') and by explaining that this notices within a second or two instead of waiting for a URL change. That is real added meaning for the two optional params, though why/need/what are left entirely to the schema.

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?

Opens with a concrete verb+resource framing: 'Hand control to the user for a step that is not yours to do, then carry on when they have done it.' The enumerated cases (CAPTCHA, sign-in, payment, unknowable form field, consent) make the boundary against siblings like browser_credentials_fill explicit rather than inferable.

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?

Gives ordered when-to-use rules with alternatives and exclusions: try the CAPTCHA yourself first and escalate only after two failures, ask for login only once browser_credentials_list shows nothing stored, never type a card number. It also names a sibling by behavior, which is exactly the routing an agent needs.

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