yieldhunter
v1.0.0Risk-adjusted stablecoin yield ranks for other agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
health Health
Liveness and capability check for yieldhunter (yieldhunter.eth). Returns service status, schemaVersion, scoringVersion, feature flags, and the list of available tools. Use this first to verify connectivity. If yields+pegs vintage is missing or at/over YH_STALE_DEGRADE_SECONDS (default 2h), health may refresh DefiLlama market caches once (same adapters as list_yields; not a list_yields tool call). Kill switch on: health still answers, refresh skipped. Research estimates only — non-custodial; never holds keys or executes transactions. Copy-paste path starts here, then list_yields. Example i…
list_yields List risk-adjusted yields
Rank stablecoin yield opportunities on Ethereum, Base, and Arbitrum using multi-factor **risk-adjusted** scoring (not raw APY). chains/chainIds: those three only (aliases eth/ETH/Ethereum, arb/ARB, BASE) — any unsupported or blank value (solana, optimism, "") is VALIDATION_ERROR, not a silent default-universe fallback. sourceChainKey: same keys/aliases; blank or unknown keys are VALIDATION_ERROR (bridge cost is not estimated). Default ranking is risk-adjusted score, not highest APY. For headline yield order, use sortBy=net_apy. Default is risk-adjusted ranking with balanced weights. Option…
| Parameter | Type | Description |
|---|---|---|
assets | array | Stablecoin symbols to match in pool symbol, e.g. ["USDC","USDT"] |
categories | array | Include only these categories: "lending" | "rwa" | "other" |
chainIds | array | Optional numeric chain ids: 1, 8453, 42161 only. Any other id is VALIDATION_ERROR (not a silent default-universe fallback). |
chains | array | Filter chains: ethereum | base | arbitrum (aliases eth/ETH/Ethereum, arb/ARB, BASE; or Llama names). Default when field omitted: all three. Blank, whitespace, or unsupported values (solana, optimism,… |
diversity | string | Presented top-k protocol diversity: "soft" (default, max 2 per protocol) | "off" (plain score order, every market) |
excludeCategories | array | Exclude these categories, e.g. ["rwa"] |
horizonDays | number | Holding horizon in days for gas/bridge amortization (default 30). Example: 30 |
includeFactors | boolean | If true, each opportunity includes scores.factors compact map (protocolRisk, depegCounterparty, liquidity, yieldQuality, costAdjusted). Default false — omits heavy factors[] rationales. |
limit | integer | Max results to return (default 10, max 25). Example: 10 |
maxRewardShare | Incentive-share gate only: max reward/total of gross APY, 0–1 (e.g. 0.3 treasury, 0.25 stricter). Does not remove high base-only APY farms. Capital preservation still needs minScore/riskAppetite/exc… | |
minScore | Minimum compositeRiskAdjusted after appetite weights (0–100). Omitted = no filter | |
minTvlUsd | number | Minimum TVL in USD (default 1000000). Example: 5000000 |
notionalUsd | number | Notional USD size for net-yield cost amortization and exitRisk TVL multiples (default 10000). Example: 10000 |
protocols | array | Optional protocol slugs, e.g. ["aave-v3","morpho-blue"]. Blank entries are VALIDATION_ERROR (not treated as all protocols). |
riskAppetite | string | Scoring weight profile: "balanced" (default/v1.1) | "conservative" | "aggressive" |
sortBy | string | Sort key: "risk_adjusted" (default) | "net_apy" | "gross_apy" | "tvl" |
sortOrder | string | Sort direction: "desc" (default) | "asc" |
sourceChainKey | string | Agent's current chain for bridge cost estimate: ethereum | base | arbitrum (aliases: eth, ETH, Ethereum, arb, ARB, BASE). Blank/whitespace is VALIDATION_ERROR (omit the field to default). Unknown keys… |
score_opportunity Score opportunity
Compute the full multi-factor risk-adjusted score for a single opportunity from list_yields. Chain: pass list_yields opportunities[].id as poolId, opportunityId, or id (same DefiLlama pool UUID; id is the canonical list field). Returns APY breakdown (base/reward/total), factor scores with rationales, net yield after gas/bridge, exitRisk heuristic (TVL vs notional + liq conf only; medium ≠ small pool; not queues/caps/transfer whitelist/eligibility/on-chain withdraw; do not treat low as free exit when knownIssues mention transfer/eligibility), warnings, and sources. sourceChainKey is ethereu…
| Parameter | Type | Description |
|---|---|---|
horizonDays | number | Holding horizon in days for gas/bridge amortization (default 30). Example: 30 |
id | string | Same as list_yields opportunities[].id (canonical response field name). |
notionalUsd | number | Notional USD size for net-yield cost amortization and exitRisk TVL multiples (default 10000). Example: 10000 |
opportunityId | string | Alias for list_yields opportunities[].id (same pool key as poolId / id). |
poolId | string | Alias for list_yields opportunities[].id (historical tool field). Same DefiLlama pool UUID. Example: "43641cf5-a92e-416b-bce9-27113d3c0db6" |
sourceChainKey | string | Agent's current chain for bridge cost estimate: ethereum | base | arbitrum (aliases: eth, ETH, Ethereum, arb, ARB, BASE). Blank/whitespace is VALIDATION_ERROR (omit the field to default). Unknown keys… |
compare_opportunities Compare opportunities
Side-by-side comparison of 2–5 opportunities by risk-adjusted score. Pass list_yields opportunities[].id values as poolIds or opportunityIds. Returns ranked list, compact comparison table fields (including protocolSlug for get_protocol_risk), winnerId, and rationale bullets (including when raw APY leader differs from risk-adjusted winner). sourceChainKey is ethereum|base|arbitrum only (unknown → VALIDATION_ERROR; no invented bridge fee). Research only — non-custodial. Example: { "poolIds": ["pool-id-a", "pool-id-b", "pool-id-c"], "horizonDays": 30 }
| Parameter | Type | Description |
|---|---|---|
horizonDays | number | Holding horizon in days for gas/bridge amortization (default 30). Example: 30 |
notionalUsd | number | Notional USD size for net-yield cost amortization and exitRisk TVL multiples (default 10000). Example: 10000 |
opportunityIds | array | Alias for poolIds — same list_yields opportunities[].id values. |
poolIds | array | 2–5 list_yields opportunities[].id values. Example: ["id-a","id-b"]. Alias: opportunityIds. |
sourceChainKey | string | Agent's current chain for bridge cost estimate: ethereum | base | arbitrum (aliases: eth, ETH, Ethereum, arb, ARB, BASE). Blank/whitespace is VALIDATION_ERROR (omit the field to default). Unknown keys… |
explain_score Explain score
Agent-readable explanation of why an opportunity received its risk-adjusted score. Chain: pass list_yields opportunities[].id as poolId, opportunityId, or id (aliases for the same key). Returns a summary paragraph, factor bullets with weighted contributions, net-yield notes, an exitRisk heuristic line (liquidity-only — not on-chain withdraw or transfer/eligibility; medium often confidence-driven, not pool size; extra bullet when knownIssues note transfer restrictions), plus id and protocolSlug (same as list_yields; pass protocolSlug to get_protocol_risk). sourceChainKey is ethereum|base|ar…
| Parameter | Type | Description |
|---|---|---|
horizonDays | number | Holding horizon in days for gas/bridge amortization (default 30). Example: 30 |
id | string | Same as list_yields opportunities[].id (canonical response field name). |
notionalUsd | number | Notional USD size for net-yield cost amortization and exitRisk TVL multiples (default 10000). Example: 10000 |
opportunityId | string | Alias for list_yields opportunities[].id (same pool key as poolId / id). |
poolId | string | Alias for list_yields opportunities[].id (historical tool field). Same DefiLlama pool UUID. Example: "43641cf5-a92e-416b-bce9-27113d3c0db6" |
sourceChainKey | string | Agent's current chain for bridge cost estimate: ethereum | base | arbitrum (aliases: eth, ETH, Ethereum, arb, ARB, BASE). Blank/whitespace is VALIDATION_ERROR (omit the field to default). Unknown keys… |
get_protocol_risk Get protocol risk
Protocol-level risk card (age, audit signals, curated known issues, category, score 0–100). Chain: pass list_yields opportunities[].protocolSlug as protocol or protocolSlug. Display names also resolve case- and space-insensitively via DefiLlama protocol metadata (e.g. "Compound V3" → compound-v3, "Curve" → curve-dex, "Euler V2" → euler-v2). Unknown names return NOT_FOUND naming the field, with example {"protocolSlug":"aave-v3"} and up to 3 closest slugs. Higher score = lower protocol risk. Uses curated priors plus DefiLlama metadata when available. Research only — non-custodial.…
| Parameter | Type | Description |
|---|---|---|
protocol | string | Protocol slug (DefiLlama project id) or display name, e.g. "aave-v3" or "Compound V3". Prefer list_yields opportunities[].protocolSlug. |
protocolSlug | string | Alias for protocol — list_yields opportunities[].protocolSlug (display names also resolve). |