Skip to main content
Glama

address_safety

Evaluate the safety of any Base address before sending funds or calling it. Returns contract type, balances, transaction count, proxy status, ownership, and risk band.

Instructions

Structural safety profile for ANY Base address — an EOA or an arbitrary contract — before an agent sends funds to it, approves it, or calls it. Returns contract-vs-EOA, ETH + USDC balance, tx-count (activity), and for contracts: whether it is a recognised ERC-20, ownership state, a mint() selector, and whether it is an EIP-1967 upgradeable proxy (its logic can be swapped after you trust it). Coarse risk band + flags. On-chain reads only — no API key. POST { address }. Unpaid returns 402. (PAID x402 service — USDC on Base; the MCP server needs a funded wallet to settle.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoChain to check; only 'base' is supported (default)
addressYesAny address (0x…) on Base — an EOA or a contract
Behavior4/5

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

No annotations provided, so description carries full burden. It reveals the tool is read-only (on-chain reads), lists all returned fields, and discloses payment requirement (402 response, server needs funded wallet). No destructive behavior mentioned; it's a safe operation.

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?

Description is somewhat long but each sentence adds value: purpose, returned data, payment model. Front-loaded with main purpose. Could be slightly more concise, but no fluff.

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?

No output schema, but description thoroughly explains what the tool returns (contract status, balances, activity, contract details, risk band). Also covers payment context and chain limitation. Complete for a safety check tool.

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 100% with descriptions for both parameters (chain default 'base', address any 0x). Description adds context about address being EOA or contract and purpose, but does not add significant new semantic meaning beyond schema. Baseline 3 is appropriate.

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?

Description clearly states the tool provides a structural safety profile for any Base address (EOA or contract) before sending funds, approving, or calling. It specifically lists returned data (contract-vs-EOA, balances, tx-count, contract details, risk band) and distinguishes from siblings like token_safety by covering general addresses.

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?

Explicitly states when to use: before sending funds, approving, or calling a contract. Mentions on-chain read-only nature and paid service (402 if unpaid). Does not explicitly exclude scenarios or compare to alternatives, but context is clear enough.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/true402/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server