Skip to main content
Glama
quackai-org

@quackai/q402-mcp

Official
by quackai-org

q402_yield_positions

Check current Q402 Yield lending positions on BNB Chain and Base, showing live APY and supplied balance. View aggregate USD value, read-only, no private key required.

Instructions

READ-ONLY - show the Agent Wallet's current Q402 Yield lending positions. Returns each position's protocol, chain, asset, market address, CURRENT supplied position value (the live position-token balance, in token units), and live supply APY, plus the aggregate current value in USD. Authenticated by the configured live Multichain API key - no private key required and no funds move. Reads the curated lending markets on BNB Chain and Base; each position reports its own protocol/venue. Deposit/withdraw cover both: 'bnb' (USDC/USDT) and 'base' (USDC only). DOES NOT report principal or accrued earnings as separate numbers - the position-token balance already includes accrued interest but is not broken out, so do NOT claim a specific 'earnings/profit/interest earned' figure from this tool; report only the current position value and the APY. walletId is OPTIONAL: omit it and the server reads the owner's default Agent Wallet (resolved from the API key); pass one only when the owner holds more than one wallet. An optional chain filter is also accepted. Use this whenever the user asks 'what is my position worth?', 'what's my current yield balance / APY?', or 'what are my open lending positions?'

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoOptional chain filter. Lending positions on 'bnb' and 'base'. Omit for all supported chains.
walletIdNoOptional Agent Wallet address. Omit to read the owner's default wallet (the server resolves it from the API key); pass one only when the owner holds multiple wallets. Q402_AGENT_WALLET_ADDRESS env fills it in when set.
Behavior5/5

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

With no annotations, the description carries full transparency burden. It discloses READ-ONLY behavior, authentication via API key, that no private key is required, and that no funds move. It also explicitly states what the tool does NOT report (principal/accrued earnings), preventing hallucinated earnings claims.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose ('READ-ONLY - show...') and then efficiently covers output, authentication, chain scope, limitations, and parameter semantics. No sentence is wasted; the length is justified by the need to warn against unsupported earnings claims.

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?

Given no output schema, the description thoroughly explains the return fields and the aggregate USD value. It covers optional params, default wallet resolution, supported chains, and a critical functional caveat. The tool is fully specified for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% (both params described), but the description adds significant value: walletId is optional and the server resolves the default wallet from the API key; the Q402_AGENT_WALLET_ADDRESS env var is mentioned; chain filter is optional and chains are listed. This goes well beyond the schema.

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?

The description clearly states the tool's function: 'show the Agent Wallet's current Q402 Yield lending positions' and enumerates the returned data (protocol, chain, asset, market address, position value, APY, aggregate USD). This specific verb+resource distinguishes it from transaction siblings like q402_yield_deposit and q402_yield_withdraw.

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?

Explicit usage guidance is provided: 'Use this whenever the user asks...' with concrete example queries. It also explains when to pass walletId vs. omit it, and notes the optional chain filter. This clearly directs the agent on when to select this tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/quackai-org/q402-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server