Skip to main content
Glama

Log In

ethora-user-login
Idempotent

Authenticate an existing Ethora user with email and password, store the session token for this MCP session, and unlock user-auth tools such as app, file, and wallet operations.

Instructions

Authenticate as an existing Ethora user with email + password. Stores the user session token in this MCP session and unlocks user-auth tools (ethora-app-list, ethora-files-*, ethora-wallet-*). Auth: user-auth mode (ethora-auth-mode-set first) and a configured appJwt. Errors: 401/403 bad credentials; 404 email not registered; 429 per-IP rate limit — retry with backoff.

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>"
    },
    "name": "ethora-user-login"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYesUser's registered email address (RFC 5322). Must match an account created via `ethora-user-register`.
passwordYesPlain-text password the user set during registration. Sent over TLS to the Ethora API; never echoed back or logged.
apiKeyNameNoLabel for the API key when `createApiKey` is true (e.g. `claude-code-laptop`).
createApiKeyNoWhen true, also mint a long-lived API key for this user and return it once, so headless clients / agents can reconnect with `Authorization: Bearer <key>` instead of logging in again. Default false.
apiKeyTtlDaysNoLifetime of the API key in days when `createApiKey` is true. Server default applies when omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv26.9.3
    • addedInput schema / properties / apiKeyName
      Added value: +{
      +  "description": "Label for the API key when `createApiKey` is true (e.g. `claude-code-laptop`).",
      +  "type": "string"
      +}
    • addedInput schema / properties / apiKeyTtlDays
      Added value: +{
      +  "description": "Lifetime of the API key in days when `createApiKey` is true. Server default applies when omitted.",
      +  "maximum": 365,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / createApiKey
      Added value: +{
      +  "description": "When true, also mint a long-lived API key for this user and return it once, so headless clients / agents can reconnect with `Authorization: Bearer <key>` instead of logging in again. Default false.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / email / description
      Previous value: -"email for login"New value: +"User's registered email address (RFC 5322). Must match an account created via `ethora-user-register`."
    • changedInput schema / properties / password / description
      Previous value: -"password for login"New value: +"Plain-text password the user set during registration. Sent over TLS to the Ethora API; never echoed back or logged."
  2. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations, the description discloses session-token storage, tool unlocking, API-key minting behavior, and error conditions. It does not contradict annotations, but it leaves the idempotency implication of createApiKey somewhat ambiguous despite idempotentHint=true.

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?

The description is dense but well-structured: the core action and side effect are front-loaded, followed by prerequisites and error semantics. Every sentence earns its place with no filler or repetition.

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?

There is no output schema, so the description carries some burden for return-value behavior; it states the session token is stored and an API key may be returned once, but not the response shape. Prerequisites, errors, and side effects are otherwise sufficiently covered for a login tool.

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?

Schema description coverage is 100%, so the schema already documents all five parameters. The description adds narrative context around email/password authentication and API-key minting, but does not materially enrich parameter meaning beyond 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?

The description clearly states the action: authenticate an existing Ethora user with email and password. It also names the session-token side effect and the unlocked user-auth tool families, distinguishing it from sibling tools like ethora-user-register and ethora-api-key-create.

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?

It gives explicit prerequisites: user-auth mode must be set via ethora-auth-mode-set first, and appJwt must be configured. It also documents error codes and the rate-limit retry guidance. It does not explicitly contrast with alternate authentication or API-key creation flows, but the context is clear.

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