Skip to main content
Glama

Top token holders

top_balances
Read-only

Lists top holders of an indexed EVM token contract by balance, descending from Transfer events; check complete_history to distinguish holders from net flows since indexing began.

Instructions

Top holders of the indexed EVM token contract, descending, derived from its Transfer events (IVM view; i128 base units as decimal strings). The result carries complete_history. When true these are holders (holders, balance). When false or null they are only net flows since indexed_from (net_receivers, net_flow_since_indexed_from, with a note) and must not be reported as holders or balances.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "top_balances"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo

Output Schema

NameRequiredDescriptionDefault
noteNoWhat the figures are, when they are not balances.
itemsNoHolders or net receivers, descending.
indexed_fromNoThe first block indexed.
complete_historyNoWhether the figures are balances.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv5.23.0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "complete_history": {
      +      "description": "Whether the figures are balances."
      +    },
      +    "indexed_from": {
      +      "description": "The first block indexed."
      +    },
      +    "items": {
      +      "description": "Holders or net receivers, descending."
      +    },
      +    "note": {
      +      "description": "What the figures are, when they are not balances."
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observedv5.21.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description carries real weight here and delivers: it discloses the IVM view, i128 base units as decimal strings, and the complete_history flag that changes the meaning of the whole result set. That is substantial context beyond the structured fields, though it could say more about the note attached when history is incomplete.

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?

Three sentences, front-loaded with the resource and ordering, followed by the caveat that most affects correctness. The parentheticals (IVM view, i128 base units) are dense but each carries meaning; nothing is redundant.

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?

An output schema exists, so return shape need not be explained, and the description still covers the one thing that would cause a wrong answer: the distinction between holders and net receivers. Only the limit parameter's behavior is left unexplained.

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

Parameters3/5

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

Only one parameter, limit, and schema description coverage is 0%, so the description is the only place its meaning could be established, and it says nothing about it (default 20, maximum, effect on ordering). The parameter is conventional enough that an agent can still call it, so this is a gap rather than a blocker.

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?

Names a specific resource and scope: top holders of the indexed EVM token contract, ordered descending, derived from Transfer events. The verb+resource pairing is precise enough to separate it from a plain balance lookup, though it never explicitly contrasts itself with sibling tools such as balance or entity.

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

Usage Guidelines3/5

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

The description gives strong conditional guidance for interpreting results (if complete_history is false or null, do not report as holders or balances), which is genuine when-to-use-it-this-way guidance. However, it offers no guidance on choosing this tool over alternatives, so an agent must infer that from the name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.