Skip to main content
Glama

Base Token Audit — ERC-20 honeypot check and swap route data

Honeypot and rug-pull check for an ERC-20 before swap or approve

token_risk
Read-only

Honeypot and rug-pull check for an ERC-20 on Base or Ethereum before a swap, approval or signature, read straight from the contract: upgradeable proxy (EIP-1967, beacon, clone), owner powers in the bytecode (mint, pause, blacklist, fee or max-tx setters, trading switch, burn from any address), owner renounced or active and the owner's share of supply; known issuers labeled. Risk low, medium or high with reasons. Signals, not investment advice. Free with a key (500 calls) or 5 calls a day without one; then 0.02 USDC per call via x402, or 1 call from a key. After: preflight before your agent pays or signs on the site that offers this token (the result's next field has the exact call).

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>"
    },
    "name": "token_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNo
tokenYes
payment_txNoHash of a USDC transfer on Base to payTo (≥ the price, ≤ 72 h old) instead of an x402 signature.
bundle_tokenNoYour key instead of paying per call: free (500 calls, POST /key) or bought by card. The connection header X-Bundle-Token works too.
payer_addressNoWallet you pay from (optional; the x402 price is the same for every address).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / bundle_token / description
      Previous value: -"Token from buy_signal_pack or buy_pack_with_card instead of paying per call."New value: +"Your key instead of paying per call: free (500 calls, POST /key) or bought by card. The connection header X-Bundle-Token works too."
    • changedInput schema / properties / payer_address / description
      Previous value: -"Wallet you pay from: the payment-required error quotes your tier (0 payments base price (new-payer surcharge paused), 1-10 base, >10 -30 %) and, from the third payment, an upgrade with your own spend."New value: +"Wallet you pay from (optional; the x402 price is the same for every address)."
  2. Changed1 schema field changed
    • changedInput schema / properties / bundle_token / description
      Previous value: -"Token from buy_signal_pack, buy_subscription (pro/desk) or buy_enterprise instead of paying per call."New value: +"Token from buy_signal_pack or buy_pack_with_card instead of paying per call."
  3. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare readOnly and openWorld; the description adds substantial behavior beyond them, including the pricing ladder (free with a key at 500 calls, 5 calls/day without one, then 0.02 USDC per call via x402), the risk output shape (low/medium/high with reasons), issuer labeling, and a signals-not-advice disclaimer. These are precisely the operational details an agent needs before calling.

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 the core purpose and the check list, with the payment and follow-up details trailing. The sentences are dense run-ons and the pricing clause is wordy, but nearly every element earns its place for a paid, multi-chain risk tool.

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 responsibly sketches the return (risk tier with reasons, labeled issuers, a next field for the follow-up call) and discloses the payment/rate-limit model. It could say more about the factors that raise risk or what 'next' contains, but an agent has enough to call it correctly.

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 60%, with descriptions already on payment_tx, bundle_token and payer_address; chain and token are undocumented in the schema but implied by 'an ERC-20 on Base or Ethereum' and 'read straight from the contract'. The payment-model narration helps explain why payment_tx and bundle_token exist, but the description adds little about required formats or parameter interactions beyond that.

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 set and resource: honeypot and rug-pull check for an ERC-20 on Base or Ethereum, read straight from the contract. It enumerates the actual checks (EIP-1967 proxy, owner powers like mint/pause/blacklist/fee setters, renouncement, owner supply share), so an agent knows exactly what this does and how it differs from a payment sibling like buy_pack_with_card.

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?

Gives clear timing guidance: run it before a swap, approval or signature, and again as preflight before the agent pays or signs on the offering site, pointing to the result's next field for the follow-up call. It stops short of explicit when-not conditions or naming alternative tools, but the context is unambiguous.

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.