Skip to main content
Glama
crypto-mcp

crypto-mcp

by igoforth

Get Transaction Count

get_transaction_count

Retrieve an address's transaction count (nonce) on mainnet, Polygon, or Polygon Amoy to check whether a wallet has been used. Supports optional custom RPC URLs.

Instructions

Get transaction count (nonce) for an address - useful for checking if address has been used

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": {
      "address": "<address>"
    },
    "name": "get_transaction_count"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoBlockchain to querypolygon
rpcUrlNoOptional custom RPC URL (defaults to publicnode.com for the selected chain)
addressYesWallet address (0x...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it does signal that this is a passive read and what the number represents (a nonce). It says nothing about behavior on an unused/nonexistent address, invalid address input, or RPC failure, which matters given the custom rpcUrl parameter.

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?

A single front-loaded sentence that puts the resource and its nonce clarification first and the use case second, with no filler. It is appropriately sized for a three-parameter read tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read with fully documented parameters and no output schema, the description tells the agent what is queried and what the returned value means in domain terms. The only real gap is not stating the return type or the unused-address behavior.

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?

Schema description coverage is 100%, with chain enum, rpcUrl default source, and address format all documented in the schema itself, so the baseline applies. The description adds only the nonce interpretation of the result, not any further meaning about chain selection or RPC override precedence.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Get transaction count (nonce) for an address") and parenthetically disambiguates that count means nonce, which is genuinely clarifying. It does not explicitly contrast with siblings get_balance or get_erc20_transfers, but the resource is distinct enough that confusion is unlikely.

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

Usage Guidelines3/5

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

The phrase "useful for checking if address has been used" gives one implied use case, so usage is suggested rather than prescribed. There is no guidance on when not to use it or which sibling to pick when the agent wants balance or transfer history instead.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.