Skip to main content
Glama

chain_voting_power

Read-only

Governance voting power — On-chain DAO voting power for a wallet: getVotes/getCurrentVotes, current delegate and delegation status (NOT_DELEGATED / SELF_DELEGATED / DELEGATED_TO_OTHER), token balance, votes received from other holders and share of total supply. token = UNI, ENS, COMP, OP, ARB or any ERC20Votes/Comp-style token address; optional chain (ethereum, base, arbitrum, optimism, polygon; auto for known symbols). Live eth_call at latest block. Price: $0.002 USDC (Base, via x402).

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": {
      "token": "<token>",
      "address": "<address>"
    },
    "name": "chain_voting_power"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesENS
addressYes0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that the call is a live eth_call at the latest block (no caching/staleness caveat needed), that it costs $0.002 USDC on Base via x402 (a payment requirement the agent must know before calling), and the exact delegation-state taxonomy it can return. Read-only and open-world behavior is already covered by annotations, and the description adds the operational facts annotations cannot express.

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?

Front-loads the purpose, then the supported tokens, execution model, and price — a sensible ordering with no filler sentences. It is dense with parentheticals and slightly overpacked for a single paragraph, but every clause carries information.

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?

With no output schema, the description carries the burden of describing returns and does so by enumerating every field it produces plus the delegation-status enum values. Gaps are minor: no error/failure behavior (e.g., non-ERC20Votes token) and the undocumented `chain` parameter create small ambiguity.

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

Parameters4/5

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

Schema coverage is 100%, but the schema descriptions are bare examples ('ENS', a sample address); the description adds real meaning by explaining that token accepts either a known symbol or any ERC20Votes/Comp-style contract address, and that chain resolution is automatic for known symbols. The one flaw is that it references an optional `chain` parameter that does not exist in the supplied input schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource pair: on-chain DAO voting power for a wallet, and enumerates the exact metrics returned (getVotes/getCurrentVotes, delegate, delegation status, balance, votes received, share of supply). This is clearly distinct from sibling tools like chain_balances or chain_aave_account, which cover holdings rather than governance weight.

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?

Usage is implied rather than prescribed: it lists supported token symbols (UNI, ENS, COMP, OP, ARB) or any ERC20Votes address, which tells the agent when the tool applies, but there is no explicit when-to-use versus alternatives and no statement about when this tool is the wrong choice (e.g., non-governance tokens).

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