Skip to main content
Glama

Genesis402 by UnyKorn (x402 pay-per-call)

Find DeFi yields

genesis402_defi_yields

Paid ($0.01 USDC). Ranked DeFi yield pools from DefiLlama (15,000+ pools), filterable by chain, protocol, token, stablecoin-only and minimum TVL. Use to answer 'where is the best yield for X'. For other DeFi or market data search genesis402_catalog and call the endpoint through genesis402_call. All filters are optional and combine with AND; with none set it returns the top pools above $1M TVL. Returns up to limit pools, each with protocol, chain, symbol, TVL, base APY vs reward APY, 30-day mean APY, impermanent-loss risk, exposure and DefiLlama's outlook class. APYs are variable and backward-looking; not investment advice. 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_defi_yields"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoSort order: 'apy' (highest yield first) or 'tvl' (largest pool first).
chainNoFilter to one chain by name, e.g. Ethereum, Base, Arbitrum. Omit for all chains.
limitNoHow many pools to return, 1 to 100.
tokenNoToken symbol that must be in the pool, e.g. USDC, ETH, WBTC.
projectNoFilter to one protocol by its DefiLlama slug, e.g. aave-v3. Omit for all protocols.
min_tvl_usdNoMinimum pool TVL in US dollars as a plain number. Defaults to 1000000 ($1M) when omitted.
stablecoin_onlyNotrue = only stablecoin pools. Omit or false for all pools.
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. Changed23 schema fields changed
    • changedInput schema / properties / chain / description
      Previous value: -"Filter by chain, e.g. Ethereum, Base, Arbitrum, Solana."New value: +"Filter to one chain by name, e.g. Ethereum, Base, Arbitrum. Omit for all chains."
    • changedInput schema / properties / limit / description
      Previous value: -"Number of pools to return, 1-100."New value: +"How many pools to return, 1 to 100."
    • changedInput schema / properties / min_tvl_usd / description
      Previous value: -"Minimum pool TVL in USD, e.g. 1000000."New value: +"Minimum pool TVL in US dollars as a plain number. Defaults to 1000000 ($1M) when omitted."
    • changedInput schema / properties / payment_signature / description
      Previous value: -"Optional. An x402 v2 payment you signed for this call's quote (the PAYMENT-SIGNATURE header value). Omit to get the price quote first."New value: +"Optional. 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."
    • changedInput schema / properties / project / description
      Previous value: -"Filter by protocol, e.g. aave-v3, compound-v3, morpho."New value: +"Filter to one protocol by its DefiLlama slug, e.g. aave-v3. Omit for all protocols."
    • changedInput schema / properties / sort / description
      Previous value: -"Sort by APY (default) or TVL."New value: +"Sort order: 'apy' (highest yield first) or 'tvl' (largest pool first)."
    • changedInput schema / properties / stablecoin_only / description
      Previous value: -"Only stablecoin pools when true."New value: +"true = only stablecoin pools. Omit or false for all pools."
    • changedInput schema / properties / token / description
      Previous value: -"Filter by token symbol, e.g. USDC, ETH."New value: +"Token symbol that must be in the pool, e.g. USDC, ETH, WBTC."
    • changedOutput schema / properties / also_accepted_networks / description
      Previous value: -"Other payment networks this endpoint accepts."New value: +"QUOTE_ONLY: every network the 402 challenge accepts."
    • changedOutput schema / properties / how_to_pay / description
      Previous value: -"How to pay for this call."New value: +"QUOTE_ONLY: how to sign and resend the call."
    • changedOutput schema / properties / mode / description
      Previous value: -"QUOTE_ONLY when no payment was made; the quote is in price."New value: +"QUOTE_ONLY: price quote only, nothing signed or charged. PAID: the call was paid and result holds the data. FREE: the endpoint answered without payment."
    • addedOutput schema / properties / mode / enum
      Added value: +[
      +  "QUOTE_ONLY",
      +  "PAID",
      +  "FREE"
      +]
    • changedOutput schema / properties / paid / description
      Previous value: -"true or the paid quote when payment settled."New value: +"true only when a payment was settled for this call."
    • addedOutput schema / properties / paid / type
      Added value: +"boolean"
    • changedOutput schema / properties / payment_required_b64 / description
      Previous value: -"The raw x402 PAYMENT-REQUIRED header, base64."New value: +"QUOTE_ONLY: the raw base64 PAYMENT-REQUIRED header, to sign with any x402 v2 client."
    • addedOutput schema / properties / price / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "atomic": {
      +        "description": "Price in USDC atomic units (6 decimals), as a decimal string.",
      +        "type": "string"
      +      },
      +      "network": {
      +        "description": "CAIP-2 network id of the lane, eip155:8453 (Base).",
      +        "type": "string"
      +      },
      +      "payTo": {
      +        "description": "Address the payment settles to.",
      +        "type": "string"
      +      },
      +      "usd": {
      +        "description": "Price in US dollars.",
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "atomic",
      +      "usd",
      +      "payTo",
      +      "network"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / price / description
      Previous value: -"Quote on Base USDC: atomic, usd, payTo, network."New value: +"The 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."
    • changedOutput schema / properties / resource / description
      Previous value: -"The endpoint URL that was quoted or called."New value: +"QUOTE_ONLY: the full URL of the paid resource."
    • changedOutput schema / properties / result / description
      Previous value: -"The endpoint's response data."New value: +"PAID or FREE: the endpoint's JSON result."
    • changedOutput schema / properties / settlement / description
      Previous value: -"Decoded x402 settlement (tx hash, network, payer)."New value: +"PAID: decoded PAYMENT-RESPONSE settlement (transaction hash, network, payer), or null if the rail sent none."
    • changedOutput schema / properties / what_you_get / description
      Previous value: -"What the paid call returns."New value: +"QUOTE_ONLY: the rail's description of what the payment buys."
    • addedOutput schema / properties / what_you_get / type
      Added value: +"string"
    • addedOutput schema / required
      Added value: +[
      +  "mode",
      +  "paid"
      +]
  3. Changed8 schema fields changed
    • addedInput schema / properties / chain / description
      Added value: +"Filter by chain, e.g. Ethereum, Base, Arbitrum, Solana."
    • addedInput schema / properties / limit / description
      Added value: +"Number of pools to return, 1-100."
    • addedInput schema / properties / min_tvl_usd / description
      Added value: +"Minimum pool TVL in USD, e.g. 1000000."
    • addedInput schema / properties / project / description
      Added value: +"Filter by protocol, e.g. aave-v3, compound-v3, morpho."
    • addedInput schema / properties / sort / description
      Added value: +"Sort by APY (default) or TVL."
    • addedInput schema / properties / stablecoin_only / description
      Added value: +"Only stablecoin pools when true."
    • addedInput schema / properties / token / description
      Added value: +"Filter by token symbol, e.g. USDC, ETH."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "also_accepted_networks": {
      +      "description": "Other payment networks this endpoint accepts.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "how_to_pay": {
      +      "description": "How to pay for this call.",
      +      "type": "string"
      +    },
      +    "mode": {
      +      "description": "QUOTE_ONLY when no payment was made; the quote is in price.",
      +      "type": "string"
      +    },
      +    "paid": {
      +      "description": "true or the paid quote when payment settled."
      +    },
      +    "payment_required_b64": {
      +      "description": "The raw x402 PAYMENT-REQUIRED header, base64.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "price": {
      +      "description": "Quote on Base USDC: atomic, usd, payTo, network."
      +    },
      +    "resource": {
      +      "description": "The endpoint URL that was quoted or called.",
      +      "type": "string"
      +    },
      +    "result": {
      +      "description": "The endpoint's response data."
      +    },
      +    "settlement": {
      +      "description": "Decoded x402 settlement (tx hash, network, payer)."
      +    },
      +    "what_you_get": {
      +      "description": "What the paid call returns."
      +    }
      +  },
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations (readOnlyHint=false, openWorldHint=true) signal a non-read-only, open-world call, and the description earns credit by explaining the paid two-step flow, that a quote call charges and signs nothing, the $0.01 USDC price, default min TVL, and that APYs are variable and backward-looking and not advice. It does not spell out failure modes (e.g. quote expiry, insufficient funds, what happens if the signature is rejected), which keeps it short of 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 the paid price, then purpose, then routing, then filters, then return fields, then payment mechanics — a sensible ordering with no filler sentences. It is on the long side for a single tool, and the return-field enumeration partly duplicates the output schema, but nothing is wasted or out of place.

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?

For a paid, open-world tool with 8 optional params and an output schema, the description covers everything an agent needs to call it correctly: cost, the mandatory quote-then-sign handshake, default filter behavior, and caveats about variable APYs. Return values are already defined by the output schema, so no further detail is required.

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; the description still adds real meaning by stating all filters are optional, combine with AND, and that omitting them yields the top pools above $1M TVL, plus the quote-then-pay semantics for payment_signature. It does not restate sort/enum behavior beyond the schema, so it lands just above baseline rather than at the top.

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 ("Ranked DeFi yield pools from DefiLlama, 15,000+ pools") plus the exact filter axes, and names the target question "where is the best yield for X". It also positions itself against the sibling generic path (genesis402_catalog / genesis402_call), so an agent can route without opening either schema.

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 explicit when-to-use (yield questions), when to go elsewhere ("For other DeFi or market data search genesis402_catalog and call the endpoint through genesis402_call"), and the no-filter default (top pools above $1M TVL). The AND-combination rule for optional filters removes the main invocation ambiguity.

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.