Skip to main content
Glama

Beggar Bot

erc4337_nonce_deposit

ERC-4337 smart-account nonce and EntryPoint deposit across EntryPoint v0.6/v0.7/v0.8: next UserOperation nonce for any 192-bit key, prefunded gas deposit, deployment status. Build valid UserOps withou Paid: $0.02 USDC via x402.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
keyNononce key (default 0)
chainNobase|ethereum|optimism|arbitrum|polygon
senderNo0x smart account

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose supported EntryPoint versions, 192-bit nonce key width, deposit prefunding, and a $0.02 USDC x402 cost. It does not state whether the operation is read-only versus state-changing, whether auth/API keys are needed, or what gets returned for each of the three capability areas.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The capability list is front-loaded and information-dense, but the sentence is visibly truncated ('withou') and the trailing pricing line ('Paid: $0.02 USDC via x402') reads as appended boilerplate rather than core description.

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

Completeness3/5

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

There is no output schema and no annotations, so the description should clarify what each of the three result areas returns and how optional parameters select between them; it does not. It is adequate to know roughly what the tool offers, but thin for a multi-capability tool with all-optional parameters.

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%, so the schema already documents key (default 0), chain enum values, and the 0x sender address; baseline 3 applies. The description only adds marginal meaning, notably the 192-bit key constraint and the fact that the key selects the nonce lane, without explaining parameter interactions.

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?

The description names a concrete verb+resource set: fetching the next UserOperation nonce, EntryPoint prefunded deposit, and deployment status for ERC-4337 accounts, scoped to EntryPoint v0.6/v0.7/v0.8. This distinguishes it from siblings like address_nonce, nonce_gap, or paymaster_deposit, though bundling three capabilities into one tool makes the primary purpose slightly diffuse.

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?

Usage is only implied by the trailing clause 'Build valid UserOps', which gives a scenario but no explicit when-to-use or when-not-to-use guidance. No alternative sibling tools are named, so an agent must infer whether this or address_nonce/nonce_gap is the right call.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.