Skip to main content
Glama

preflight_token_risk

Check a token contract before trading it. Returns a honeypot transfer verdict, transfer tax percentage, and owner privileges as a severity-scored ScanReport. Paid call ($0.02 USDC on Base mainnet) via x402; DEV_MODE=1 skips payment.

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": {
      "address": "<address>"
    },
    "name": "preflight_token_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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 that the call is paid ($0.02 USDC on Base mainnet via x402) and that DEV_MODE=1 bypasses payment, which is exactly the kind of pre-invocation cost/auth fact an agent needs. It does not cover failure modes, rate limits, or latency, so it stops short of a 5.

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?

Three short sentences: purpose, return shape, then cost. Front-loaded and every sentence carries information; nothing is padded or redundant.

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?

An output schema exists, so the description is not obliged to detail ScanReport internals, and it correctly summarizes the headline fields instead. For a one-parameter tool this is nearly complete; only error behavior and multi-chain scope 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 coverage is 0% for the single parameter, but the description implies the address is the token contract address rather than a wallet or pool, which is a meaningful disambiguation. It adds no format details (chain, checksum, accepted address forms), so the gain over the bare schema is modest.

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 a token contract before trading, plus the exact outputs (honeypot transfer verdict, transfer tax, owner privileges as a severity-scored ScanReport). It is clear enough to distinguish from generic checks, though it never names which sibling (preflight_check vs preflight_sim) to prefer.

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?

'Before trading it' implies a clear use moment, which is real guidance. But there are no exclusions, no prerequisites beyond payment, and no routing advice relative to the five sibling preflight tools, leaving selection largely to inference.

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.