# getTransactionCount

A read tool on the Ethereum Tools MCP server.

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

## Facts

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

## Why getTransactionCount is rated Low

This tool retrieves transaction count information without modifying, deleting, or executing any code. It has no side effects and fits the Read category pattern. No financial transactions occur. Severity is low because retrieving blockchain metrics poses minimal risk even if misused by an AI agent.

From the tool's own definition: "Tool name 'getTransactionCount' indicates a query operation that retrieves transaction count data from the Ethereum blockchain."

## Use case

AI agents call getTransactionCount 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": {
    "getTransactionCount": {}
  }
}
```

## 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
- `getWalletPnl` — Read — https://policylayer.com/tools/0xgval-evm-mcp-tools/getwalletpnl.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
