Skip to main content
Glama

Check many texts

check_batch
Read-onlyIdempotent

Check up to 100 texts in one call, 30,000 characters in all, with the same settings. Each item has your id and a text; results come back in order, each with its id and either a result (as check_text returns) or an error. Read-only; counts one check per item.

Input Schema

NameRequiredDescriptionDefault
maskNoHow "censored" hides a matched word: asterisk (****), first_letter (f***), grawlix (#$@!) or remove. Omit for the project's default, asterisk unless the project set one.
modeNoHow much to ask the model: fast never asks the model; balanced, the default, asks it about every text but a word or two the rules block outright; thorough asks it about every text. Omit for the project's default.
itemsYesThe texts to check, each with an id of yours to match its result.
policyNoHow strict to be. A preset: kids (under 13, blocks everything), teen, standard (adults; the default), strict (brand-safe surfaces), casual (swearing welcome, swearing at someone still blocked). Or a saved policy id (pol_...), or an object giving an action per category. Omit for the project's default.
contextNoWhere the text is shown, which changes how it is read: username (a public handle; reserved names match), display_name (a name beside content), comment, chat, gaming (taunts about play are not abuse), review, educational (quoted words are discussed, not used), creative (dialogue in fiction), custom_text (engraving or printing), general (anything else). Omit for the project's default, general unless the project set one.
countryNoWhere the readers are, as a two-letter country code (MX, ES, BR): a word rude in some countries and innocent in others is read as theirs reads it. Omit to count a word rude anywhere.
languageNoThe language the text is in, when you know it: a short text that shows no other language is read in it. Defaults to auto.

Output Schema

NameRequiredDescriptionDefault
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / results / items / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "id": {
      -        "type": "string"
      -      },
      -      "result": {
      -        "properties": {
      -          "action": {
      -            "enum": [
      -              "allow",
      -              "review",
      -              "block"
      -            ],
      -            "type": "string"
      -          },
      -          "allowed": {
      -            "type": "boolean"
      -          },
      -          "categories": {
      -            "properties": {
      -              "insult": {
      -                "maximum": 1,
      -                "minimum": 0,
      -                "type": "number"
      -              },
      -              "mild_profanity": {
      -                "maximum": 1,
      -                "minimum": 0,
      -                "type": "number"
      -              },
      -              "profanity": {
      -                "maximum": 1,
      -                "minimum": 0,
      -                "type": "number"
      -              },
      -              "reserved": {
      -                "maximum": 1,
      -                "minimum": 0,
      -                "type": "number"
      -              },
      -              "rude": {
      -                "maximum": 1,
      -                "minimum": 0,
      -                "type": "number"
      -              },
      -              "self_harm": {
      -                "maximum": 1,
      -                "minimum": 0,
      -                "type": "number"
      -              },
      -              "sexual": {
      -                "maximum": 1,
      -                "minimum": 0,
      -                "type": "number"
      -              },
      -              "sexual_minors": {
      -                "maximum": 1,
      -                "minimum": 0,
      -                "type": "number"
      -              },
      -              "slur": {
      -                "maximum": 1,
      -                "minimum": 0,
      -                "type": "number"
      -              },
      -              "threat": {
      -                "maximum": 1,
      -                "minimum": 0,
      -                "type": "number"
      -              }
      -            },
      -            "required": [
      -              "mild_profanity",
      -              "profanity",
      -              "sexual",
      -              "insult",
      -              "slur",
      -              "threat",
      -              "rude",
      -              "sexual_minors",
      -              "self_harm",
      -              "reserved"
      -            ],
      -            "type": "object"
      -          },
      -          "censored": {
      -            "type": "string"
      -          },
      -          "engine": {
      -            "properties": {
      -              "degraded": {
      -                "type": "boolean"
      -              },
      -              "route": {
      -                "enum": [
      -                  "rules",
      -                  "model",
      -                  "cache"
      -                ],
      -                "type": "string"
      -              },
      -              "version": {
      -                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "version",
      -              "route",
      -              "degraded"
      -            ],
      -            "type": "object"
      -          },
      -          "evasion": {
      -            "items": {
      -              "enum": [
      -                "homoglyph",
      -                "zero_width",
      -                "separator",
      -                "leetspeak",
      -                "repeated_chars",
      -                "diacritics",
      -                "mixed_script",
      -                "fullwidth",
      -                "combining_marks",
      -                "phonetic",
      -                "reversed",
      -                "concatenation",
      -                "case_mixing",
      -                "self_censored",
      -                "misspelled",
      -                "spoonerism",
      -                "pun"
      -              ],
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "id": {
      -            "pattern": "^chk_[A-Za-z0-9]{16,32}$",
      -            "type": "string"
      -          },
      -          "language": {
      -            "properties": {
      -              "confidence": {
      -                "maximum": 1,
      -                "minimum": 0,
      -                "type": "number"
      -              },
      -              "detected": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "detected",
      -              "confidence"
      -            ],
      -            "type": "object"
      -          },
      -          "matches": {
      -            "items": {
      -              "properties": {
      -                "category": {
      -                  "enum": [
      -                    "profanity",
      -                    "sexual",
      -                    "insult",
      -                    "slur",
      -                    "threat",
      -                    "reserved"
      -                  ],
      -                  "type": "string"
      -                },
      -                "end": {
      -                  "maximum": 9007199254740991,
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "evasion": {
      -                  "items": {
      -                    "enum": [
      -                      "homoglyph",
      -                      "zero_width",
      -                      "separator",
      -                      "leetspeak",
      -                      "repeated_chars",
      -                      "diacritics",
      -                      "mixed_script",
      -                      "fullwidth",
      -                      "combining_marks",
      -                      "phonetic",
      -                      "reversed",
      -                      "concatenation",
      -                      "case_mixing",
      -                      "self_censored",
      -                      "misspelled",
      -                      "spoonerism",
      -                      "pun"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  "type": "array"
      -                },
      -                "normalized": {
      -                  "type": "string"
      -                },
      -                "severity": {
      -                  "enum": [
      -                    "none",
      -                    "mild",
      -                    "moderate",
      -                    "strong",
      -                    "extreme"
      -                  ],
      -                  "type": "string"
      -                },
      -                "start": {
      -                  "maximum": 9007199254740991,
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "term_id": {
      -                  "type": "string"
      -                },
      -                "text": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "start",
      -                "end",
      -                "text",
      -                "normalized",
      -                "term_id",
      -                "category",
      -                "severity",
      -                "evasion"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "obfuscated": {
      -            "type": "boolean"
      -          },
      -          "reason": {
      -            "type": "string"
      -          },
      -          "score": {
      -            "maximum": 1,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "severity": {
      -            "enum": [
      -              "none",
      -              "mild",
      -              "moderate",
      -              "strong",
      -              "extreme"
      -            ],
      -            "type": "string"
      -          },
      -          "timing_ms": {
      -            "minimum": 0,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "allowed",
      -          "action",
      -          "score",
      -          "severity",
      -          "categories",
      -          "obfuscated",
      -          "evasion",
      -          "matches",
      -          "censored",
      -          "reason",
      -          "language",
      -          "engine",
      -          "timing_ms"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "result"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "error": {
      -        "type": "string"
      -      },
      -      "id": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "id": {
      +        "type": "string"
      +      },
      +      "result": {
      +        "properties": {
      +          "action": {
      +            "enum": [
      +              "allow",
      +              "review",
      +              "block"
      +            ],
      +            "type": "string"
      +          },
      +          "allowed": {
      +            "type": "boolean"
      +          },
      +          "categories": {
      +            "properties": {
      +              "insult": {
      +                "maximum": 1,
      +                "minimum": 0,
      +                "type": "number"
      +              },
      +              "mild_profanity": {
      +                "maximum": 1,
      +                "minimum": 0,
      +                "type": "number"
      +              },
      +              "profanity": {
      +                "maximum": 1,
      +                "minimum": 0,
      +                "type": "number"
      +              },
      +              "reserved": {
      +                "maximum": 1,
      +                "minimum": 0,
      +                "type": "number"
      +              },
      +              "rude": {
      +                "maximum": 1,
      +                "minimum": 0,
      +                "type": "number"
      +              },
      +              "self_harm": {
      +                "maximum": 1,
      +                "minimum": 0,
      +                "type": "number"
      +              },
      +              "sexual": {
      +                "maximum": 1,
      +                "minimum": 0,
      +                "type": "number"
      +              },
      +              "sexual_minors": {
      +                "maximum": 1,
      +                "minimum": 0,
      +                "type": "number"
      +              },
      +              "slur": {
      +                "maximum": 1,
      +                "minimum": 0,
      +                "type": "number"
      +              },
      +              "threat": {
      +                "maximum": 1,
      +                "minimum": 0,
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "mild_profanity",
      +              "profanity",
      +              "sexual",
      +              "insult",
      +              "slur",
      +              "threat",
      +              "rude",
      +              "sexual_minors",
      +              "self_harm",
      +              "reserved"
      +            ],
      +            "type": "object"
      +          },
      +          "censored": {
      +            "type": "string"
      +          },
      +          "decided_by": {
      +            "items": {
      +              "properties": {
      +                "action": {
      +                  "enum": [
      +                    "review",
      +                    "block"
      +                  ],
      +                  "type": "string"
      +                },
      +                "category": {
      +                  "enum": [
      +                    "mild_profanity",
      +                    "profanity",
      +                    "sexual",
      +                    "insult",
      +                    "slur",
      +                    "threat",
      +                    "rude",
      +                    "sexual_minors",
      +                    "self_harm",
      +                    "reserved"
      +                  ],
      +                  "type": "string"
      +                },
      +                "from": {
      +                  "enum": [
      +                    "words",
      +                    "context"
      +                  ],
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "category",
      +                "action",
      +                "from"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "engine": {
      +            "properties": {
      +              "degraded": {
      +                "type": "boolean"
      +              },
      +              "route": {
      +                "enum": [
      +                  "rules",
      +                  "model",
      +                  "cache"
      +                ],
      +                "type": "string"
      +              },
      +              "version": {
      +                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "version",
      +              "route",
      +              "degraded"
      +            ],
      +            "type": "object"
      +          },
      +          "evasion": {
      +            "items": {
      +              "enum": [
      +                "homoglyph",
      +                "zero_width",
      +                "separator",
      +                "leetspeak",
      +                "repeated_chars",
      +                "diacritics",
      +                "mixed_script",
      +                "fullwidth",
      +                "combining_marks",
      +                "phonetic",
      +                "reversed",
      +                "concatenation",
      +                "case_mixing",
      +                "self_censored",
      +                "misspelled",
      +                "spoonerism",
      +                "pun"
      +              ],
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "id": {
      +            "pattern": "^chk_[A-Za-z0-9]{16,32}$",
      +            "type": "string"
      +          },
      +          "language": {
      +            "properties": {
      +              "confidence": {
      +                "maximum": 1,
      +                "minimum": 0,
      +                "type": "number"
      +              },
      +              "detected": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "detected",
      +              "confidence"
      +            ],
      +            "type": "object"
      +          },
      +          "matches": {
      +            "items": {
      +              "properties": {
      +                "category": {
      +                  "enum": [
      +                    "profanity",
      +                    "sexual",
      +                    "insult",
      +                    "slur",
      +                    "threat",
      +                    "reserved"
      +                  ],
      +                  "type": "string"
      +                },
      +                "end": {
      +                  "maximum": 9007199254740991,
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "evasion": {
      +                  "items": {
      +                    "enum": [
      +                      "homoglyph",
      +                      "zero_width",
      +                      "separator",
      +                      "leetspeak",
      +                      "repeated_chars",
      +                      "diacritics",
      +                      "mixed_script",
      +                      "fullwidth",
      +                      "combining_marks",
      +                      "phonetic",
      +                      "reversed",
      +                      "concatenation",
      +                      "case_mixing",
      +                      "self_censored",
      +                      "misspelled",
      +                      "spoonerism",
      +                      "pun"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "normalized": {
      +                  "type": "string"
      +                },
      +                "severity": {
      +                  "enum": [
      +                    "none",
      +                    "mild",
      +                    "moderate",
      +                    "strong",
      +                    "extreme"
      +                  ],
      +                  "type": "string"
      +                },
      +                "start": {
      +                  "maximum": 9007199254740991,
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "term_id": {
      +                  "type": "string"
      +                },
      +                "text": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "start",
      +                "end",
      +                "text",
      +                "normalized",
      +                "term_id",
      +                "category",
      +                "severity",
      +                "evasion"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "obfuscated": {
      +            "type": "boolean"
      +          },
      +          "reason": {
      +            "type": "string"
      +          },
      +          "score": {
      +            "maximum": 1,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "severity": {
      +            "enum": [
      +              "none",
      +              "mild",
      +              "moderate",
      +              "strong",
      +              "extreme"
      +            ],
      +            "type": "string"
      +          },
      +          "timing_ms": {
      +            "minimum": 0,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "allowed",
      +          "action",
      +          "score",
      +          "severity",
      +          "categories",
      +          "obfuscated",
      +          "evasion",
      +          "matches",
      +          "censored",
      +          "reason",
      +          "decided_by",
      +          "language",
      +          "engine",
      +          "timing_ms"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "result"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "error": {
      +        "type": "string"
      +      },
      +      "id": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / mode / description
      Previous value: -"How much to ask the model: fast never asks the model; balanced, the default, asks it about every text the rules do not block outright; thorough asks it about every text. Omit for the project's default."New value: +"How much to ask the model: fast never asks the model; balanced, the default, asks it about every text but a word or two the rules block outright; thorough asks it about every text. Omit for the project's default."
  3. Changed3 schema fields changed
    • addedInput schema / properties / country
      Added value: +{
      +  "description": "Where the readers are, as a two-letter country code (MX, ES, BR): a word rude in some countries and innocent in others is read as theirs reads it. Omit to count a word rude anywhere.",
      +  "pattern": "^[A-Za-z]{2}$",
      +  "type": "string"
      +}
    • changedInput schema / properties / policy / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "kids",
      -      "teen",
      -      "standard",
      -      "strict"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "pattern": "^pol_[A-Za-z0-9]{8,32}$",
      -    "type": "string"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "insult": {
      -        "enum": [
      -          "allow",
      -          "review",
      -          "block"
      -        ],
      -        "type": "string"
      -      },
      -      "mild_profanity": {
      -        "enum": [
      -          "allow",
      -          "review",
      -          "block"
      -        ],
      -        "type": "string"
      -      },
      -      "profanity": {
      -        "enum": [
      -          "allow",
      -          "review",
      -          "block"
      -        ],
      -        "type": "string"
      -      },
      -      "reserved": {
      -        "enum": [
      -          "allow",
      -          "review",
      -          "block"
      -        ],
      -        "type": "string"
      -      },
      -      "rude": {
      -        "enum": [
      -          "allow",
      -          "review",
      -          "block"
      -        ],
      -        "type": "string"
      -      },
      -      "self_harm": {
      -        "enum": [
      -          "allow",
      -          "review",
      -          "block"
      -        ],
      -        "type": "string"
      -      },
      -      "sexual": {
      -        "enum": [
      -          "allow",
      -          "review",
      -          "block"
      -        ],
      -        "type": "string"
      -      },
      -      "sexual_minors": {
      -        "enum": [
      -          "allow",
      -          "review",
      -          "block"
      -        ],
      -        "type": "string"
      -      },
      -      "slur": {
      -        "enum": [
      -          "allow",
      -          "review",
      -          "block"
      -        ],
      -        "type": "string"
      -      },
      -      "threat": {
      -        "enum": [
      -          "allow",
      -          "review",
      -          "block"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "kids",
      +      "teen",
      +      "standard",
      +      "strict",
      +      "casual"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "pattern": "^pol_[A-Za-z0-9]{8,32}$",
      +    "type": "string"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "insult": {
      +        "enum": [
      +          "allow",
      +          "review",
      +          "block"
      +        ],
      +        "type": "string"
      +      },
      +      "mild_profanity": {
      +        "enum": [
      +          "allow",
      +          "review",
      +          "block"
      +        ],
      +        "type": "string"
      +      },
      +      "profanity": {
      +        "enum": [
      +          "allow",
      +          "review",
      +          "block"
      +        ],
      +        "type": "string"
      +      },
      +      "reserved": {
      +        "enum": [
      +          "allow",
      +          "review",
      +          "block"
      +        ],
      +        "type": "string"
      +      },
      +      "rude": {
      +        "enum": [
      +          "allow",
      +          "review",
      +          "block"
      +        ],
      +        "type": "string"
      +      },
      +      "self_harm": {
      +        "enum": [
      +          "allow",
      +          "review",
      +          "block"
      +        ],
      +        "type": "string"
      +      },
      +      "sexual": {
      +        "enum": [
      +          "allow",
      +          "review",
      +          "block"
      +        ],
      +        "type": "string"
      +      },
      +      "sexual_minors": {
      +        "enum": [
      +          "allow",
      +          "review",
      +          "block"
      +        ],
      +        "type": "string"
      +      },
      +      "slur": {
      +        "enum": [
      +          "allow",
      +          "review",
      +          "block"
      +        ],
      +        "type": "string"
      +      },
      +      "threat": {
      +        "enum": [
      +          "allow",
      +          "review",
      +          "block"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  }
      +]
    • changedInput schema / properties / policy / description
      Previous value: -"How strict to be. A preset: kids (under 13, blocks everything), teen, standard (adults; the default), strict (brand-safe surfaces). Or a saved policy id (pol_...), or an object giving an action per category. Omit for the project's default."New value: +"How strict to be. A preset: kids (under 13, blocks everything), teen, standard (adults; the default), strict (brand-safe surfaces), casual (swearing welcome, swearing at someone still blocked). Or a saved policy id (pol_...), or an object giving an action per category. Omit for the project's default."
  4. Changed19 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / context / description
      Added value: +"Where the text is shown, which changes how it is read: username (a public handle; reserved names match), display_name (a name beside content), comment, chat, gaming (taunts about play are not abuse), review, educational (quoted words are discussed, not used), creative (dialogue in fiction), custom_text (engraving or printing), general (anything else). Omit for the project's default, general unless the project set one."
    • addedInput schema / properties / context / enum
      Added value: +[
      +  "general",
      +  "username",
      +  "display_name",
      +  "comment",
      +  "chat",
      +  "gaming",
      +  "educational",
      +  "creative",
      +  "review",
      +  "custom_text"
      +]
    • addedInput schema / properties / items / description
      Added value: +"The texts to check, each with an id of yours to match its result."
    • addedInput schema / properties / items / items / additionalProperties
      Added value: +false
    • addedInput schema / properties / items / items / properties / id / description
      Added value: +"Your id for this text, returned with its result."
    • addedInput schema / properties / items / items / properties / id / maxLength
      Added value: +64
    • addedInput schema / properties / items / items / properties / id / minLength
      Added value: +1
    • addedInput schema / properties / items / items / properties / text / description
      Added value: +"The text to check, exactly as the person typed it: up to 10,000 characters, 64 for a username or display name."
    • addedInput schema / properties / items / items / properties / text / maxLength
      Added value: +10000
    • addedInput schema / properties / items / items / properties / text / minLength
      Added value: +1
    • addedInput schema / properties / items / minItems
      Added value: +1
    • addedInput schema / properties / language / description
      Added value: +"The language the text is in, when you know it: a short text that shows no other language is read in it. Defaults to auto."
    • addedInput schema / properties / mask
      Added value: +{
      +  "description": "How \"censored\" hides a matched word: asterisk (****), first_letter (f***), grawlix (#$@!) or remove. Omit for the project's default, asterisk unless the project set one.",
      +  "enum": [
      +    "asterisk",
      +    "first_letter",
      +    "grawlix",
      +    "remove"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / mode
      Added value: +{
      +  "description": "How much to ask the model: fast never asks the model; balanced, the default, asks it about every text the rules do not block outright; thorough asks it about every text. Omit for the project's default.",
      +  "enum": [
      +    "fast",
      +    "balanced",
      +    "thorough"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / policy / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "kids",
      +      "teen",
      +      "standard",
      +      "strict"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "pattern": "^pol_[A-Za-z0-9]{8,32}$",
      +    "type": "string"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "insult": {
      +        "enum": [
      +          "allow",
      +          "review",
      +          "block"
      +        ],
      +        "type": "string"
      +      },
      +      "mild_profanity": {
      +        "enum": [
      +          "allow",
      +          "review",
      +          "block"
      +        ],
      +        "type": "string"
      +      },
      +      "profanity": {
      +        "enum": [
      +          "allow",
      +          "review",
      +          "block"
      +        ],
      +        "type": "string"
      +      },
      +      "reserved": {
      +        "enum": [
      +          "allow",
      +          "review",
      +          "block"
      +        ],
      +        "type": "string"
      +      },
      +      "rude": {
      +        "enum": [
      +          "allow",
      +          "review",
      +          "block"
      +        ],
      +        "type": "string"
      +      },
      +      "self_harm": {
      +        "enum": [
      +          "allow",
      +          "review",
      +          "block"
      +        ],
      +        "type": "string"
      +      },
      +      "sexual": {
      +        "enum": [
      +          "allow",
      +          "review",
      +          "block"
      +        ],
      +        "type": "string"
      +      },
      +      "sexual_minors": {
      +        "enum": [
      +          "allow",
      +          "review",
      +          "block"
      +        ],
      +        "type": "string"
      +      },
      +      "slur": {
      +        "enum": [
      +          "allow",
      +          "review",
      +          "block"
      +        ],
      +        "type": "string"
      +      },
      +      "threat": {
      +        "enum": [
      +          "allow",
      +          "review",
      +          "block"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / policy / description
      Added value: +"How strict to be. A preset: kids (under 13, blocks everything), teen, standard (adults; the default), strict (brand-safe surfaces). Or a saved policy id (pol_...), or an object giving an action per category. Omit for the project's default."
    • removedInput schema / properties / policy / type
      Removed value: -"string"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "results": {
      +      "items": {
      +        "anyOf": [
      +          {
      +            "properties": {
      +              "id": {
      +                "type": "string"
      +              },
      +              "result": {
      +                "properties": {
      +                  "action": {
      +                    "enum": [
      +                      "allow",
      +                      "review",
      +                      "block"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "allowed": {
      +                    "type": "boolean"
      +                  },
      +                  "categories": {
      +                    "properties": {
      +                      "insult": {
      +                        "maximum": 1,
      +                        "minimum": 0,
      +                        "type": "number"
      +                      },
      +                      "mild_profanity": {
      +                        "maximum": 1,
      +                        "minimum": 0,
      +                        "type": "number"
      +                      },
      +                      "profanity": {
      +                        "maximum": 1,
      +                        "minimum": 0,
      +                        "type": "number"
      +                      },
      +                      "reserved": {
      +                        "maximum": 1,
      +                        "minimum": 0,
      +                        "type": "number"
      +                      },
      +                      "rude": {
      +                        "maximum": 1,
      +                        "minimum": 0,
      +                        "type": "number"
      +                      },
      +                      "self_harm": {
      +                        "maximum": 1,
      +                        "minimum": 0,
      +                        "type": "number"
      +                      },
      +                      "sexual": {
      +                        "maximum": 1,
      +                        "minimum": 0,
      +                        "type": "number"
      +                      },
      +                      "sexual_minors": {
      +                        "maximum": 1,
      +                        "minimum": 0,
      +                        "type": "number"
      +                      },
      +                      "slur": {
      +                        "maximum": 1,
      +                        "minimum": 0,
      +                        "type": "number"
      +                      },
      +                      "threat": {
      +                        "maximum": 1,
      +                        "minimum": 0,
      +                        "type": "number"
      +                      }
      +                    },
      +                    "required": [
      +                      "mild_profanity",
      +                      "profanity",
      +                      "sexual",
      +                      "insult",
      +                      "slur",
      +                      "threat",
      +                      "rude",
      +                      "sexual_minors",
      +                      "self_harm",
      +                      "reserved"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "censored": {
      +                    "type": "string"
      +                  },
      +                  "engine": {
      +                    "properties": {
      +                      "degraded": {
      +                        "type": "boolean"
      +                      },
      +                      "route": {
      +                        "enum": [
      +                          "rules",
      +                          "model",
      +                          "cache"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "version": {
      +                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "version",
      +                      "route",
      +                      "degraded"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "evasion": {
      +                    "items": {
      +                      "enum": [
      +                        "homoglyph",
      +                        "zero_width",
      +                        "separator",
      +                        "leetspeak",
      +                        "repeated_chars",
      +                        "diacritics",
      +                        "mixed_script",
      +                        "fullwidth",
      +                        "combining_marks",
      +                        "phonetic",
      +                        "reversed",
      +                        "concatenation",
      +                        "case_mixing",
      +                        "self_censored",
      +                        "misspelled",
      +                        "spoonerism",
      +                        "pun"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "id": {
      +                    "pattern": "^chk_[A-Za-z0-9]{16,32}$",
      +                    "type": "string"
      +                  },
      +                  "language": {
      +                    "properties": {
      +                      "confidence": {
      +                        "maximum": 1,
      +                        "minimum": 0,
      +                        "type": "number"
      +                      },
      +                      "detected": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "detected",
      +                      "confidence"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "matches": {
      +                    "items": {
      +                      "properties": {
      +                        "category": {
      +                          "enum": [
      +                            "profanity",
      +                            "sexual",
      +                            "insult",
      +                            "slur",
      +                            "threat",
      +                            "reserved"
      +                          ],
      +                          "type": "string"
      +                        },
      +                        "end": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        "evasion": {
      +                          "items": {
      +                            "enum": [
      +                              "homoglyph",
      +                              "zero_width",
      +                              "separator",
      +                              "leetspeak",
      +                              "repeated_chars",
      +                              "diacritics",
      +                              "mixed_script",
      +                              "fullwidth",
      +                              "combining_marks",
      +                              "phonetic",
      +                              "reversed",
      +                              "concatenation",
      +                              "case_mixing",
      +                              "self_censored",
      +                              "misspelled",
      +                              "spoonerism",
      +                              "pun"
      +                            ],
      +                            "type": "string"
      +                          },
      +                          "type": "array"
      +                        },
      +                        "normalized": {
      +                          "type": "string"
      +                        },
      +                        "severity": {
      +                          "enum": [
      +                            "none",
      +                            "mild",
      +                            "moderate",
      +                            "strong",
      +                            "extreme"
      +                          ],
      +                          "type": "string"
      +                        },
      +                        "start": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        "term_id": {
      +                          "type": "string"
      +                        },
      +                        "text": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "start",
      +                        "end",
      +                        "text",
      +                        "normalized",
      +                        "term_id",
      +                        "category",
      +                        "severity",
      +                        "evasion"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "obfuscated": {
      +                    "type": "boolean"
      +                  },
      +                  "reason": {
      +                    "type": "string"
      +                  },
      +                  "score": {
      +                    "maximum": 1,
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "severity": {
      +                    "enum": [
      +                      "none",
      +                      "mild",
      +                      "moderate",
      +                      "strong",
      +                      "extreme"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "timing_ms": {
      +                    "minimum": 0,
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "id",
      +                  "allowed",
      +                  "action",
      +                  "score",
      +                  "severity",
      +                  "categories",
      +                  "obfuscated",
      +                  "evasion",
      +                  "matches",
      +                  "censored",
      +                  "reason",
      +                  "language",
      +                  "engine",
      +                  "timing_ms"
      +                ],
      +                "type": "object"
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "result"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "properties": {
      +              "error": {
      +                "type": "string"
      +              },
      +              "id": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "error"
      +            ],
      +            "type": "object"
      +          }
      +        ]
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "results"
      +  ],
      +  "type": "object"
      +}
  5. Changed1 schema field changed
    • addedInput schema / properties / language
      Added value: +{
      +  "enum": [
      +    "auto",
      +    "en",
      +    "es",
      +    "pt",
      +    "fr",
      +    "de",
      +    "it",
      +    "nl",
      +    "pl",
      +    "tr",
      +    "ru",
      +    "ar",
      +    "he",
      +    "hi",
      +    "id",
      +    "ja",
      +    "zh",
      +    "ko"
      +  ],
      +  "type": "string"
      +}
  6. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior. The description adds important operational context beyond that: batch limits, ordered per-item results/errors, and that billing counts one check per item.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three compact sentences front-load the batching purpose and limits, then cover input shape, output shape, and operational notes. Every sentence earns its place with no waste.

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?

With a rich schema, full parameter descriptions, an output schema, and explicit annotations, the description supplies the remaining operational essentials: batch limits, ordering, per-item error handling, and check counting. Nothing material is missing for correct invocation.

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%, so the schema already explains every parameter in detail. The description adds only that items have an id and text and that results return in order with matching ids, which is useful but mostly repeats schema-level semantics rather than adding new parameter 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?

The description states a specific verb and resource: 'Check up to 100 texts in one call.' It adds the defining scope of batching with shared settings and limits, making it clearly distinguishable from the singular sibling check_text.

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?

The description makes clear this is for batches of texts using the same settings, which implicitly guides agents away from using it for single-item checks or per-item settings. It does not explicitly name check_text as the alternative for one text, so it falls 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