Skip to main content
Glama

nodetrail_scan_token

Quick contract scan, $0.01 per delivered call (USDC via x402). Input: address (mint or contract; on Sui a coin type, on NEAR an account), optional chain (one of 62 ids) and currency (XRPL). Output: JSON with ok, kind, chain, address, level (Low, Elevated, High or Unknown), findings, facts, coverage.not_checked, read_ms, data_age_s, paid, bucket "quick", settlement. Cached token/deep reads may be up to 8 minutes old. For deployer history, the $0.03 deep scan; for token+wallet+deep, trio at $0.05 vs $0.06 bought separately. An unpaid call returns the 402 quote; a retry with paymentSignature from your x402 client delivers the scan. Charged only if the scan is delivered. Example input: address=So11111111111111111111111111111111111111112, chain=solana. EXAMPLE DATA: the 200 example for GET /api/x402/v1/scan/token in https://nodetrail.io/openapi.json (placeholders, not a real scan).

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": "nodetrail_scan_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoOptional chain key (e.g. solana, base, ethereum). If omitted: a 40-character 0x address is read as base, an address containing :: as sui, anything else as solana.
addressYesToken mint or contract, coin type (Sui) or account (NEAR).
currencyNoXRP Ledger only: currency code when address is an issuer.
paymentSignatureNoOptional. A base64 x402 v2 PAYMENT-SIGNATURE value produced by your own x402 client after paying the 402 quote. Passed through verbatim; this server never creates one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it discloses per-call pricing, billing condition ('charged only if the scan is delivered'), the 402/paymentSignature auth handshake, and that cached token/deep reads may be up to 8 minutes stale (echoed in data_age_s). It also enumerates the response envelope including coverage.not_checked, paid, bucket and settlement.

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, then output shape, then pricing alternatives, then payment mechanics, which is the right priority order. It is dense to the point of being a run-on in places (the output field list is a comma-glut), and the trailing EXAMPLE DATA pointer to the openapi.json URL is low-value filler for an agent that already has the schema.

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 paid, mutating-side-effect tool with no output schema and no annotations, the description supplies everything an agent needs: cost, billing rule, payment retry protocol, cache staleness bound, full response field list, and the three-way routing against deep and trio scans. Nothing material about calling it correctly is left implicit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning beyond it: the 62-chain id space, the Sui coin-type / NEAR account interpretation of address, XRPL-only currency, and a concrete worked example (address=So11..., chain=solana). It does not explain the defaulting heuristic for chain, though the schema does, so the added value is real but partly duplicative.

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?

Opens with a specific verb+resource ('Quick contract scan') and immediately scopes it against the alternatives by price and depth: the $0.03 deep scan for deployer history and the $0.05 trio. An agent can distinguish this from nodetrail_scan_dev, nodetrail_scan_trio and nodetrail_scan_wallet without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to escalate (deployer history -> deep scan at $0.03; token+wallet+deep bundling -> trio at $0.05 vs $0.06 separately), and lays out the payment prerequisite sequence: unpaid call returns a 402 quote, retry with paymentSignature delivers the scan. Both the cost trade-off and the invocation precondition are spelled out.

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.