Skip to main content
Glama

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

toxicity_analyze_batch

Score up to 100 comments for toxicity in one call. $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/toxicity/analyze/batch.

Input Schema

NameRequiredDescriptionDefault
commentsYesarray (required) - up to 100 comments:analyze requests, each {comment:{text}, requestedAttributes, languages?}

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: exact cost ($0.25/call), the USDC-on-Solana x402 payment model, and the concrete retry pattern via _meta["x402/payment"] after a PaymentRequired challenge. That is exactly the kind of billing/auth behavior annotations cannot express. It stops short of stating rate limits, whether scoring is deterministic, or what happens to a partial batch failure.

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?

Three tight sentences with the core capability front-loaded and no filler. The HTTP-equivalent line is marginal for an MCP agent but compact and arguably useful for parity/debugging.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description never says what comes back — per-comment scores, attribute breakdown, or error shape for oversized batches. The on-wire item shape ambiguity from the schema also goes unaddressed, so an agent can invoke it but cannot predict results.

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 baseline is 3. However the description says 'comments' (implying plain strings) while the schema's items description describes each element as an analyze request object with {comment:{text}, requestedAttributes, languages?} — the description does nothing to resolve that mismatch or explain requestedAttributes/languages.

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?

States a specific verb and resource ('Score ... comments for toxicity') plus a hard scope limit ('up to 100 comments in one call'), which implicitly separates it from the singular toxicity_analyze sibling. It doesn't name the sibling explicitly, so the batch-vs-single distinction must be inferred from the 'batch' name and the 100-comment cap.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 100-comment cap and 'in one call' phrase imply this is the bulk path, but there is no explicit 'use this instead of toxicity_analyze when you have many comments' routing statement or any when-not guidance. The payment retry flow is described, which is operational guidance rather than tool-selection 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