Skip to main content
Glama

AgentData — crypto market data with a checkable record

get_wallet_risk

Lending health of one wallet on Base ($0.005 USDC): every borrowing position on Aave v3 and Morpho Blue with health factor, band and how far collateral may fall before liquidation, weakest first. Use before adding risk to a wallet you manage, or to check a position you are not watching. A snapshot, not a forecast; Compound, Moonwell and other chains are not covered. To be woken when it falls, use watch_condition with signal=wallet-health.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "address": "<address>"
    },
    "name": "get_wallet_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYes0x address of the wallet
paymentNoOptional. Base64 x402 payment payload you signed yourself (ERC-3009 TransferWithAuthorization, USDC on Base). Call without it once to receive the payment requirements, sign those, then call again with this argument. This server forwards the payload and never holds a key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Adds real context beyond the annotations: the $0.005 USDC cost, that the result is a snapshot and not a forecast, and the coverage boundary. It also implicitly explains why readOnlyHint is false, since payment settles a signed USDC authorization. It stops short of describing pagination, latency, or failure behavior, so not a full 5.

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?

Front-loads the core verb and scope, then layers pricing, use cases, exclusions, and the routing alternative in tight sentences with no filler. Every clause adds decision-relevant information.

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?

With no output schema, the description still tells the agent what comes back (health factor, band, distance to liquidation, sorted weakest first) and what does not (other protocols and chains). Combined with the schema's payment-loop instructions, an agent has everything needed to call it 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 description coverage is 100%, so both the address and the x402 payment handshake are already fully documented in structured fields. The description adds only the notion of "one wallet" and does not extend parameter meaning, which is the correct baseline-3 outcome when the schema carries the load.

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?

Names a specific verb and resource ("Lending health of one wallet on Base") and pins the exact scope: Aave v3 and Morpho Blue positions, weakest first, with price. An agent can immediately separate this from get_memecoin_risk or get_liquidation_levels without opening a 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 trigger conditions ("before adding risk to a wallet you manage, or to check a position you are not watching") plus exclusions (Compound, Moonwell, other chains are not covered) and names the correct alternative for the adjacent need: watch_condition with signal=wallet-health for ongoing alerts rather than a one-time check.

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.