Skip to main content
Glama
Trading Signals MCP

Trading Signals MCP

Token Pre-Trade Pack ($0.015)

token_pre_trade
Read-only

Check a Solana or Base token and optional counterparty wallet before buying or paying: get a GO/CAUTION/STOP safety verdict, OFAC screening, and USDC pay-readiness with plain reasons.

Instructions

Price: $0.015 USDC per call on Base, paid automatically via x402 from X402_PRIVATE_KEY. One GO / CAUTION / STOP answer before buying or paying with a token: the Solana or Base token safety verdict, an OFAC sanctions screen of the token's mint/freeze authority or owner and of an optional counterparty wallet, and that wallet's pay-readiness (balances, canPay, shortfalls, approvals) for a USDC amount, with plain reasons. Cheaper than calling the parts separately. Heuristic, not an audit, legal or investment advice. Failed calls (4xx/5xx) are not charged. Informational only, not investment advice.

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

Input Schema

NameRequiredDescriptionDefault
chainNoToken chain (default: detected from the address)
tokenYesSolana mint (base58) or Base ERC-20 address (0x…), e.g. DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 for BONK
amountNoUSDC the wallet wants to pay (default 1; needs wallet)
walletNoOptional counterparty or paying wallet (Base 0x… or Solana base58)
walletChainNoWallet chain (default: detected)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.15

TDQS

A4/5.0
Behavior4/5

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

Goes well beyond the readOnly/openWorld annotations: discloses price, the x402 payment path and X402_PRIVATE_KEY requirement, that 4xx/5xx calls are not charged, and that the verdict is a heuristic rather than an audit. Missing only things like rate limits or latency expectations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and dense, but the price appears in both the title and the first sentence, and the disclaimer is effectively stated twice ("Heuristic, not an audit, legal or investment advice" and "Informational only, not investment advice"). Trimming the duplicate would tighten it without losing information.

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?

With no output schema and a compound three-part analysis, the description does the necessary work: it names the verdict, the screened entities, and the pay-readiness elements (balances, canPay, shortfalls, approvals) plus "plain reasons." It could say more about the exact response shape, but an agent has enough to call it correctly.

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 100%, so the baseline is 3. The description adds a little meaning — that the wallet is treated as a counterparty (sanctions-screened) or as the paying wallet (pay-readiness), and that amount is denominated in USDC — but most semantics live in the schema.

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+resource: it returns one GO / CAUTION / STOP answer before buying or paying with a token, and enumerates the three bundled checks (safety verdict, OFAC sanctions screen, wallet pay-readiness). An agent can tell this is an aggregate pack rather than any single sibling check.

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?

"One GO / CAUTION / STOP answer before buying or paying with a token" gives a clear trigger, and "Cheaper than calling the parts separately" signals it as the alternative to calling the individual checks. It stops short of stating explicit exclusions (e.g. when a single verdict tool is preferable).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.