Skip to main content
Glama

Perspective API Alternative (Toxicity Detection)

Analyze toxicity

analyze_toxicity
Read-only

Score English text for toxicity, severe toxicity, insults, profanity, threats and identity attacks (0-1 probabilities, same attributes as Google Perspective API). Use it to moderate user-generated content, filter LLM output, or triage comments. Pass up to 100 texts at once.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textsYesTexts to score (English).
thresholdNoTOXICITY score at or above which a text is marked flagged.
attributesNoAttributes to return. Defaults to all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.