Skip to main content
Glama

rug_check_token

Analyze an ERC-20 token for rug-pull risks by checking owner powers, supply distribution, and liquidity lock status. Provides a risk score and verdict to guide safe trading decisions.

Instructions

Assess whether an ERC-20 token is a likely SCAM / rug pull BEFORE buying or interacting with it. Returns a risk score (0-100) and verdict (SAFE / CAUTION / HIGH RISK) built from LIVE on-chain reads: dangerous owner powers found in the token's deployed bytecode (mint, blacklist, pause, set-fee, set-max-tx), whether ownership is renounced, what % of supply the owner holds, whether a DEX liquidity pair exists and how deep it is, and whether the LP tokens are locked/burned (so the deployer can't pull liquidity). Use this whenever a user or agent is about to trade, approve, or add liquidity for an unfamiliar token. Chains: ethereum, base, bsc, polygon, arbitrum.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYesChain: ethereum, base, bsc, polygon or arbitrum.
addressYesThe token contract address (0x...).
Behavior4/5

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

With no annotations, the description carries the full burden. It details the on-chain checks performed (dangerous owner powers, ownership renounced, owner supply, DEX liquidity, LP lock/burn), offering transparency about data sources. However, it does not disclose potential limitations such as API rate limits, error handling, or behavior for non-ERC-20 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?

The description is two sentences, front-loaded with the tool's main purpose and outputs, followed by methodology and usage context. Every sentence adds value; no wasted words.

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?

Despite no output schema, the description adequately specifies the return values (risk score 0-100, verdict) and explains the logic. It is sufficient for a tool with two simple parameters, though it could benefit from noting the exact response format.

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 description coverage is 100%, so the schema already documents both parameters (chain and address). The description reiterates the chain options and address format without adding new semantic meaning beyond what the schema provides. Baseline of 3 is appropriate.

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?

The description clearly states the tool assesses whether an ERC-20 token is a likely scam/rug pull, with specific outputs (risk score 0-100 and verdict). It also names the sibling tool 'rug_check_many', which implies this tool checks a single token, distinguishing its purpose.

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 description explicitly recommends using this tool 'whenever a user or agent is about to trade, approve, or add liquidity for an unfamiliar token,' providing clear context. It does not explicitly mention when not to use it or contrast with alternatives beyond naming the sibling, but the usage guidance is still strong.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Baneado98/rug-check'

If you have feedback or need assistance with the MCP directory API, please join our Discord server