# get_total_tvl

Get the total TVL (Total Value Locked) across all ATV vaults, or for a specific vault, from the Aarna engine database.

Agent View of the PolicyLayer registry record for `get_total_tvl`. HTML page: https://policylayer.com/tools/aarna-ai-atv/get-total-tvl

## Facts

- Tool: `get_total_tvl`
- Server: Atv (`aarna-ai/atv`) — https://policylayer.com/tools/aarna-ai-atv.md
- Homepage: https://github.com/aarna-ai/atv
- Risk category: Read (Low risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 1
- Recommended policy verdict: Allowed

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `address` | string | no | Vault contract address to filter to a single vault (omit for platform-wide TVL) |

Parameters from the server's own tool schema.

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

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

## Why get_total_tvl is rated Low

This tool retrieves and queries financial metrics (Total Value Locked) from a database. It performs no side effects, creates no transactions, executes no code, and cannot modify or delete data. Despite the financial context of the platform (tokenized yield vaults), the tool itself only reads aggregate vault statistics, making it a Read category risk.

From the tool's own definition: "Tool name 'get_total_tvl' and description 'Get the total TVL... from the Aarna engine database' indicate a read-only query operation that retrieves vault metrics without modifying data or triggering transactions."

## Use case

AI agents call get_total_tvl to retrieve information from Atv 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 Atv:

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

## Other tools on Atv (18)

- `build_deposit_tx` — Execute — https://policylayer.com/tools/aarna-ai-atv/build-deposit-tx.md
- `build_queue_withdraw_tx` — Execute — https://policylayer.com/tools/aarna-ai-atv/build-queue-withdraw-tx.md
- `build_stake_tx` — Execute — https://policylayer.com/tools/aarna-ai-atv/build-stake-tx.md
- `build_unqueue_withdraw_tx` — Execute — https://policylayer.com/tools/aarna-ai-atv/build-unqueue-withdraw-tx.md
- `build_unstake_tx` — Execute — https://policylayer.com/tools/aarna-ai-atv/build-unstake-tx.md
- `build_redeem_withdraw_tx` — Financial — https://policylayer.com/tools/aarna-ai-atv/build-redeem-withdraw-tx.md
- `build_withdraw_tx` — Financial — https://policylayer.com/tools/aarna-ai-atv/build-withdraw-tx.md
- `get_deposit_status` — Read — https://policylayer.com/tools/aarna-ai-atv/get-deposit-status.md
- `get_historical_nav` — Read — https://policylayer.com/tools/aarna-ai-atv/get-historical-nav.md
- `get_queue_withdraw_status` — Read — https://policylayer.com/tools/aarna-ai-atv/get-queue-withdraw-status.md
- `get_user_investments` — Read — https://policylayer.com/tools/aarna-ai-atv/get-user-investments.md
- `get_vault` — Read — https://policylayer.com/tools/aarna-ai-atv/get-vault.md
- `get_vault_apy` — Read — https://policylayer.com/tools/aarna-ai-atv/get-vault-apy.md
- `get_vault_balance` — Read — https://policylayer.com/tools/aarna-ai-atv/get-vault-balance.md
- `get_vault_nav` — Read — https://policylayer.com/tools/aarna-ai-atv/get-vault-nav.md
- `get_vault_tvl` — Read — https://policylayer.com/tools/aarna-ai-atv/get-vault-tvl.md
- `get_withdraw_status` — Read — https://policylayer.com/tools/aarna-ai-atv/get-withdraw-status.md
- `list_vaults` — Read — https://policylayer.com/tools/aarna-ai-atv/list-vaults.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=aarna-ai-atv · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/aarna-ai-atv
