Skip to main content
Glama

Unseen Workflow Compiler

Request Agent & Human Login OTP (Email + OTP)

auth_request_otp

Step 1 of Agent & Human Login (Email + OTP): Sends a 6-digit Login OTP (UNSEEN_LOGIN_OTP) to the user's email address. This is a passwordless Login OTP (NOT a password reset). Once called, the agent can either read the 6-digit UNSEEN_LOGIN_OTP directly from the user's email (when the user has granted email access) or ask the user in chat for the 6-digit code, then call auth_verify_otp.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYesThe user's email address to receive the 6-digit Login OTP.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations declare it is not read-only, not destructive, not idempotent, and closed-world, so the safety profile is already structured. The description adds real value beyond that: it sends an actual email as a side effect, the code is a 6-digit login OTP (not a reset token), and the code is discoverable via the inbox rather than returned. It does not mention expiry, resend behavior, or rate limits, which for a non-idempotent email-sending tool would be useful.

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?

The workflow step and action are front-loaded, and the sentence about reading or asking for the code is genuinely useful. It is slightly repetitive, restating '6-digit Login OTP' four times and restating 'Agent & Human Login (Email + OTP)' from the title, which costs a little density.

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?

With no output schema, the description correctly implies the OTP is delivered by email rather than returned, which is the key thing an agent needs to know. Nothing about OTP lifetime, resend-per-call behavior, or failure modes (bad email, delivery failure) is covered, which leaves some gaps for a non-idempotent side-effecting tool.

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 100% for the single email parameter, so the schema already carries the definition. The description still adds meaning by clarifying that the email is the destination that receives the login OTP and that the agent may later read the code from that same inbox, tying the parameter to the downstream flow.

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?

States a specific verb and resource: sends a 6-digit Login OTP to the user's email, and explicitly labels it as step 1 of the Agent & Human Login flow. It preempts the most likely confusion by stating it is NOT a password reset, which clearly separates it from sibling auth tools.

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 explicit sequencing (step 1, followed by auth_verify_otp) and names the two supported paths for obtaining the code: read it from the user's email when email access is granted, or ask the user in chat. The only mild gap is not stating what to do if an OTP was already requested, but the workflow ordering is unambiguous.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.