Skip to main content
Glama

Prepare signup message

prepare_signup_message

Step 1 of signup: asks the Milo server to generate the SIWX message that the Solana wallet must sign to prove ownership. Returns the message text and all siwx data fields. The wallet owner must sign the message bytes (UTF-8 encoded) using their ed25519 private key and base58-encode the signature. Then call signup with the result.

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": {
      "walletAddress": "<walletAddress>"
    },
    "name": "prepare_signup_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainIdNoChain ID (default: solana mainnet "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp")
inviteCodeNoOptional invite code
walletAddressYesThe Solana wallet address to register

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 description adds real behavior beyond the annotations (readOnlyHint=false, destructiveHint=false) — it discloses that the server generates the message, that signing must be done over UTF-8 encoded `message` bytes with an ed25519 key, and that the signature must be base58-encoded. It does not cover message TTL/expiry or whether inviteCode must be reused at the `signup` step, which are the remaining behavioral unknowns.

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?

Four short sentences, front-loaded with the step identity and purpose, then the return shape, then the signing procedure, then the next call. No sentence is redundant with the name or title.

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?

There is no output schema, but the description compensates by stating what comes back (message text plus all siwx data fields) and what the caller must do with it before the follow-up call. For a three-parameter preparation step, nothing needed to invoke it correctly is missing.

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%, with chainId, inviteCode, and walletAddress all documented in the schema, so the baseline is 3. The description adds no parameter-level meaning beyond that — it never explains how inviteCode relates to the later `signup` call or when to override chainId.

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: generate the SIWX message the Solana wallet must sign to prove ownership, and frames it as 'Step 1 of signup'. This explicitly positions it relative to the `signup` sibling, so an agent can tell the two apart 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 an explicit ordered workflow: call this first to obtain the message, then sign the message bytes and base58-encode, then call `signup` with the result. The alternative and the condition that selects it are both named rather than inferred.

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.