Skip to main content
Glama

Get login message

get_login_message

Step 1 of login: returns a message for the user to sign in THEIR OWN wallet (personal_sign). Signing does not move funds or grant trading access. Then call verify_login with the nonce and the signature.

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": {
      "wallet_address": "<wallet_address>"
    },
    "name": "get_login_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
wallet_addressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and idempotentHint=false, which could read as a state-mutating operation; the description usefully counters that by explaining signing does not move funds or grant trading access, and that it uses personal_sign. That is real value beyond the structured fields. It omits message expiry, replay/nonce lifetime, and rate-limit behavior, which would complete the picture.

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?

Three short sentences, front-loaded with the step identity, then the safety clarification, then the next action. Every sentence carries information the agent needs and nothing is repeated from the schema.

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?

For a one-parameter flow-initialization tool with no output schema, the description covers purpose, safety, and the required follow-up call, and it hints that a nonce is returned. What remains missing is the shape of the returned message and its lifetime, which matters because the signature must be produced before it expires.

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 0% for the single wallet_address parameter, so the schema contributes nothing. The description partially compensates by stressing the wallet must be the user's own, but it never says what format the address takes or whether it must match the address later passed to verify_login. Adequate but with a clear gap.

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 names a specific verb and resource ('returns a message for the user to sign in'), positions it as 'Step 1 of login', and implicitly separates it from the step-2 sibling verify_login. An agent can identify this as the login-initiation tool without opening the schema.

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 states the sequencing explicitly: call this first, then call verify_login with the nonce and signature, which is exactly the routing an agent needs. It also constrains the wallet to 'THEIR OWN' wallet, ruling out arbitrary addresses. It stops short of stating any when-not-to-use condition or failure handling, so not a full 5.

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