Skip to main content
Glama

Prepare QWallet setup

prepare_qwallet_setup
Read-onlyIdempotent

Prepare the next QWallet setup step for the owner wallet, unsigned: deploy the verifier, deploy the pool (fixed pinned bytecode), then enrollment of the owner's post-quantum key as EIP-712 typed data plus the exact SLH-DSA message. Call again after each receipt with the new addresses. Never signs or sends.

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": {
      "owner": "<owner>"
    },
    "name": "prepare_qwallet_setup"
  }
}

Input Schema

NameRequiredDescriptionDefault
poolNo
chainNoRobinhood Chain (4663). Other chains use qhooks.com/qwallets in a browser.
ownerYes
tokensNoERC-20 asset policy fixed at pool deployment. Default: [USDG]. Pass the same list for every later call on that pool.
verifierNo
publicKeyNoThe owner's SLH-DSA-SHA2-128s public key (32 bytes, 0x-hex). Generated and kept by the agent; never send a secret key.

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?

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, and the description is consistent with that while adding real behavior: the payload is unsigned, bytecode is 'fixed pinned', output is EIP-712 typed data plus an exact SLH-DSA message, and the tool must be re-invoked after each receipt. 'Never signs or sends' is a useful reinforcement. It stops short of saying what happens if a step is skipped or how to detect which step is next.

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?

Two dense sentences with the workflow front-loaded and nothing obviously redundant; the step order is easy to scan. It is jargon-heavy ('fixed pinned bytecode', 'SLH-DSA-SHA2-128s') but the density is largely load-bearing rather than filler.

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 6-parameter, no-output-schema tool, the description covers the workflow, the unsigned nature of the return, the iteration model, and the chain restriction (via the schema enum). It is close to complete; it could say more about what a caller must supply on the first call versus later calls, since only owner is required.

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 50%: chain, tokens and publicKey are documented in the schema, while pool and verifier are not. The description partially compensates by implying that 'the new addresses' from prior receipts are what get passed back in on later calls, which gives pool/verifier useful meaning. It adds little beyond the schema for owner, tokens or publicKey.

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 description states a specific verb and resource ('Prepare the next QWallet setup step for the owner wallet') and enumerates the concrete sub-steps: deploy verifier, deploy pool with pinned bytecode, then post-quantum key enrollment. It is clearly distinguishable from siblings like qwallet_status or prepare_qwallet_deposit by being the setup-sequence step, though it never names or contrasts those siblings explicitly.

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?

'Call again after each receipt with the new addresses' gives clear operational guidance on the iterative call pattern, which is the key usage fact for this tool. It lacks explicit when-not-to-use guidance or a named alternative (e.g., where to go for status or for deposits), which keeps it below a 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.