Skip to main content
Glama

get_token_safety

[x402 Payment Required] Check the safety of an ERC-20 token on Base (or Ethereum/BSC). Uses Honeypot.is to simulate buy/sell transactions and detect honeypots, taxes, and contract risks. Returns a risk score (0-100), verdict (safe/caution/risky/danger), and detailed warnings. Use this before buying or trading any token. Price: $0.01 USDC. Requires x402 payment on Base network.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoChain ID: 8453 (Base, default), 1 (Ethereum), or 56 (BSC).8453
addressYesThe ERC-20 token contract address (0x + 40 hex characters).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / address / description
      Previous value: -"The ERC-20 token contract address on Base (0x + 40 hex characters)."New value: +"The ERC-20 token contract address (0x + 40 hex characters)."
    • addedInput schema / properties / chain
      Added value: +{
      +  "default": "8453",
      +  "description": "Chain ID: 8453 (Base, default), 1 (Ethereum), or 56 (BSC).",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses that the tool requires x402 payment, simulates buy/sell transactions (implying read-only), and returns specific outputs. It does not cover error handling or rate limits, but the key behavioral aspects (payment, method, and results) are transparent.

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 description is well-structured, front-loading the payment requirement and then explaining functionality, output, and usage. It is informative without being verbose, using concise sentences. A small deduction for slightly redundant phrasing like 'on Base (or Ethereum/BSC)' given the chain parameter, but overall it is efficient.

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?

The description covers the core aspects: what it does, how it works, what it returns, when to use, cost, and payment method. It does not mention edge cases like unsupported chains or invalid addresses, but for a typical call the agent has enough information. Since there is no output schema, the description adequately describes the return values.

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) with clear descriptions. The tool description adds no additional meaning beyond what the schema provides, such as address format or chain specifics, which are already in the schema. Baseline 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 checks token safety on specific chains using Honeypot.is, with a specific verb 'Check'. It distinctly differentiates from sibling tools like get_crypto_price and list_articles, which serve unrelated purposes. The mention of risk score, verdict, and warnings makes the purpose unambiguous.

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?

It explicitly says 'Use this before buying or trading any token', providing a clear usage context. However, it does not mention when not to use it or alternatives, though siblings are unrelated so no exclusion is needed. The guidance is sufficient for an agent to decide when to invoke it.

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