Skip to main content
Glama

chain_entrypoint_deposit

Read-only

ERC-4337 EntryPoint deposit, stake + nonce — Account-abstraction health check for any address= (paymaster, bundler-funded smart account, factory) across ERC-4337 EntryPoint v0.6, v0.7 and v0.8 on base (default), ethereum, optimism, arbitrum or polygon (chain=). Returns per-EntryPoint gas deposit, staked flag, stake, unstake delay, withdraw time and key-0 nonce, plus totals, contract / EIP-7702 detection, a role guess and flags (low paymaster deposit, stake unlock started). Reads getDepositInfo + getNonce via public JSON-RPC. Price: $0.003 USDC (Base, via x402).

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": "chain_entrypoint_deposit"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYes0x2FAEB0760D4230Ef2aC21496Bb4F0b47D634FD4c

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/openWorldHint/non-destructive, so the safety profile is covered; the description adds real behavioral value beyond that — the upstream RPC calls (getDepositInfo, getNonce via public JSON-RPC) and a concrete price ($0.003 USDC on Base via x402), which is a payment precondition an agent must know. It stops short of 5 because error behavior (unsupported chain, address with no EntryPoint data) and rate limits are unstated.

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?

Densely packed but front-loaded — resource and purpose come first, then parameters, then return fields, then cost. Every clause carries information, though the single em-dash run-on makes it harder to scan than a short structured layout would.

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?

With no output schema, the description carries the burden of describing returns and does so thoroughly: per-EntryPoint deposit, staked flag, stake, unstake delay, withdraw time, key-0 nonce, totals, contract/EIP-7702 detection, role guess and warning flags. Nearly complete for the complexity; only failure/missing-data behavior is absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds meaning beyond the single documented schema property: it explains what class of address to pass (paymaster, smart account, factory) and it documents a `chain=` selector with default base and the supported chain set, which the input schema does not declare at all. That extra guidance is genuinely useful, though the mismatch between described `chain=` and the schema's address-only shape is left unexplained.

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

Purpose5/5

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

States a specific resource ('ERC-4337 EntryPoint deposit, stake + nonce') and frames it as an account-abstraction health check, naming the concrete address roles it applies to (paymaster, bundler-funded smart account, factory). An agent can distinguish this from generic balance/allowance siblings (chain_balances, chain_allowance) without opening the schema.

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

Usage Guidelines4/5

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

Clear context for when this is the right tool: AA health checks against EntryPoint v0.6/v0.7/v0.8, with an explicit default chain (base) and an enumerated list of alternatives (ethereum, optimism, arbitrum, polygon). No explicit 'when not to use' or pointer to a sibling tool for non-AA balance questions, so it falls short of the top band.

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.

Resources