Skip to main content
Glama

request_registration_otp

Idempotent

Request a 6-digit email OTP to start registering a new PushNotif account. Use before signup; not for existing accounts.

Instructions

Send a 6-digit email verification OTP to start registering a new PushNotif account. Use this tool first when a user wants to create a new account from chat; do not use it for existing accounts (use login_existing_account instead). Public endpoint requiring no API key; checks for duplicate emails, rate-limited to 5 requests per 10 minutes per IP, and sends an OTP valid for 10 minutes before calling register_new_account. Returns JSON { ok, status, email, message }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoOptional user or workspace display name (2 to 80 characters)
emailYesValid email address to register (e.g., user@domain.com); must not already be registered

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.1.2
    • changedInput schema / properties / email / description
      Previous value: -"Alamat email pengguna yang akan didaftarkan"New value: +"Valid email address to register (e.g., user@domain.com); must not already be registered"
    • changedInput schema / properties / name / description
      Previous value: -"Nama pengguna atau nama perusahaan/workspace"New value: +"Optional user or workspace display name (2 to 80 characters)"
  2. First observedv2.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=true) by disclosing auth requirements (public endpoint, no API key), rate limits (5 per 10 minutes per IP), duplicate-email checking, OTP lifetime (10 minutes), and the response shape. These are exactly the operational facts the annotations cannot express.

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?

Purpose is front-loaded in the first clause, followed by usage routing, then operational constraints, then the return shape. Every sentence carries distinct information; none repeats the name or schema verbatim.

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?

With no output schema, the description supplies the return object ({ ok, status, email, message }), and it covers preconditions, rate limits, and next-step tooling. An agent has everything needed to call this correctly on the first attempt.

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 description coverage is 100%, so the baseline is 3, but the description adds meaning about the email parameter: it is checked for duplicates and is the address the OTP is sent to. The optional name parameter is not elaborated beyond the schema, keeping this just short of the top score.

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+resource+effect: sending a 6-digit email verification OTP to start a PushNotif registration. It explicitly names the sibling it must not be confused with (login_existing_account), so an agent can disambiguate it without opening either 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?

Gives explicit when ('use this tool first when a user wants to create a new account from chat'), when-not ('do not use it for existing accounts'), the named alternative, and the downstream sequencing ('before calling register_new_account'). Nothing is left to inference.

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