Skip to main content
Glama

OnchainCheck Token Risk

Base token snapshot

base_token_snapshot
Read-onlyIdempotent

Rug check and due-diligence snapshot of an ERC-20 token on Base: 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 Aerodrome. 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": "base_token_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesToken contract address on Base

Output Schema

NameRequiredDescriptionDefault
nameNostring, e.g. "Degen"
riskNoobject
assetNoobject
chainNostring, e.g. "base"
flagsNoobject
notesNostring, e.g. "Privileged functions are detected from bytecode selectors a
ownerNostring, e.g. "0x704Ec5C12Ca20a293C2C0B72B22619A4231f3c0d"
proxyNoobject
watchNoobject
checksNoobject
marketNoobject
symbolNostring, e.g. "DEGEN"
addressNostring, e.g. "0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed"
listingNonull, e.g. null
tradingNoobject
decimalsNonumber, e.g. 18
nativeUsdNoobject
notCheckedNoarray
totalSupplyNonumber, e.g. 35835495265.8
ownershipRenouncedNoboolean, e.g. false
privilegedFunctionsNoobject

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description still earns credit by disclosing that the call costs $0.01 USDC on Base via x402 — a paid-call constraint an agent must know before invoking — plus the data provenance (deepest WETH/USDC pool on Uniswap v3 or Aerodrome) and the facts-only stance. It does not mention rate limits or failure modes for unknown tokens.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and chain are front-loaded in the first clause, the payload enumeration follows, and the closing two sentences carry the two facts an agent most needs (facts-only, paid via x402). There is no filler; the long field list is dense but every item is decision-relevant.

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 single-address read tool with full annotations and an output schema, this is complete: what it returns, where the price data comes from, that evidence is factual not advisory, and that invocation costs money. Return-value detail beyond this is rightly left to the output schema.

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, and the schema already documents it fully with a regex pattern and "Token contract address on Base", so schema coverage is 100% and the baseline of 3 applies. The description adds nothing about the address beyond restating that the token is on Base; no guidance on malformed, non-ERC-20 or non-Base addresses.

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 Base" — then enumerates exactly what the snapshot contains (risk score, owner/renouncement, proxy detection, owner-only functions, price/liquidity/FDV). The chain qualifier "on Base" separates it from the sibling eth/arbitrum/polygon/solana snapshots without needing to name them.

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: it is a facts-only pre-trade due-diligence call, and "no buy or sell opinion" implicitly points an agent toward a verdict-style sibling for opinions, but no alternative is named and no when-not condition is stated. An agent can infer intent but gets no explicit routing guidance.

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