Skip to main content
Glama

Start proving the wallet you pay from

get_wallet_challenge

Get a message to sign with the wallet you will pay from. Signing is free, sends nothing to the chain and moves no funds - it only shows the address is yours. Do this once, before your first order: an account with a proved wallet pays on-chain by itself, and one without is sent a payment link that only a person can open. Needs your API key in the Authorization header: "Bearer hsq_agent_...".

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": {
      "address": "<address>"
    },
    "name": "get_wallet_challenge"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesThe 0x address you will pay from.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description does the work well: it discloses that signing is free, off-chain, moves no funds, and only proves address ownership, plus that a Bearer API key is required in the Authorization header. It omits whether the challenge expires, whether repeated calls rotate it, and how the message is delivered back.

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 core action and the safety reassurance are front-loaded, and each sentence carries information: the action, the risk profile, the timing, and the auth requirement. The final auth sentence is slightly bolted on, but nothing is redundant.

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 tool with no annotations and no output schema, the definition covers action, safety, timing, consequence of skipping, and authentication. The notable gap is the next step: it does not say to sign the returned message and submit it via verify_agent_wallet, which an agent needs in order to finish the flow.

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% and the single parameter already documents that the address is the 0x address used to pay. The description restates the same idea ('the wallet you will pay from') without adding constraints such as checksum format, network, or whether it must match a previously created agent account.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence names a specific verb and resource: get a signing message for the wallet that will be used for payment. That distinguishes it from the adjacent verify_agent_wallet, but the description never names that sibling, so the two-step sequence (get challenge, then verify) must be inferred.

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 when to use it clearly ('Do this once, before your first order') and gives a strong reason to comply: an account with a proved wallet pays on-chain automatically, while one without receives a link only a person can open. It does not name the tool that consumes the signed message, or explain how to proceed if the address changes.

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