Skip to main content
Glama

FinTech Hodl Base DeFi risk intel

get_yield_farming

Yield farming opportunities on Base: liquidity pools, concentrated liquidity (Aerodrome Slipstream) and auto-compounding vaults, ranked risk-adjusted, with quoted APY split into fees and token rewards, the sustainable APY once incentives fade, TVL, a risk score, and realized APY where measured. Useful for picking farms worth their risk. Ids work with every other route. 404 for unknown paths and 400 for invalid arguments, before any payment; 503 while data refreshes; charged only for a 200. Price: $0.05 USDC on Base (x402), charged only for a successful answer.

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

Input Schema

NameRequiredDescriptionDefault
sortNoOrder: risk_adjusted (default) ranks by opportunity score; realized_apy by the 30-day realized APY; sustainable_apy by the APY expected once incentives fade.
typeNolp, stable_lp (stablecoin pairs), concentrated (concentrated liquidity) or vault (auto-compounding vaults).
assetNoToken symbol, e.g. USDC or WETH.
limitNoHow many items (default 20).
min_apyNoMinimum quoted APY, percent.
risk_maxNoMaximum risk score (0-100, lower is lower modelled risk).
stable_onlyNoOnly stablecoin principal.
realized_onlyNoOnly opportunities with a realized on-chain APY.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

No annotations exist, so the description carries the full load and does it well: it discloses the x402 payment model, the $0.05 USDC price, that charges apply only on a 200, and the 404/400/503 failure semantics including 503 during data refresh. What is missing is a statement of data freshness/window or whether results are cached, and read-only status is only implied by the nature of the resource.

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-loaded with the resource and returned fields, then interoperating ids, then error/payment semantics — a sensible order with no filler. The final sentence is dense, packing status codes and pricing together, but every clause conveys operationally relevant information.

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?

With eight optional parameters, no output schema, and no annotations, the description does the heavy lifting: it lists the returned metrics, notes id interoperability across routes, and covers payment and failure behavior. Only the response shape (paging envelope, units) is left unstated, which is a modest gap rather than a blocking one.

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 description coverage is 100%, so all eight parameters, including the sort and type enums, are already documented. The description explains the concepts behind sustainable APY and realized APY, which helps interpret sort values, but it adds no syntax, defaults, or interaction rules (e.g. how stable_only interacts with asset) beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific resource (yield farming opportunities on Base) and enumerates the opportunity types covered — liquidity pools, concentrated liquidity via Aerodrome Slipstream, and auto-compounding vaults — plus the metrics returned (quoted APY split, sustainable APY, TVL, risk score, realized APY). It does not explicitly differentiate from nearby siblings like get_yields or get_lending_rates, which keeps it short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied through the line "Useful for picking farms worth their risk," which gives a purpose but no when-to-use/when-not conditions and no named alternative. With many sibling tools covering adjacent yield and risk data, an explicit routing rule would have been valuable.

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