Skip to main content
Glama

set_user_wallet

Attach an EVM address to an end user so on-chain credits mint to them. No signature required — the address is recorded as asserted by the operator, not proved (changing it clears any earlier verification). Only later deposits match it: a deposit already recorded as unattributed stays uncredited. Pass wallet_address as null to detach; balances are unaffected. Costs 1 CRD (platform credit) per call, charged even when the call is then rejected (a 429 RATE_LIMITED costs nothing). Error results include request_id; quote it to support.

Input Schema

NameRequiredDescriptionDefault
api_keyNoCred API key (optional if set via the x-api-key header)
project_idNoCred project ID (optional; the API key already identifies the project)
user_emailNoUser email (checked first)
external_idNoExternal user ID
x402_paymentNoBase64 x402 PaymentPayload, only when a previous call failed with an x402 PaymentRequired because the account is out of CRD
wallet_addressYes0x-prefixed 40-hex-character EVM address, or null to detach

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so thoroughly: unproven assertion semantics, that changing the address clears prior verification, that only future deposits match, that detaching leaves balances untouched, and that 1 CRD is charged even on rejection except for 429 RATE_LIMITED. The error/request_id guidance is exactly the kind of operational detail an agent needs.

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?

Front-loads the core action, then layers semantics, edge cases, cost, and error handling in descending priority. Every sentence contributes a distinct fact; there is no restatement of the name or 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 mutation with no annotations and no output schema, this covers nearly everything an agent needs: cost model, rejection behavior, verification invalidation, and detach semantics. The only gap is the success response shape and how the user is resolved when multiple identifiers are supplied.

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 100%, so the baseline is 3, but the description adds real meaning: wallet_address=null detaches and balances are unaffected, and the per-call CRD cost contextualizes the x402_payment escape hatch. It does not clarify the precedence among user_email/external_id (only the schema notes 'checked first'), leaving that to structured data.

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 ("Attach an EVM address to an end user") plus the downstream effect (on-chain credits mint to them). The clause "No signature required" implicitly separates it from the verify_wallet_signature / request_wallet_challenge siblings without the agent needing to open another 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?

Gives clear context for use (so on-chain credits mint to the user) and a distinct non-use case (the assertion path versus the signature-proof path), plus the detach case via null. It stops short of naming the sibling tools explicitly, so the agent must infer the alternatives from the 'no signature' contrast.

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