Skip to main content
Glama

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

TradeSignal · correlation matrix

correlation_matrix
Read-only

Pearson correlation of 1h log returns between up to 12 Binance spot pairs over up to 200 closed hours, with the most and least correlated pairs, for position sizing and hedging. 0.05 USDC base (new payers 0.075, >10 payments 0.035; 1 pack call). After: regime for the least correlated pairs (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": {
      "symbols": "<symbols>"
    },
    "name": "correlation_matrix"
  }
}

Input Schema

NameRequiredDescriptionDefault
barsNo
symbolsYes
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.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description adds real context beyond them: hard limits (up to 12 pairs, up to 200 closed hours), the pricing model with tiered rates, and the fact that pack/subscription tokens or a payment_tx can substitute for per-call payment. It does not describe latency, error modes or return shape in depth, but the added operational and cost context is substantial for a read-only tool.

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 the core computation and scope, followed by cost and the recommended next call. Every sentence carries information, though the pricing parenthetical with three rates is dense and slightly interrupts the reading flow.

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, read-only analytic tool with no output schema, the definition covers scope limits, cost and payment mechanics, and what the result contains (most/least correlated pairs plus a next-call field). An agent has enough to decide, pay correctly and chain the follow-up.

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?

With 60% schema coverage, the description compensates by clarifying what 'bars' and 'symbols' mean in domain terms (closed hours bounded at 200; up to 12 spot pairs) and by restating the tiered price logic that governs payer_address. The remaining parameters are documented in the schema itself, so the description's contribution is incremental but meaningful.

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?

The description names a specific statistic (Pearson correlation of 1h log returns), the exact resource scope (up to 12 Binance spot pairs, up to 200 closed hours) and the output highlight (most and least correlated pairs). This is far more specific than a restated name and lets an agent distinguish it from the other signal-producing siblings.

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?

It states the intended use case (position sizing and hedging) and an explicit follow-up route: 'After: regime for the least correlated pairs (the result's next field has the exact call).' That is clear context plus chaining guidance, though it gives no when-not-to-use condition or comparison against alternatives.

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