Skip to main content
Glama

Verify login

verify_login

Step 2 of login: give the nonce from get_login_message and the 0x signature. Returns a session token (valid 1 h) bound to that wallet, to pass to portfolio. The token only reads; it cannot move funds.

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": {
      "nonce": "<nonce>",
      "signature": "<signature>"
    },
    "name": "verify_login"
  }
}

Input Schema

NameRequiredDescriptionDefault
nonceYes
signatureYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Goes well beyond the annotations: it discloses the return artifact (session token), its 1-hour lifetime, its wallet binding, and its authority scope ('only reads; it cannot move funds'), which usefully reconciles the non-read-only annotation with the fact that no funds are at risk. The remaining gap is failure behavior — what happens with an invalid or expired nonce/signature — and the fact that each call mints a fresh token, relevant given idempotentHint=false.

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 and inputs, then the return value, then the safety scope. No redundant restatement of the tool name or schema fields.

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, and the description compensates by describing the returned token, its validity window, and its binding. Combined with the stated prerequisite and downstream usage, an agent has everything needed to invoke it correctly in sequence.

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 0%, so the description carries the load, and it does add real meaning: the nonce must come from get_login_message and the signature is a 0x-prefixed value. It still does not state format details such as nonce length, expiry, or what the signature must be computed over, so an agent may need to infer signing details.

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 action (verify a login signature), its position in a flow ('Step 2 of login'), its inputs, and its output (a session token bound to a wallet). It is clearly distinct from the sibling get_login_message, which produces the nonce this tool consumes.

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?

Explicitly frames this as step 2 and names the prerequisite source of the nonce (get_login_message), plus the downstream consumer (portfolio). An agent knows both when to call it and what to do with the result without inference.

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