Skip to main content
Glama

Arbitrum is-contract check

arb_is_contract
Read-only

Check whether a 0x address on Arbitrum One is a smart contract or a plain wallet: bytecode size, and whether it is an EIP-1167 minimal proxy and which implementation it points to. Use before sending funds or approving a spender; for a fuller risk verdict use check_counterparty. A malformed address is rejected with 400, uncharged. Example: address=0xaf88d065e77c8cC2239327C5EDb3A432268e5831. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Input Schema

NameRequiredDescriptionDefault
addressYes0x address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the readOnly/openWorld annotations, the description discloses pricing ($0.01/call, first 25 free, failed calls free), that malformed input returns 400 uncharged, and that repeat calls are billed, which usefully explains the otherwise surprising idempotentHint=false. It omits return-format details such as the field names the agent will receive.

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?

Purpose and return facts are front-loaded, followed by usage guidance and then commercial/error details in a logical order. The pricing and free-tier clauses are dense but each supports a real agent decision, so there is little true waste.

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?

There is no output schema, and the description largely compensates by naming the results (contract vs wallet, bytecode size, proxy type, implementation). It stops short of describing the actual response shape and does not mention whether unverified or precompile addresses are handled, which is a modest gap for a one-parameter read tool.

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?

With only one parameter and 100% schema coverage, the schema carries the baseline; the description still adds value by providing a concrete example address and stating the validation outcome for a malformed address. Chain scoping (Arbitrum One only) is another useful constraint not present in the schema.

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 states a specific verb (check whether), a specific resource (a 0x address on Arbitrum One), and the returned facts (bytecode size, EIP-1167 minimal-proxy status, implementation address). It does not explain how it differs from the sibling arb_proxy, which also inspects proxy/implementation relationships, so sibling differentiation is incomplete.

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?

It gives a concrete decision context (before sending funds or approving a spender) and points to an alternative for a fuller risk verdict. The weakness is that the named alternative, check_counterparty, is not among the sibling tools listed, so the routing pointer may not resolve for an agent.

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