Donate USDC to Immersive Commons via x402 (public)
ic_donateSupport Immersive Commons with an on-chain USDC donation over x402 (HTTP 402 + USDC on Base). No auth required. Returns the donation tiers, the receiving wallet (payTo), the asset + network, and the donate URL. MCP can't run the in-band 402 handshake itself, so to donate: POST https://www.immersivecommons.com/api/x402/donate with an x402 X-PAYMENT header (sign an EIP-3009 USDC authorization for one of the tier amounts to payTo on the given network); the first call with no X-PAYMENT returns a 402 listing every tier in accepts[]. Optional donor { name, message } can be sent in the JSON body and appear on the public donor wall at /donate. Args: { tier?: string (a tier label, case-insensitive — narrows tiers[] to that single tier and adds selected_tier with the exact atomic USDC amount to sign; an unknown label returns error_kind:"validation" naming the valid labels) }.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ic_donate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | A tier label, case-insensitive. Narrows tiers[] to that tier and adds selected_tier with the exact USDC amount to sign. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | true when the call did what it was asked; false with `error` and `error_kind` when it did not | |
| text | No | The tool's reply when it returns plain text instead of JSON | |
| error | No | Why the call failed, in a sentence a person can act on. Present only when ok is false. | |
| result | No | The tool's value when it returns a list or a single value instead of an object | |
| error_kind | No | Machine-readable failure class: no_token, missing_scope, forbidden, not_found, invalid_input, rate_limited or transient |