# get_uniswap_v3_pool

Get live state of a Uniswap V3 pool: token pair, fee tier, current price (both directions), active liquidity, current tick, and TVL in USD (via DefiLlama token prices). Accepts slug or chain+address.

Agent View of the PolicyLayer registry record for `get_uniswap_v3_pool`. HTML page: https://policylayer.com/tools/defi-io-smartcontract/get-uniswap-v3-pool

## Facts

- Tool: `get_uniswap_v3_pool`
- Server: Smarts Md (`defi-io/smartcontract`) — https://policylayer.com/tools/defi-io-smartcontract.md
- Homepage: https://github.com/defi-io/smartcontract
- Risk category: Read (Low risk)
- Registry record: grade B, identity unverified
- Server rate-limited: no
- Parameters: 3
- Recommended policy verdict: Allowed

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `slug` | string | no | Curated slug like 'univ3-usdc-weth-eth'. Alternative to chain+address. |
| `chain` | string | no | Chain slug: eth, base, arbitrum, optimism, or polygon. Required unless `slug` is given. |
| `address` | string | no | Pool address (0x-prefixed). Required unless `slug` is given. |

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_uniswap_v3_pool",
    "arguments": {}
  }
}
```

## Why get_uniswap_v3_pool is rated Low

This tool retrieves and queries current state information from a Uniswap V3 pool without creating, modifying, or deleting any data. It functions as a data lookup/fetch operation with no side effects, fitting the 'Read' category. The severity is low because misuse cannot corrupt data or cause unintended financial transactions—it only returns informational snapshots.

From the tool's own definition: "Tool description explicitly states 'Get live state' and lists read-only data retrieval: 'token pair, fee tier, current price, active liquidity, current tick, and TVL in USD'. No mutations, deletions, or external operations are described."

## Use case

AI agents call get_uniswap_v3_pool to retrieve information from Smarts Md 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 Smarts Md:

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

## Other tools on Smarts Md (4)

- `get_contract_info` — Read — https://policylayer.com/tools/defi-io-smartcontract/get-contract-info.md
- `get_erc20_info` — Read — https://policylayer.com/tools/defi-io-smartcontract/get-erc20-info.md
- `inspect_address` — Read — https://policylayer.com/tools/defi-io-smartcontract/inspect-address.md
- `read_contract_state` — Read — https://policylayer.com/tools/defi-io-smartcontract/read-contract-state.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=defi-io-smartcontract · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/defi-io-smartcontract
