Skip to main content
Glama

Scan EVM Wallet

scan_wallet
Read-onlyIdempotent

Scans an EVM wallet address across all supported lending protocols and returns every active borrowing position with health factors and liquidation risk. Covers Aave V3 (7 chains: Ethereum — Core, Prime and EtherFi markets — Base, Arbitrum, Polygon, Optimism, Avalanche, Scroll), Aave V4 (Ethereum Core/Prime/Plus), Spark (Ethereum), Morpho (Ethereum, Base, Arbitrum), Euler (Ethereum, Monad), and Moonwell (Base, Optimism). Health factor < 1.0 means the position is liquidatable. Use this when asked: "Is this wallet at risk of liquidation?", "Show all lending positions for 0x…", "Which protocols is this wallet borrowing from?", "Which of these wallets is closest to liquidation?"

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": {
      "wallet": "<wallet>"
    },
    "name": "scan_wallet"
  }
}

Input Schema

NameRequiredDescriptionDefault
walletYesEVM wallet address — must start with 0x and be exactly 42 characters, e.g. 0xabc…1234

Output Schema

NameRequiredDescriptionDefault
positionsYesActive borrowing positions per protocol and chain
totalPositionsYesTotal active borrowing positions found across all protocols

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, openWorld and non-destructive, so the bar is lower; the description still adds real domain semantics by defining that health factor < 1.0 means liquidatable and by disclosing the exact protocol/chain coverage that constitutes the "open world." It does not mention latency, rate limits, or what is returned when a wallet has no positions, which are the main remaining behavioral gaps for a multi-chain fan-out scan.

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 core action and return value, then coverage detail, then usage triggers — a sensible information hierarchy. The parenthetical chain/market enumeration is dense and slightly list-heavy, but it earns its place by defining scope that no structured field conveys.

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?

An output schema exists, so return values need not be detailed, yet the description still summarizes them; the protocol coverage, health-factor threshold semantics, and usage triggers are all present. For a one-parameter read-only scan this leaves nothing an agent needs in order to invoke 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?

There is a single parameter, its schema description fully specifies the 0x-prefixed 42-character format, and the description adds no further meaning about the address argument. With 100% schema coverage the baseline of 3 applies — the schema carries the parameter burden entirely.

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?

Opens with a specific verb and resource ("Scans an EVM wallet address across all supported lending protocols") and states the return payload (active borrowing positions with health factors and liquidation risk). The explicit protocol/chain enumeration plus the EVM qualifier make it distinguishable from scan_solana_wallet and scan_ton_wallet without opening any schema.

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

Usage Guidelines4/5

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

Provides four concrete triggering questions ("Is this wallet at risk of liquidation?", "Show all lending positions for 0x…", etc.), which is unusually strong when-to-use guidance. It stops short of stating exclusions or naming which sibling to use for non-EVM chains or for single-position math (calculate_health_factor), so it is clear context without explicit alternatives.

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.