Skip to main content
Glama

Agent safety checks: prompt-injection scan, honeypot check, x402 preflight + crypto data (USDC/x402)

TradeSignal: validate a setup

validate_setup
Read-only

Your own crypto setup checked against the live Binance market: geometry, stop vs 1h ATR, reward-to-risk, 1h/4h trend, RSI14, entry distance — valid | weak | invalid, score 0-100, every check. 0.02 USDC base (new payers 0.03, >10 payments 0.014; 1 pack call). After: historical_gate for the same symbol and bias.

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": {
      "symbol": "<symbol>",
      "bias": "<bias>",
      "entry": "<entry>",
      "stop": "<stop>"
    },
    "name": "validate_setup"
  }
}

Input Schema

NameRequiredDescriptionDefault
tp1No
tp2No
biasYes
stopYes
entryYes
symbolYesBinance spot pair, e.g. BTCUSDT
payment_txNoHash of a USDC transfer on Base to payTo (≥ the price, ≤ 72 h old) instead of an x402 signature.
bundle_tokenNoToken from buy_signal_pack, buy_subscription (pro/desk) or buy_enterprise instead of paying per call.
payer_addressNoWallet you pay from: the payment-required error quotes your tier (0 payments +50 %, 1-10 base, >10 -30 %) and, from the third payment, an upgrade with your own spend.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Changed1 schema field changed
    • changedInput schema / properties / payer_address / description
      Previous value: -"Wallet you pay from: the payment-required error quotes your tier (0 payments +50 %, 1-10 base, >10 -30 %) and, from the third payment, an upgrade with your own spend."New value: +"Wallet you pay from: the payment-required error quotes your tier (0 payments base price (new-payer surcharge paused), 1-10 base, >10 -30 %) and, from the third payment, an upgrade with your own spend."
  4. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds real behavioral context beyond them — live market data dependency, the exact verdict/score output, per-call pricing tiers (0.02 base, 0.03 new payers, 0.014 for >10 payments) and that a pack call covers it. It does not describe latency, failure modes, or what happens on an invalid symbol, but the cost and payment model disclosure is substantive.

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?

Two dense sentences, front-loaded with the core purpose and the check list before pricing and sequencing. The telegraphic colon-and-dash style is efficient but borders on cramped, and the pricing parenthetical is the least essential element in the first sentence.

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?

For a 9-parameter, no-output-schema tool the description still conveys the return shape (verdict plus 0-100 score plus every check) and the payment paths via bundle_token references to buy_signal_pack/buy_subscription. What remains thin is the semantics of the optional take-profit and payment parameters, which rely on the schema's own descriptions.

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 only 44%, so the description must carry more weight; it does clarify the semantics of entry/stop/tp1/tp2 indirectly by naming the checks (stop vs 1h ATR, reward-to-risk, entry distance) and reaffirms the symbol/bias pairing. However, it never explains units, whether tp1/tp2 are optional, or how bias interacts with the geometry checks, leaving the required-parameter meaning partly inferred.

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 object ('your own crypto setup checked against the live Binance market') and then enumerates exactly what is checked (geometry, stop vs 1h ATR, reward-to-risk, 1h/4h trend, RSI14, entry distance) plus the outcome shape (valid | weak | invalid, score 0-100). The 'After: historical_gate' line separates it from the closest sibling, so an agent can pick between them without opening a schema.

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?

Gives explicit sequencing guidance ('After: historical_gate for the same symbol and bias'), which tells the agent when in a workflow this belongs. It does not state when NOT to use it (e.g. batch cases that would route to validate_batch) or prerequisites for the setup inputs, so it stops short of full routing guidance.

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.

Resources