Skip to main content
Glama

browser_type_otp

Enters an OTP code into single or multi-box input fields by distributing digits across auto-advancing boxes, returning the entered value and boxes snapshot.

Instructions

Enter an OTP/verification code into the field at ref, handling MULTI-BOX widgets (one per digit that auto-advances) by distributing the digits across the boxes via the React-tracked setter — instead of typing the whole code into box 1 (which lands the digits in the wrong boxes). Works on a single field too. Returns {boxes, value} (read it back) + a snapshot. After this, still SUBMIT (Enter / a Verify button).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refYes
codeYes
session_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, so description carries full burden. It details the distribution of digits across boxes using a React-tracked setter, returns a snapshot, and clarifies that submission is separate. This is transparent about the tool's effect on the page.

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?

Description is well-structured and front-loaded with the core purpose. It uses backticks for clarity and provides necessary detail without unnecessary fluff. Every sentence adds value.

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

Completeness4/5

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

Given the complexity of handling multi-box OTP widgets, the description covers the key aspects: behavior, return value, and follow-up action. It does not explain what 'ref' refers to (selector type) or error handling, but it is sufficient for an experienced user.

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?

Description explains 'ref' (the field) and 'code' (the OTP) but does not mention the optional 'session_id' parameter. With 0% schema documentation coverage, the description partially compensates for the required parameters but leaves the optional one undocumented.

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?

Description clearly states the tool's purpose: entering an OTP/verification code, specifically handling multi-box widgets where each digit goes into a separate input. It distinguishes from siblings like 'browser_type' by specifying the multi-box behavior and return value.

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?

Description explains when to use (for OTP fields, especially multi-box) and mentions that after entering the code, one still needs to submit (Enter/Verify button). However, it does not explicitly state when not to use it or provide alternative tools like 'browser_type' for single-input fields.

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

Install Server

Other Tools

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/Evil-Bane/eyebrowse'

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