Skip to main content
Glama

Token security scan (honeypot check)

token_security
Read-only

Check an ERC-20 token contract for safety before buying by reviewing honeypots, fees, mint/blacklist powers, proxy upgrades, and holder concentration to return a risk score and clear red flags.

Instructions

Check an ERC-20 token contract for scams before buying: honeypot, buy/sell taxes, mint and blacklist powers, hidden owner, proxy upgrades, unverified code, holder concentration. Returns a risk score and plain-English red flags. Ethereum, Base, BNB, Arbitrum, Polygon, Optimism, Avalanche. Costs $0.003 per 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": {
      "chain": "<chain>",
      "address": "<address>"
    },
    "name": "token_security"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesChain: ethereum, base, arbitrum, optimism, polygon, bsc, avalanche.
addressYesToken contract address (0x...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description is consistent with a non-mutating scan. It adds value beyond the annotations by disclosing the output shape (risk score plus plain-English red flags), supported chains, and an explicit per-call price of $0.003, which matters for agent budgeting. Rate limits, latency, and behavior on unsupported chains remain unstated.

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?

Two sentences, front-loaded with the core action and the checklist of checks, then supporting facts (return shape, chains, price). Dense but every clause carries information; the check list is long but functional rather than padding.

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 two-parameter, annotation-backed scan with no output schema, the description covers purpose, scope of checks, return shape, supported chains, and cost. Nothing an agent needs in order to decide to call it or interpret the result 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 description coverage is 100%, with both chain and address documented, so the schema carries the parameter burden. The description's chain list is display names ('BNB') while the schema uses slugs ('bsc'), adding only light orientation rather than new syntax or constraint detail. Baseline 3 is appropriate.

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?

States a specific verb and resource ('Check an ERC-20 token contract') and enumerates exactly what is inspected: honeypot, taxes, mint/blacklist powers, hidden owner, proxy upgrades, unverified code, holder concentration. An agent knows precisely what the tool produces (risk score plus plain-English red flags). It does not explicitly differentiate itself from near-neighbors like token_report or dex_token, which keeps it from a 5.

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?

The phrase 'before buying' gives a concrete usage context, and the chain list implicitly scopes applicability. However, there is no when-not guidance, no mention of what to use instead for price/liquidity data or a broader token report, and no statement about what happens for non-ERC-20 or unverified contracts.

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