Skip to main content
Glama

OnchainCheck Token Risk

Token risk check

token_risk_check
Read-onlyIdempotent

Rug and honeypot check for a token on Base, Ethereum, Arbitrum, Optimism, Polygon or Solana: a simulated buy and sell against its main pool (can it be sold, buy/sell tax; nothing is sent), a 0-100 risk score with reasons, pass/warn/fail checks, the deployer's past launches, any tax raised since we first saw it, price and liquidity. Send the fingerprint back as since to see what changed. Not advice. 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": "token_risk_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoChain the token is on; defaults to solana for base58 addresses, otherwise base
sinceNowatch.fingerprint from an earlier call; adds what changed since then
addressYesToken contract (EVM) or mint (Solana) address

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
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description discloses behavior an agent genuinely needs: the buy and sell are simulated and 'nothing is sent', so there is no on-chain side effect, and the call costs $0.01 USDC on Base via x402, a payment requirement invisible in schema and annotations. It also flags the 'not advice' disclaimer and the diff capability, none of which are captured by structured fields.

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?

The capability list is front-loaded in the first sentence, followed by three short, high-value sentences covering the diff loop, the disclaimer, and the price. It is dense but nearly every clause carries information. Slight deduction for the packed enumeration making the opening sentence long to parse.

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, multi-chain, read-only analysis tool with an output schema, the description covers the gaps that matter: cost and payment rail, absence of side effects, chain coverage, the follow-up diff pattern, and a liability disclaimer. Return-value detail is redundant with the output schema but not harmful. An agent has everything needed to decide and invoke.

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%, so the baseline is 3, but the description adds workflow meaning beyond the schema: it explains that the fingerprint is sent back as 'since' to see what changed, which tells the agent how the parameter is actually sourced and used. It also restates the supported chain set, reinforcing the enum. Modest but real added value.

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?

The description opens with a specific verb+resource framing ('Rug and honeypot check for a token') and enumerates concrete outputs: simulated buy/sell, 0-100 risk score, pass/warn/fail checks, deployer history, price and liquidity. It is unambiguous what the tool returns. It does not, however, explicitly contrast itself with lookalike siblings such as token_quick_check or token_verdict, so an agent must infer the depth difference.

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 stated: you run it on a token before trusting it, and you re-run it by passing a fingerprint back as 'since'. There is no explicit when-not guidance, no prerequisites, and no named alternative for a lighter-weight check even though the sibling set contains several. The 'since' loop is the only concrete usage instruction.

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