Skip to main content
Glama

chain_smart_account

Read-only

Smart account inspector (ERC-4337, EIP-7702, Safe) — What kind of wallet is this address? Classifies EOA, EIP-7702 delegated EOA (with delegate), ERC-4337 smart account or Safe multisig on base, ethereum, arbitrum, optimism or polygon. Reads entryPoint(), ERC-7579 accountId (Kernel, Nexus...), owner/ownerCount, Safe threshold, EIP-1967 implementation, and EntryPoint v0.6/v0.7/v0.8 deposits and key-0 nonces (UserOperations executed). Verdict EOA, EIP7702_SMART_EOA_4337, EIP7702_DELEGATED_EOA, ERC4337_SMART_ACCOUNT, SAFE_MULTISIG or CONTRACT_NOT_SMART_ACCOUNT. Required: address. Optional: chain (default base). 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": {
      "chain": "<chain>",
      "address": "<address>"
    },
    "name": "chain_smart_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesethereum
addressYes0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so safety is covered; the description adds substantive behavior beyond that — it names the exact on-chain reads performed (entryPoint(), ERC-7579 accountId, owner/ownerCount, Safe threshold, EIP-1967 implementation, EntryPoint v0.6/0.7/0.8 deposits, key-0 nonces) and discloses a paid x402 call at $0.003 USDC on Base. It does not say what happens for non-contract/invalid addresses or discuss rate limits, so it stops short of the top score.

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?

The identity and the core question are front-loaded, and the pricing/requirements line closes it cleanly. It is a single dense block with several run-on enumerations, but nearly every clause conveys callable information (chains, decoded fields, verdicts, cost) rather than filler.

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 does the necessary work of listing the exact verdict enums an agent will receive, which is the key thing needed to interpret results. It also covers cost and chain scope. Minor gaps remain: no error/fallback behavior for non-contract addresses and no indication of how the extra read data (deposits, nonces) is shaped in the response.

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 coverage is nominally 100%, but the schema 'descriptions' are only example values ('ethereum', a sample 0x address), so the description carries most of the real meaning: it enumerates the five supported chains and states chain defaults to base. That value is undercut by a conflict — the schema marks chain as required while the description calls it optional with a default — which an agent could stumble over when constructing the call.

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?

The description states a precise verb-and-resource pair — classify an address as EOA, EIP-7702 delegated EOA, ERC-4337 smart account, Safe multisig, or plain contract — and frames it as the answer to a concrete question ('What kind of wallet is this address?'). It enumerates the exact verdict strings returned, which lets an agent distinguish it from generic siblings like chain_contract_info or chain_address_summary without opening a schema.

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 framing question and the 'Required: address / Optional: chain' line imply clearly when the tool is the right pick, and the supported-chain list scopes it. However, there is no explicit when-not guidance and no named alternative for adjacent cases (e.g., a plain contract-info or address-summary sibling), so the agent must infer the boundary itself.

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