Skip to main content
Glama

ExchangeRebel — pay-per-call APIs for AI agents (x402 on Solana)

anomaly_batch

Batch anomaly detection: 1..100 series (each 8..10,000 points, <= 100,000 points total), flat $0.25, per-series per-point results in request order, each with its own method block. Free pre-check at POST /toll/anomaly/batch/preflight. $0.25 per call — USDC on Solana via x402 (over MCP: call without payment to get the PaymentRequired challenge, then retry with the payment at _meta["x402/payment"]). HTTP equivalent: POST https://exchangerebel.com/toll/anomaly/batch.

Input Schema

NameRequiredDescriptionDefault
series_listYesarray (required) - 1..100 detect bodies, each {series, timestamps?, sensitivity?}; <= 100,000 points total

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Far beyond the annotations, it discloses flat $0.25 pricing, the settlement rail (USDC on Solana via x402), the exact payment handshake required on MCP, the result ordering guarantee, and hard input limits. These are exactly the traits an agent needs before committing a paid call. No statement conflicts with the readOnlyHint=false / destructiveHint=false annotations.

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?

One dense paragraph that front-loads purpose and limits, then pricing, then the payment mechanics — a sensible order for an agent deciding whether to call. It is slightly run-on with the HTTP URL and preflight path jammed into the tail, but no sentence is filler.

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?

There is no output schema, and the description compensates by stating the return shape (per-series, per-point, request order, each with its own method block). Combined with the payment protocol and input caps, an agent has everything needed to call this correctly on the first attempt.

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 description coverage is 100% and the nested series_list already documents {series, timestamps?, sensitivity?} plus the 1..100 and 100,000-point caps, so the description largely restates structured data. It adds a little value by tying parameters to output ('per-series per-point results in request order'), but says nothing about what sensitivity levels mean or what timestamps are used for.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource ('Batch anomaly detection') and immediately quantifies scope (1..100 series, 8..10,000 points each, <=100,000 total), which implicitly distinguishes it from the single-series sibling anomaly_detect. It never names anomaly_detect explicitly, so the routing contrast is inferred from the 'Batch' framing rather than stated.

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 gives concrete operational context: a free pre-check endpoint exists, and the MCP payment flow is spelled out (call without payment to receive the PaymentRequired challenge, then retry with the payment at _meta['x402/payment']). What it lacks is any explicit when-to-use-this-vs-anomaly_detect guidance or note about when the preflight should be preferred.

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