Skip to main content
Glama

OnchainCheck Token Risk

Eth token snapshot

eth_token_snapshot
Read-onlyIdempotent

Rug check and due-diligence snapshot of an ERC-20 token on Ethereum: a 0-100 risk score with reasons, name, symbol, decimals, supply, owner and whether ownership is renounced, upgradeable-proxy detection, owner-only functions found in the bytecode (mint, pause, blacklist, fee changes), and USD price, liquidity and FDV from the deepest WETH or USDC pool on Uniswap v3. Facts only, no buy or sell opinion. Costs $0.01 USDC on 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": {
      "address": "<address>"
    },
    "name": "eth_token_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesToken contract address on Ethereum

Output Schema

NameRequiredDescriptionDefault
nameNostring, e.g. "Uniswap"
riskNoobject
assetNoobject
chainNostring, e.g. "eth"
flagsNoobject
notesNostring, e.g. "Privileged functions are detected from bytecode selectors a
ownerNonull, e.g. null
proxyNoobject
watchNoobject
checksNoobject
marketNoobject
symbolNostring, e.g. "UNI"
addressNostring, e.g. "0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984"
listingNonull, e.g. null
tradingNoobject
decimalsNonumber, e.g. 18
nativeUsdNoobject
notCheckedNoarray
totalSupplyNonumber, e.g. 1000000000
ownershipRenouncedNonull, e.g. null
privilegedFunctionsNoobject

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, non-destructive profile, and the description adds genuinely non-structured behavior: the paid x402 model ($0.01 USDC on Base), the data provenance (deepest WETH or USDC Uniswap v3 pool), and an explicit no-opinion stance. It stops short of rate limits, caching, or failure behavior for tokens without a qualifying pool.

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?

One long but front-loaded sentence that leads with the purpose and then lists concrete outputs; every clause carries information. It is dense rather than padded, though breaking the output enumeration and the payment note into separate sentences would improve scanability.

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

Completeness5/5

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

Given a one-parameter tool with an output schema, full annotation coverage, and an enumerated return contract, nothing an agent needs to decide to call it is missing. Chain scope, cost, and data sources are all disclosed.

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?

Schema coverage is 100% with a single required, pattern-validated address already described as 'Token contract address on Ethereum'. The description adds nothing about the address parameter beyond restating the chain scope, so the baseline 3 applies.

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?

Specific verb and resource: a rug-check/due-diligence snapshot of an ERC-20 token, with an enumerated output set (risk score, ownership, proxy detection, owner-only functions, price/liquidity/FDV). The 'on Ethereum' scoping and 'facts only, no buy or sell opinion' phrasing implicitly separate it from the chain-specific snapshot siblings and from verdict-style tools, though no sibling is named explicitly.

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 only implied: an agent can infer this is for pre-trade due diligence on an Ethereum ERC-20, and 'facts only, no opinion' hints at when a verdict tool would be preferred instead. There is no explicit when-to-use, when-not-to-use, or named alternative.

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