Skip to main content
Glama

Hyperliquid PreFlight

token_check

Read-only

Pre-buy check for a token on BNB Smart Chain or Base. Simulates a real buy and sell on PancakeSwap/Uniswap V2 (no transaction sent) to catch honeypots and measure buy/sell/transfer tax, plus liquidity, LP burn, owner powers (mint, blacklist, pause), proxy, copycat symbol, source verification, pair age. risk_level low/medium/high, reasons in English and Chinese. Not charged if no contract. Read-only; never places orders. Price $0.02 per call via x402 (see the server instructions for how to pay). Arguments are described in inputSchema.

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

Input Schema

NameRequiredDescriptionDefault
chainYesbsc or base
tokenYesToken contract address, 0x + 40 hex

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds substantial context beyond them: the simulation sends no transaction, the exact risk factors inspected (honeypots, buy/sell/transfer tax, liquidity, LP burn, owner powers, proxy, copycat symbol, source verification, pair age), the returned risk_level scale, and bilingual reasons. It also discloses the billing model ($0.02 per call via x402) and the no-contract exemption, which an agent cannot infer from any structured field.

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 purpose and mechanism, then the risk-factor inventory, then cost and edge cases. The long comma-separated factor list is dense but each item is informative; only minor tightening (e.g. grouping the owner-power items) would improve it.

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?

There is no output schema, and the description compensates by naming the return fields (risk_level low/medium/high, reasons in English and Chinese). It also covers the payment requirement, the free edge case, and the read-only guarantee, leaving nothing essential an agent needs before calling it.

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?

With two fully documented parameters at 100% schema coverage, the schema carries the semantics, and the description simply defers with 'Arguments are described in inputSchema.' It correctly implies the chain values (BSC/Base) align with the schema enum but adds no format or constraint detail of its own, so baseline 3 applies.

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 and resource ('Pre-buy check for a token') plus the exact chains (BNB Smart Chain, Base), and the mechanism (simulated buy/sell on PancakeSwap/Uniswap V2). An agent can distinguish this from address_check or cross_chain_address_check, which operate on addresses rather than token contracts.

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?

'Pre-buy check' clearly frames the moment of use, and the tool states it is never charged when no contract exists, which is useful selection context. It stops short of naming an alternative for non-token-address checks or stating when a token check is unnecessary, so it is clear but not exhaustive.

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.