# getWalletPnl

A read tool on the Ethereum Tools MCP server.

Agent View of the PolicyLayer registry record for `getWalletPnl`. HTML page: https://policylayer.com/tools/0xgval-evm-mcp-tools/getwalletpnl

## Facts

- Tool: `getWalletPnl`
- Server: Ethereum Tools (`0xgval/evm-mcp-tools`) — https://policylayer.com/tools/0xgval-evm-mcp-tools.md
- Homepage: https://github.com/0xGval/evm-mcp-tools
- Risk category: Read (Low risk)
- Registry record: grade B, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "getWalletPnl",
    "arguments": {}
  }
}
```

## Why getWalletPnl is rated Low

This tool retrieves financial performance metrics (P&L = profit/loss) from blockchain wallets. While it accesses sensitive financial information, it performs read-only queries with no side effects. Severity is medium due to potential for reconnaissance or financial surveillance of wallet owners if misused by an agent, but the tool itself cannot move funds or execute transactions.

From the tool's own definition: "Tool name 'getWalletPnl' indicates retrieval of wallet profit/loss data. Server description confirms 'profitability tracking' as a function. Empty tool description limits specificity but context suggests data retrieval rather than modification or execution."

## Use case

AI agents call getWalletPnl to retrieve information from Ethereum Tools without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Ethereum Tools:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "getWalletPnl": {}
  }
}
```

## Other tools on Ethereum Tools (10)

- `add` — Other — https://policylayer.com/tools/0xgval-evm-mcp-tools/add.md
- `analyzeToken` — Read — https://policylayer.com/tools/0xgval-evm-mcp-tools/analyzetoken.md
- `auditContract` — Read — https://policylayer.com/tools/0xgval-evm-mcp-tools/auditcontract.md
- `getEthBalance` — Read — https://policylayer.com/tools/0xgval-evm-mcp-tools/getethbalance.md
- `getTokenInfo` — Read — https://policylayer.com/tools/0xgval-evm-mcp-tools/gettokeninfo.md
- `getTokenPriceHistory` — Read — https://policylayer.com/tools/0xgval-evm-mcp-tools/gettokenpricehistory.md
- `getTokensBalance` — Read — https://policylayer.com/tools/0xgval-evm-mcp-tools/gettokensbalance.md
- `getTransactionCount` — Read — https://policylayer.com/tools/0xgval-evm-mcp-tools/gettransactioncount.md
- `searchTwitter` — Read — https://policylayer.com/tools/0xgval-evm-mcp-tools/searchtwitter.md
- `twitterSearchHelp` — Read — https://policylayer.com/tools/0xgval-evm-mcp-tools/twittersearchhelp.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=0xgval-evm-mcp-tools · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/0xgval-evm-mcp-tools
