Skip to main content
Glama

Token verdict before a trade: allow, review or block (x402)

Can I buy and sell this token? (allow / review / block)

token_verdict

Pre-trade check for one ERC-20: simulates a buy and a sell on its pool, reads owner powers (mint, pause, blacklist, trading switches) and the deployer's past launches, and answers decision allow, review or block with grade A-F, is_honeypot, tradeable, buy and sell tax and a one-line reason. $0.01 USDC per call via x402 (0.005 on a prepaid verdict pack key); a check that ends without a grade is not charged.

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": {
      "tokenAddress": "<tokenAddress>"
    },
    "name": "token_verdict"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoEVM chain (default base)base
x_paymentNox402 payment: base64 PaymentPayload for the invoice returned by an unpaid call (same value as the X-PAYMENT / PAYMENT-SIGNATURE header).
tokenAddressYesERC-20 token contract address, 0x + 40 hex chars

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the simulation method, what owner powers are read, that deployer history is factored in, the pricing model ($0.01 USDC via x402, 0.005 on a prepaid pack key), and that an ungraded check is not charged. It omits rate limits, latency, and failure-mode behavior beyond the no-charge guarantee.

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?

A single dense sentence front-loads the core purpose before the mechanics and the pricing, and every clause adds information an agent needs. It is long and run-on, however, and the payment detail could be split into its own sentence for easier scanning.

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?

There is no output schema, yet the description enumerates the returned fields (decision, grade A-F, is_honeypot, tradeable, buy/sell tax, one-line reason) plus the payment flow and no-charge condition. That covers nearly everything needed to call and interpret it; only error handling and per-chain behavioral differences are unaddressed.

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 chain, tokenAddress, and x_payment are already documented in the input schema, including the default chain and the address format. The description adds no parameter-level detail such as supported-chain caveats or how the payment payload is obtained beyond what the schema states. 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: a pre-trade check that simulates a buy and a sell on one ERC-20's pool, inspects owner powers and deployer history, and returns an allow/review/block verdict. The enumerated outputs (grade, is_honeypot, tradeable, taxes, reason) make the deliverable concrete. It does not explicitly contrast itself with token_safety or honeypot_check, so sibling differentiation is left implicit.

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 phrase 'Pre-trade check for one ERC-20' clearly frames the decision point at which the tool applies, which is more than most definitions offer. It stops short of naming alternatives or stating exclusions, so an agent must infer when token_safety or honeypot_check would be the better call.

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.