Skip to main content
Mako has 16 built-in tools that she calls autonomously during inference. Tool execution happens entirely server-side in the gateway — you receive the final answer, not the raw tool calls.

Tool categories

CategoryToolsDescription
On-chain9 toolsRead blockchain state across 8 EVM networks
Market data1 toolLive crypto prices from CoinGecko
Web4 toolsSearch, page extraction, tweets, music
Knowledge1 toolCurated Base ecosystem knowledge base
Meta1 toolSelf-documenting tool listing

How tool calling works

When you send a message to the chat completions endpoint, the gateway:
  1. Sends tool definitions to the model alongside your message. The model sees all 16 tools and their parameter schemas.
  2. Checks the response for tool calls. If the model outputs a structured tool call (or embeds one in XML/JSON within its text), the gateway parses and executes it.
  3. Feeds results back. The tool result is formatted into human-readable text and added to the conversation as a tool message.
  4. Loops. The model sees the tool result and can either respond or call another tool. This repeats for up to 8 rounds.

Auto-chaining

The gateway adds intelligence on top of the model’s tool calls:
  • Tweet auto-reading: When web_search returns results containing Twitter/X URLs, the gateway automatically calls read_tweet on those URLs without waiting for the model to request it.
  • Page auto-extraction: The top non-social-media URL from search results is automatically extracted via web_extract for additional context.
  • Stall detection: If the model responds with “let me check that” without actually calling a tool, the gateway nudges it with a direct instruction to make the appropriate tool call.

Tool timeout

All tools have a 15-second timeout. If the underlying RPC call or API request takes longer, the tool returns an error and the model continues with whatever information it has.

All tools

ToolParametersDescription
get_eth_balanceaddress, chain?Native token balance (ETH, MATIC, etc.)
is_contractaddress, chain?Check if address is contract, EOA, or EIP-7702 delegated
get_token_balanceaddress, token_address, chain?ERC-20 token balance
get_token_infotoken_address, chain?Token name, symbol, decimals, total supply
get_gas_pricechain?Current gas price in Gwei
get_blockchain?Latest block number, timestamp, tx count, base fee
get_tx_countaddress, chain?Transaction count (nonce)
resolve_ensnameENS name → Ethereum address
get_transactionhash, chain?Transaction details by hash
get_crypto_pricecoinLive USD price, 24h change, market cap
web_searchqueryWeb search (Firecrawl → DDG → Bing fallback)
web_extracturlExtract text content from a URL
read_tweettweetRead a tweet by URL or ID (via FXTwitter)
find_musicquerySearch for music on YouTube
knowledge_searchquerySearch the Base ecosystem knowledge base
list_toolsquery?List and filter available tools