Skip to main content
Glama

Arbitrum contract info

arbitrum_contract_info
Read-onlyIdempotent

Identify what lives at a Arbitrum One address: wallet (EOA, including EIP-7702 delegation) or contract, which token standard it implements (ERC-20, ERC-721, ERC-1155), name and symbol, upgradeable-proxy implementation and admin, smart-wallet proxies, bytecode size, nonce and ETH balance. Costs $0.005 USDC on 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": "arbitrum_contract_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesAny address on Arbitrum One

Output Schema

NameRequiredDescriptionDefault
kindNostring, e.g. "ERC-20 token"
nameNostring, e.g. "USD Coin"
chainNostring, e.g. "arbitrum"
proxyNoobject
symbolNostring, e.g. "USDC"
addressNostring, e.g. "0xaf88d065e77c8cC2239327C5EDb3A432268e5831"
decimalsNonumber, e.g. 6
standardsNoobject
isContractNoboolean, e.g. true
totalSupplyNostring, e.g. "2595465640.458979"
bytecodeBytesNonumber, e.g. 1852
nativeBalanceNostring, e.g. "0"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "address": {
      +      "description": "string, e.g. \"0xaf88d065e77c8cC2239327C5EDb3A432268e5831\""
      +    },
      +    "bytecodeBytes": {
      +      "description": "number, e.g. 1852"
      +    },
      +    "chain": {
      +      "description": "string, e.g. \"arbitrum\""
      +    },
      +    "decimals": {
      +      "description": "number, e.g. 6"
      +    },
      +    "isContract": {
      +      "description": "boolean, e.g. true"
      +    },
      +    "kind": {
      +      "description": "string, e.g. \"ERC-20 token\""
      +    },
      +    "name": {
      +      "description": "string, e.g. \"USD Coin\""
      +    },
      +    "nativeBalance": {
      +      "description": "string, e.g. \"0\""
      +    },
      +    "proxy": {
      +      "description": "object"
      +    },
      +    "standards": {
      +      "description": "object"
      +    },
      +    "symbol": {
      +      "description": "string, e.g. \"USDC\""
      +    },
      +    "totalSupply": {
      +      "description": "string, e.g. \"2595465640.458979\""
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely valuable context the annotations do not: a concrete cost of $0.005 USDC on Base paid via x402, which an agent must know before calling. It does not cover error behavior for malformed or empty addresses.

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?

Two sentences, front-loaded with the core purpose and closed with the payment cost. The returned-field list is long but each item is a distinct, actionable output rather than filler. The phrasing "a Arbitrum" is a minor grammatical blemish.

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 an output schema present, the description needn't restate return values, and rich annotations cover safety. The cost disclosure fills the main remaining gap. It would be complete with a note on how non-contract, self-destructed, or invalid addresses are reported.

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?

There is a single parameter with 100% schema description coverage, including a regex pattern, so the schema already does the heavy lifting. The description corroborates by implying any Arbitrum One address is acceptable but adds no format or edge-case detail beyond the schema. Baseline 3 applies.

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?

"Identify what lives at an Arbitrum One address" gives a specific verb and resource, then enumerates the exact determinations it returns (EOA vs contract, token standard, proxy implementation/admin, bytecode size, nonce, ETH balance). The chain scoping distinguishes it from base_contract_info and eth_contract_info without needing to open their schemas.

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 implied rather than stated: an agent can infer this is the Arbitrum variant of contract inspection, but there is no explicit 'use this when X, use sibling Y when Z' routing and no preconditions (e.g., address must be on Arbitrum One, behavior on non-existent addresses). Adequate but leaves selection to inference from the name.

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