Skip to main content
Glama

Sign Up with Email

horizon_signup_email

Creates a new player account from email, password, and display name, then sends a verification email. Use it to register and recover accounts on other devices; it does not sign in.

Instructions

Creates a new player account with email, password and display name; the account starts unverified and without a session. Use when: a new player explicitly registers with email so the account can be recovered on other devices. Not for: existing accounts (use horizon_signin_email) and guest play without email (use horizon_signup_anonymous). Side effects: creates one player account and sends the verification email. It does not sign in. Returns: 201 with userId, isVerified: false and authStatus: USER_NOT_VERIFIED. No tokens are issued even with includeRefreshToken=true until the email is verified. Use horizon_verify_email, then horizon_signin_email. Errors: 409 when the email already belongs to an account: sign in with horizon_signin_email instead. 400 for an invalid email, a password outside 8 to 128 characters or a common password, or a bad name: fix the value and retry. Needs HORIZON_API_KEY. Every failure returns an error result (isError) with the HTTP status and body: a 401 that horizon_test_connection also returns means HORIZON_API_KEY is wrong, 429 means the account's per-minute rate limit was reached (wait a minute, then retry).

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": {
      "email": "<email>",
      "password": "<password>",
      "displayName": "<displayName>"
    },
    "name": "horizon_signup_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYesPlayer email address (valid format, max 40 characters); must not be registered yet
passwordYesPassword, 8 to 128 characters; common passwords such as "password1" are rejected. Sent to the API only, never returned
displayNameYesDisplay name shown on leaderboards (max 30 characters)
includeRefreshTokenNoExplicit opt-in to a rotating 30-day refresh session; omitted or false preserves access-only behavior. Store refresh tokens in platform secure storage

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.11.1
    • addedInput schema / properties / includeRefreshToken
      Added value: +{
      +  "description": "Explicit opt-in to a rotating 30-day refresh session; omitted or false preserves access-only behavior. Store refresh tokens in platform secure storage",
      +  "type": "boolean"
      +}
  2. Changed5 schema fields changedv1.6.0
    • changedInput schema / properties / displayName / description
      Previous value: -"Display name (max 30 characters)"New value: +"Display name shown on leaderboards (max 30 characters)"
    • changedInput schema / properties / email / description
      Previous value: -"Email address (max 40 characters)"New value: +"Player email address (valid format, max 40 characters); must not be registered yet"
    • changedInput schema / properties / password / description
      Previous value: -"Password (4-32 characters)"New value: +"Password, 8 to 128 characters; common passwords such as \"password1\" are rejected. Sent to the API only, never returned"
    • changedInput schema / properties / password / maxLength
      Previous value: -32New value: +128
    • changedInput schema / properties / password / minLength
      Previous value: -4New value: +8
  3. First observedv1.5.4

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare the generic mutation profile (readOnly=false, idempotent=false, openWorld=true), so the description carries real weight and does: it discloses the side effects (one account created, verification email sent, no sign-in), the exact success payload, and the important caveat that includeRefreshToken still yields no tokens until verification. It also covers auth requirements (HORIZON_API_KEY), 409/400 failure semantics, and per-minute rate limiting on 429.

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?

Long but tightly organized into labeled segments (Use when / Not for / Side effects / Returns / Errors) with the definition sentence front-loaded. Every sentence carries operational information - outcome, error routing, or follow-up tool - with no filler or repetition.

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?

No output schema exists, and the description compensates by specifying the 201 payload fields and auth status, plus the error surface and recovery actions. For a multi-step signup flow with verification gating, an agent has everything needed to call it and handle the result.

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%, so a baseline of 3 applies and the schema already documents email format, password length/common-password rejection, name length, and refresh-token storage. The description goes beyond that by explaining the behavioral consequence of includeRefreshToken (no tokens until the email is verified) and by tying 400 errors to specific field constraints.

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 ('Creates a new player account') plus the key scope qualifier that the account starts unverified and without a session. It explicitly separates this from horizon_signin_email and horizon_signup_anonymous, so an agent can pick it without opening the schemas.

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?

'Use when: a new player explicitly registers with email' gives the positive trigger, and the 'Not for' line names the two alternative tools (horizon_signin_email for existing accounts, horizon_signup_anonymous for guest play) with the condition that selects each. It even chains the follow-on flow (horizon_verify_email, then horizon_signin_email).

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

Deploy Server

Other Tools