Skip to main content
Glama

erc20_balance

Read-only Base ERC-20 balance ($0.003). AutoPay Agent Toolkit.

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>",
      "token": "<token>"
    },
    "name": "erc20_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYes
addressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden; it does disclose that the operation is read-only (non-mutating) and even surfaces a per-call cost of $0.003, which is useful context an agent won't get elsewhere. It omits error behavior (unfunded/invalid address, unverified token) and any hint of response shape, leaving real gaps for a zero-annotation tool.

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?

Extremely compact and front-loaded with the operative fact (read-only ERC-20 balance on Base). The trailing 'AutoPay Agent Toolkit' is branding filler, and the raw '$0.003' lacks framing, but there is no wasted prose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter read, the description covers what the tool does and where it runs, but with no annotations and no parameter documentation the agent is left guessing on input formats and failure modes. Slightly more on the token/address parameter types would make it complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description says nothing about the two required parameters. Critically, it does not resolve whether 'token' is a contract address or a symbol, nor whether 'address' is the holder wallet — an ambiguity that directly affects whether the call succeeds. The parameter names alone are self-descriptive but not sufficient.

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?

States a specific verb and resource: reading an ERC-20 token balance, plus the network (Base) and the read-only nature. An agent can immediately understand what the call returns. It does not explicitly differentiate itself from siblings like wallet or chain_contract, which keeps it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this versus chain_contract, wallet, or other chain tools, and no stated prerequisites (e.g., token must be a contract address, address format). The read-only tag hints at the use case but nothing is explicit.

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