Skip to main content
Glama

OnchainCheck Token Risk

Optimism token snapshot

optimism_token_snapshot
Read-onlyIdempotent

Rug check and due-diligence snapshot of an ERC-20 token on OP Mainnet: 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 or Velodrome. 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": "optimism_token_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesToken contract address on OP Mainnet

Output Schema

NameRequiredDescriptionDefault
nameNostring, e.g. "Optimism"
riskNoobject
assetNoobject
chainNostring, e.g. "optimism"
flagsNoobject
notesNostring, e.g. "Privileged functions are detected from bytecode selectors a
ownerNostring, e.g. "0x5C4e7Ba1E219E47948e6e3F55019A647bA501005"
proxyNoobject
watchNoobject
checksNoobject
marketNoobject
symbolNostring, e.g. "OP"
addressNostring, e.g. "0x4200000000000000000000000000000000000042"
listingNonull, e.g. null
tradingNoobject
decimalsNonumber, e.g. 18
nativeUsdNoobject
notCheckedNoarray
totalSupplyNonumber, e.g. 4294963292.25
ownershipRenouncedNoboolean, e.g. false
privilegedFunctionsNoobject

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds traits the annotations cannot express: a paid call at $0.01 USDC on Base via x402 (a cost/auth prerequisite the agent must know before invoking), and the data-source rule that price/liquidity/FDV come from the deepest WETH or USDC pool on Uniswap v3 or Velodrome. It also scopes the output as 'facts only', setting expectations about interpretation.

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-loaded with purpose, then the returned fields, then the facts-only disclaimer and price. The field enumeration is long but each clause maps to a distinct returned datum; a slightly tighter list would read faster, but there is no filler.

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?

For a paid, single-parameter read tool, the description covers what it returns, where the data comes from, what it explicitly does not opine on, and the x402 payment requirement. With an output schema present, the field enumeration is arguably redundant but not harmful, and nothing an agent needs before calling is missing.

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% and the single 'address' parameter is fully documented with a regex pattern and chain context, so the schema carries the load. The description's 'on OP Mainnet' reinforces chain scope but adds no new syntax, format, or validation detail beyond the 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 and resource ('rug check and due-diligence snapshot of an ERC-20 token on OP Mainnet') and enumerates exactly what the snapshot contains, from risk score to liquidity. The chain qualifier 'on OP Mainnet' is the discriminator that separates it from the arbitrum/base/eth/polygon/solana siblings, so an agent can route by chain without opening a schema.

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

Usage Guidelines4/5

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

The framing 'rug check and due-diligence' plus 'Facts only, no buy or sell opinion' gives a clear usage context and implicitly routes verdict-seeking requests elsewhere (e.g. token_verdict). It stops short of explicit when-not conditions or naming a concrete alternative for the same chain, so it is strong context rather than a full decision rule.

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