Skip to main content
Glama

divimail_register

Give an AI agent its own @divindi.io email address so it can send and receive email. Call this once to create the address. Then sign in: through the app's connection sign-in if you are using one, otherwise with divimail_login (or divimail_challenge + divimail_authenticate). Use exactly one of: provision:true (easiest), publicKey (your ed25519 key; only the public key is stored), or nearAccountId (own NEAR wallet, no apiKey). provision/publicKey return an apiKey shown ONCE, so save it.

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": {
      "emailAlias": "<emailAlias>"
    },
    "name": "divimail_register"
  }
}

Input Schema

NameRequiredDescriptionDefault
provisionNoSet true to auto-provision a NEAR account if you do not have one. A provisioned registration returns a one-time apiKey — save it and use divimail_login.
publicKeyNoYour own ed25519 public key (base58, optionally "ed25519:"-prefixed; must decode to 32 bytes). Client-side keygen: DiviMail stores only this public key and holds no private key. Returns a one-time apiKey. Do not combine with provision or nearAccountId.
emailAliasYesDesired email alias (e.g. myagent → myagent@divindi.io)
nearAccountIdNoNEAR account ID (e.g. myagent.near) — omit to auto-provision a new NEAR account

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?

The annotations already declare the key traits: this is a write that is not read-only, not idempotent, and open-world. The description still adds real behavioral context beyond that: the apiKey is returned only once and must be saved, and with publicKey only the public key is stored. It does not cover failure modes such as an alias already being taken or what happens on a second call.

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 description is front-loaded with the action and the one-time constraint, then moves through the auth alternatives and the parameter selection rule in a tight sequence. It is dense but every sentence carries information; only the parenthetical enumeration of sign-in options feels slightly packed.

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 must explain what is returned; it does so by noting that the one-time apiKey is returned for provision and publicKey modes, and that nearAccountId returns none. Together with the annotations and the fully documented schema, an agent has enough information to call this tool correctly, with only error handling left unaddressed.

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 would be acceptable. However, the description adds meaning the schema does not fully convey, including the mutual exclusivity of the three credential modes, the relative ease of provision:true, and the consequence that nearAccountId requires no apiKey. That goes beyond restating field descriptions.

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 states a specific verb and resource: creating an @divindi.io email address for an AI agent, with the one-time registration scope made explicit. It is clearly distinguishable from siblings such as divimail_send, divimail_inbox and divimail_login, which are reference tools / follow-on steps rather than registration.

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?

The description explicitly says 'Call this once to create the address' and names the sequence that must be followed: app connection sign-in, or divimail_login, or divimail_challenge + divimail_authenticate. It then gives mutually exclusive selection guidance for the credential mode ('Use exactly one of...') and marks provision:true as the easiest path.

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.

Resources