Skip to main content
Glama

ethereum-tools

by 0xGval
utility.js364 B
import { z } from "zod"; /** * Registers utility tools with the MCP server * @param {McpServer} server - The MCP server instance */ export function registerUtilityTools(server) { // Add an addition tool server.tool("add", { a: z.number(), b: z.number() }, async ({ a, b }) => ({ content: [{ type: "text", text: String(a + b) }] }) ); }

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/0xGval/evm-mcp-tools'

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