Skip to main content
Glama

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

TradeSignal · validate batch

validate_batch
Read-only

Up to 10 crypto trade setups checked at once against the live Binance spot market: geometry, stop vs 1h ATR, reward-to-risk, 1h/4h trend, RSI14 and entry distance for each, returning valid, weak or invalid with a 0-100 score and the failed checks per setup. 0.10 USDC base (new payers 0.15, >10 payments 0.07; 2 pack calls). After: historical-gate for the best valid setup (the result's next field has the exact call).

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": {
      "setups": "<setups>"
    },
    "name": "validate_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
setupsYes
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.3/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds the substantive context an agent needs: evaluation happens against a live external market, results are classified into valid/weak/invalid with a 0-100 score and per-setup failed checks, and the call is metered (0.10 USDC base, 0.15 new payers, 0.07 after 10 payments, 2 pack calls). Nothing contradicts the read-only annotation — validation is a pure read against the market.

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 what gets checked and what comes back; the pricing parenthetical and the 'After:' line are compact and each earns its place. The first sentence is long and comma-dense, which costs a point but there is no filler.

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, the description still covers the return shape (verdict, score, failed checks) and the payment paths are documented in the schema. Minor gaps remain: behavior for more than 10 setups, and whether results are cached or freshly recomputed against live data.

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 75% and the schema already documents symbol format, payment_tx, bundle_token and payer_address tiers in detail. The description adds only the 10-setup ceiling and the pricing-tier framing, not new semantics for individual parameters. Baseline 3 applies since the schema carries most of the meaning.

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 resource ('crypto trade setups checked ... against the live Binance spot market') and enumerates exactly what is evaluated: geometry, stop vs 1h ATR, reward-to-risk, 1h/4h trend, RSI14, entry distance. The 'Up to 10 ... at once' phrasing implicitly contrasts with the single-setup sibling validate_setup, so an agent can pick the right one without opening either 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 an explicit follow-up route: after validating, call historical-gate for the best valid setup, and points to where the exact call lives ('the result's next field'). It does not state when to prefer validate_batch over validate_setup or what to do when a setup is invalid, so it stops short of full when/when-not 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