Skip to main content
Glama

Genesis402 by UnyKorn (x402 pay-per-call)

Market snapshot: major coin prices with 24h and 7d change

genesis402_market_snapshot

Paid ($0.004 USDC). USD price with 24-hour and 7-day change for the major crypto assets in a single call, or for up to 25 coins you name. Use when you need more than one price at once: one payment instead of one per coin. For a single coin, or for a token by contract address, search genesis402_catalog and call the endpoint through genesis402_call. Returns one row per coin with price, both changes, timestamp and pricing confidence, plus how many coins rose and fell over 24 hours. Coins with no live price are marked unavailable, never priced at zero. Third-party market data from DefiLlama, as published: not investment advice and no recommendation. Payment: call once without payment_signature to get the exact price quote (nothing is charged or signed), then call again with the signed payment to receive the result and settlement details.

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": "genesis402_market_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
coinsNoUp to 25 coins as CoinGecko ids (bitcoin, ethereum, solana) or major-coin tickers (BTC, ETH, SOL). Omit for the twelve major coins.
payment_signatureNoOptional. An x402 v2 payment you signed for this call's quote (the PAYMENT-SIGNATURE header value). Omit to get the price quote first; nothing is charged without it.

Output Schema

NameRequiredDescriptionDefault
modeYesQUOTE_ONLY: price quote only, nothing signed or charged. PAID: the call was paid and result holds the data. FREE: the endpoint answered without payment.
paidYestrue only when a payment was settled for this call.
priceNoThe Base USDC quote. Present on QUOTE_ONLY and on PAID calls made by a local payer; null when the rail offered no Base USDC lane or the caller signed the payment.
resultNoPAID or FREE: the endpoint's JSON result.
sellerNoWho is paid and who issues the receipt: the seller's ERC-8004 agent id, registry and receipts feed.
resourceNoQUOTE_ONLY: the full URL of the paid resource.
how_to_payNoQUOTE_ONLY: how to sign and resend the call.
settlementNoPAID: decoded PAYMENT-RESPONSE settlement (transaction hash, network, payer), or null if the rail sent none.
receipts_urlNoPublic receipts feed, where a paid call's signed receipt can be looked up.
what_you_getNoQUOTE_ONLY: the rail's description of what the payment buys.
payment_required_b64NoQUOTE_ONLY: the raw base64 PAYMENT-REQUIRED header, to sign with any x402 v2 client.
also_accepted_networksNoQUOTE_ONLY: every network the 402 challenge accepts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / receipts_url
      Added value: +{
      +  "description": "Public receipts feed, where a paid call's signed receipt can be looked up.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / seller
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Who is paid and who issues the receipt: the seller's ERC-8004 agent id, registry and receipts feed.",
      +  "properties": {
      +    "agent": {
      +      "type": "string"
      +    },
      +    "agent_id": {
      +      "description": "ERC-8004 agent id of the seller on Base. 95721 is the Genesis402 rail; a route sold by a desk agent names that agent.",
      +      "type": "number"
      +    },
      +    "card": {
      +      "description": "The seller's ERC-8004 registration file.",
      +      "type": "string"
      +    },
      +    "chain": {
      +      "description": "Chain name, base.",
      +      "type": "string"
      +    },
      +    "collector": {
      +      "description": "ERC-8004 id of the collecting agent whose wallet receives the payment (95721). Present with specialist.",
      +      "type": "number"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "pay_to": {
      +      "description": "The Base address this route is paid to, as quoted in the 402.",
      +      "type": "string"
      +    },
      +    "receipts": {
      +      "description": "Public feed of signed receipts for paid calls.",
      +      "type": "string"
      +    },
      +    "registry": {
      +      "description": "CAIP-10 style registry reference, eip155:8453:<IdentityRegistry address>.",
      +      "type": "string"
      +    },
      +    "registry_address": {
      +      "description": "ERC-8004 IdentityRegistry contract address on Base.",
      +      "type": "string"
      +    },
      +    "source": {
      +      "description": "rail: named by the rail in its 402 or manifest. package: this package's default, used when the rail names none.",
      +      "enum": [
      +        "rail",
      +        "package"
      +      ],
      +      "type": "string"
      +    },
      +    "specialist": {
      +      "description": "Present when the route is sold by one of the rail's eight specialists (prices, chain-reader, defi, web, geo-records, research, ai-tools, utilities).",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "agent_id",
      +    "registry",
      +    "registry_address",
      +    "chain",
      +    "source"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Well beyond the supplied annotations (readOnlyHint=false, openWorldHint=true), it discloses the $0.004 USDC cost, the two-call payment protocol (first call returns a quote and charges nothing, second call carries the signed payment), the DefiLlama data source, and the no-zero-pricing rule for unavailable coins. It does not mention rate limits or failure/refund behavior for a failed paid call, which keeps it from a 5.

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?

Front-loads price, capability, and the payment cost in the first clause, then the when-to-use rule, then the fallback path and return shape. It runs long at roughly six sentences, and the 'not investment advice / no recommendation' disclaimer is boilerplate, but no sentence is off-topic.

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?

Even though an output schema exists, it still summarizes the response shape (one row per coin with price, both changes, timestamp, pricing confidence, plus up/down counts) and marks unavailable coins as such rather than zero. For a paid, open-world data tool with only two optional params, an agent has everything needed to call it and settle payment correctly.

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 coverage is 100% and the schema already documents both coins (CoinGecko ids or tickers, max 25, omit for the twelve majors) and payment_signature (omit to get the quote). The description adds only marginal meaning, mainly restating the 25-coin cap and the quote-then-pay cycle, so the baseline 3 applies.

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+resource and scope: USD price with 24-hour and 7-day change for major crypto assets, in one call or for up to 25 named coins. It explicitly carves out what it is not (single coin, or token by contract address) and routes those to genesis402_catalog plus genesis402_call.

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?

Gives an explicit selection rule — use when you need more than one price at once, because one payment replaces one payment per coin — and names the alternative path for single-coin and contract-address lookups. Nothing about when to prefer a sibling is left to 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.