Skip to main content
Glama

web3-mcp-server

by EmanuelJr

read_contract

Retrieve specific data from smart contracts on EVM chains by providing contract address, chain ID, ABI, function name, and arguments.

Instructions

Read a value from a contract

Input Schema

NameRequiredDescriptionDefault
abiYes
argsYes
chainIdYes
contractAddressYes
functionNameYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "abi": { "type": "string" }, "args": { "items": { "type": "string" }, "type": "array" }, "chainId": { "type": "number" }, "contractAddress": { "pattern": "^0x", "type": "string" }, "functionName": { "type": "string" } }, "required": [ "contractAddress", "chainId", "abi", "functionName", "args" ], "type": "object" }
Install Server

Other Tools from web3-mcp-server

Related Tools

    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/EmanuelJr/web3-mcp-server'

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