Brainiall NLP is an MCP server published by com.brainiall, hosted at api.brainiall.com. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 22 tools, including analyze_toxicity, analyze_sentiment, extract_entities, detect_pii, detect_language.
Sentiment, toxicity, entity extraction, PII, translation, summary, QA, fraud scoring, safety audit.
14 connections through 4 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Analyze text for toxic content. Returns scores for 6 categories: toxic, severe_toxic, obscene, threat, insult, identity_hate. Each score is 0.0-1.0. BERT-based classifier with sub-15ms latency on GPU. Args: text: Text to analyze for toxicity (hate speech, insults, threats). Returns: dict with keys: - toxic (float 0-1): Overall toxicity score - severe_toxic (float 0-1): Severe toxicity score - obscene (float 0-1): Obscenity score - threat (float 0-1): Threat score - insult (float 0-1): Insult score - identity_hate (float 0-1): Identity-based hate score - is_toxic (bool): Whether text exceeds toxicity threshold
| Parameter | Type | Description |
|---|---|---|
| text * | string | Text to analyze for toxicity (hate speech, insults, threats) |
{
"name": "analyze_toxicity",
"title": "Analyze Toxicity",
"description": "Analyze text for toxic content.\n\nReturns scores for 6 categories: toxic, severe_toxic, obscene, threat,\ninsult, identity_hate. Each score is 0.0-1.0.\nBERT-based classifier with sub-15ms latency on GPU.\n\nArgs:\n text: Text to analyze for toxicity (hate speech, insults, threats).\n\nReturns:\n dict with keys:\n - toxic (float 0-1): Overall toxicity score\n - severe_toxic (float 0-1): Severe toxicity score\n - obscene (float 0-1): Obscenity score\n - threat (float 0-1): Threat score\n - insult (float 0-1): Insult score\n - identity_hate (float 0-1): Identity-based hate score\n - is_toxic (bool): Whether text exceeds toxicity threshold",
"inputSchema": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 100000,
"description": "Text to analyze for toxicity (hate speech, insults, threats)"
}
}
},
"annotations": {
"title": "Analyze Toxicity",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Analyze text sentiment. Returns positive/negative classification with confidence scores. Brainiall Sentiment engine-based with sub-10ms latency. Multiple domain-specific model variants available. Args: text: Text to analyze for sentiment (positive/negative). model: Model variant -- 'general' (default), 'financial', 'twitter'. Returns: dict with keys: - label (str): 'positive' or 'negative' - score (float 0-1): Confidence score for the predicted label - scores (dict): All label scores (positive, negative)
| Parameter | Type | Description |
|---|---|---|
| text * | string | Text to analyze for sentiment (positive/negative) |
| model | string | Model variant: 'general' (default), 'financial', 'twitter' |
{
"name": "analyze_sentiment",
"title": "Analyze Sentiment",
"description": "Analyze text sentiment.\n\nReturns positive/negative classification with confidence scores.\nBrainiall Sentiment engine-based with sub-10ms latency. Multiple domain-specific\nmodel variants available.\n\nArgs:\n text: Text to analyze for sentiment (positive/negative).\n model: Model variant -- 'general' (default), 'financial', 'twitter'.\n\nReturns:\n dict with keys:\n - label (str): 'positive' or 'negative'\n - score (float 0-1): Confidence score for the predicted label\n - scores (dict): All label scores (positive, negative)",
"inputSchema": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 100000,
"description": "Text to analyze for sentiment (positive/negative)"
},
"model": {
"type": "string",
"default": "general",
"description": "Model variant: 'general' (default), 'financial', 'twitter'"
}
}
},
"annotations": {
"title": "Analyze Sentiment",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Extract named entities (NER) from text. Identifies persons, organizations, locations, and miscellaneous entities with span offsets and confidence scores. BERT-NER based with sub-50ms latency. Args: text: Text to extract named entities from. Returns: dict with keys: - entities (list): Detected entities, each containing: - text (str): Entity text - label (str): Entity type (PER, ORG, LOC, MISC) - start (int): Character offset start - end (int): Character offset end - score (float 0-1): Confidence score - count (int): Total number of entities found
| Parameter | Type | Description |
|---|---|---|
| text * | string | Text to extract named entities from (persons, organizations, locations) |
{
"name": "extract_entities",
"title": "Extract Entities",
"description": "Extract named entities (NER) from text.\n\nIdentifies persons, organizations, locations, and miscellaneous entities\nwith span offsets and confidence scores. BERT-NER based with sub-50ms latency.\n\nArgs:\n text: Text to extract named entities from.\n\nReturns:\n dict with keys:\n - entities (list): Detected entities, each containing:\n - text (str): Entity text\n - label (str): Entity type (PER, ORG, LOC, MISC)\n - start (int): Character offset start\n - end (int): Character offset end\n - score (float 0-1): Confidence score\n - count (int): Total number of entities found",
"inputSchema": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 100000,
"description": "Text to extract named entities from (persons, organizations, locations)"
}
}
},
"annotations": {
"title": "Extract Entities",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Detect personally identifiable information (PII) in text. Finds emails, phone numbers, SSNs, credit cards, IP addresses, and person names. Optionally returns redacted text with PII replaced by type labels (e.g. [EMAIL], [PHONE]). BERT-NER + regex ensemble. Args: text: Text to scan for personally identifiable information. redact: If true, return redacted text with PII replaced by [TYPE]. Returns: dict with keys: - pii_found (list): Detected PII items, each containing: - text (str): The PII value found - type (str): PII type (EMAIL, PHONE, SSN, CREDIT_CARD, IP, PERSON) - start (int): Character offset start - end (int): Character offset end - score (float 0-1): Detection confidence - count (int): Total PII items found - redacted_text (str|null): Text with PII replaced (when redact=true) - has_pii (bool): Whether any PII was detected
| Parameter | Type | Description |
|---|---|---|
| text * | string | Text to scan for personally identifiable information |
| redact | boolean | If true, return redacted text with PII replaced by [TYPE] |
{
"name": "detect_pii",
"title": "Detect PII",
"description": "Detect personally identifiable information (PII) in text.\n\nFinds emails, phone numbers, SSNs, credit cards, IP addresses, and\nperson names. Optionally returns redacted text with PII replaced by\ntype labels (e.g. [EMAIL], [PHONE]). BERT-NER + regex ensemble.\n\nArgs:\n text: Text to scan for personally identifiable information.\n redact: If true, return redacted text with PII replaced by [TYPE].\n\nReturns:\n dict with keys:\n - pii_found (list): Detected PII items, each containing:\n - text (str): The PII value found\n - type (str): PII type (EMAIL, PHONE, SSN, CREDIT_CARD, IP, PERSON)\n - start (int): Character offset start\n - end (int): Character offset end\n - score (float 0-1): Detection confidence\n - count (int): Total PII items found\n - redacted_text (str|null): Text with PII replaced (when redact=true)\n - has_pii (bool): Whether any PII was detected",
"inputSchema": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 100000,
"description": "Text to scan for personally identifiable information"
},
"redact": {
"type": "boolean",
"default": false,
"description": "If true, return redacted text with PII replaced by [TYPE]"
}
}
},
"annotations": {
"title": "Detect PII",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Detect the language of text. Supports 176 languages using fastText. Sub-1ms inference latency. Returns ISO 639-1 codes with confidence scores. Args: text: Text to identify the language of. top_k: Number of top language predictions to return (default: 3). Returns: dict with keys: - language (str): Top predicted language ISO 639-1 code - confidence (float 0-1): Confidence for top prediction - predictions (list): Top-k predictions, each with: - language (str): ISO 639-1 code - confidence (float 0-1): Prediction confidence
| Parameter | Type | Description |
|---|---|---|
| text * | string | Text to identify the language of |
| top_k | integer | Number of top language predictions to return |
{
"name": "detect_language",
"title": "Detect Language",
"description": "Detect the language of text.\n\nSupports 176 languages using fastText. Sub-1ms inference latency.\nReturns ISO 639-1 codes with confidence scores.\n\nArgs:\n text: Text to identify the language of.\n top_k: Number of top language predictions to return (default: 3).\n\nReturns:\n dict with keys:\n - language (str): Top predicted language ISO 639-1 code\n - confidence (float 0-1): Confidence for top prediction\n - predictions (list): Top-k predictions, each with:\n - language (str): ISO 639-1 code\n - confidence (float 0-1): Prediction confidence",
"inputSchema": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 100000,
"description": "Text to identify the language of"
},
"top_k": {
"type": "integer",
"default": 3,
"description": "Number of top language predictions to return"
}
}
},
"annotations": {
"title": "Detect Language",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Check health status of NLP API services and loaded models. Returns: dict with keys: - status (str): 'healthy' or error state - models (dict): Loaded model status per capability - version (str): API version
No parameters.
{
"name": "check_nlp_service",
"title": "Check NLP Service",
"description": "Check health status of NLP API services and loaded models.\n\nReturns:\n dict with keys:\n - status (str): 'healthy' or error state\n - models (dict): Loaded model status per capability\n - version (str): API version",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"title": "Check NLP Service",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Translate text between 100+ languages. Args: text: The text to translate. target_lang: Target language code. source_lang: Source language code; omit to auto-detect. Returns: dict with the translated text (key: translated_text) and the detected source language if auto-detected.
| Parameter | Type | Description |
|---|---|---|
| text * | string | The text to translate |
| source_lang | any | Source language code; omit to auto-detect |
| target_lang * | string | Target language code (e.g. 'pt', 'es', 'fr', 'de', 'ja') |
{
"name": "translate_text",
"title": "Translate Text",
"description": "Translate text between 100+ languages.\n\nArgs:\n text: The text to translate.\n target_lang: Target language code.\n source_lang: Source language code; omit to auto-detect.\n\nReturns:\n dict with the translated text (key: translated_text) and the detected source language if auto-detected.",
"inputSchema": {
"type": "object",
"required": [
"text",
"target_lang"
],
"properties": {
"text": {
"type": "string",
"maxLength": 50000,
"description": "The text to translate"
},
"source_lang": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Source language code; omit to auto-detect"
},
"target_lang": {
"type": "string",
"description": "Target language code (e.g. 'pt', 'es', 'fr', 'de', 'ja')"
}
}
},
"annotations": {
"title": "Translate Text",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Summarize text — extractive (verbatim key sentences in original order) or abstractive (concise rewrite). Args: text: The text to summarize. mode: 'abstractive' or 'extractive'. max_length: Target maximum length of the summary, in words. Returns: dict with the summary (key: summary) plus word/char counts.
| Parameter | Type | Description |
|---|---|---|
| mode | string | 'abstractive' (concise rewrite) or 'extractive' (most important sentences, verbatim) |
| text * | string | The text to summarize |
| max_length | integer | Target maximum length of the summary, in words |
{
"name": "summarize_text",
"title": "Summarize Text",
"description": "Summarize text — extractive (verbatim key sentences in original order) or abstractive (concise rewrite).\n\nArgs:\n text: The text to summarize.\n mode: 'abstractive' or 'extractive'.\n max_length: Target maximum length of the summary, in words.\n\nReturns:\n dict with the summary (key: summary) plus word/char counts.",
"inputSchema": {
"type": "object",
"required": [
"text"
],
"properties": {
"mode": {
"type": "string",
"default": "abstractive",
"description": "'abstractive' (concise rewrite) or 'extractive' (most important sentences, verbatim)"
},
"text": {
"type": "string",
"maxLength": 50000,
"description": "The text to summarize"
},
"max_length": {
"type": "integer",
"default": 150,
"maximum": 1000,
"minimum": 10,
"description": "Target maximum length of the summary, in words"
}
}
},
"annotations": {
"title": "Summarize Text",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Answer a question using ONLY the supplied text; returns the supporting sentence(s) with character offsets. Replies found:false rather than guessing when the answer isn't present in the text. Args: text: The text/document to answer from. question: The question to answer. Returns: dict with keys: answer (str|null), found (bool), supporting_spans (list of {text, start, end}).
| Parameter | Type | Description |
|---|---|---|
| text * | string | The text/document to answer from |
| question * | string | The question to answer |
{
"name": "answer_question",
"title": "Answer Question About Text",
"description": "Answer a question using ONLY the supplied text; returns the supporting sentence(s) with character offsets.\n\nReplies found:false rather than guessing when the answer isn't present in the text.\n\nArgs:\n text: The text/document to answer from.\n question: The question to answer.\n\nReturns:\n dict with keys: answer (str|null), found (bool), supporting_spans (list of {text, start, end}).",
"inputSchema": {
"type": "object",
"required": [
"text",
"question"
],
"properties": {
"text": {
"type": "string",
"maxLength": 50000,
"description": "The text/document to answer from"
},
"question": {
"type": "string",
"maxLength": 1000,
"description": "The question to answer"
}
}
},
"annotations": {
"title": "Answer Question About Text",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Ingest a document into a knowledge base: it is chunked, embedded and stored for you (managed RAG). Args: namespace: The knowledge-base namespace. text: The document text. title: Optional title. Returns: dict with keys: doc_id (str), n_chunks (int).
| Parameter | Type | Description |
|---|---|---|
| text * | string | The document text to ingest |
| title | any | Optional title for the document |
| namespace * | string | The knowledge-base namespace to ingest into (alphanumeric/hyphen) |
{
"name": "knowledge_ingest",
"title": "Ingest Document Into Knowledge Base",
"description": "Ingest a document into a knowledge base: it is chunked, embedded and stored for you (managed RAG).\n\nArgs:\n namespace: The knowledge-base namespace.\n text: The document text.\n title: Optional title.\n\nReturns:\n dict with keys: doc_id (str), n_chunks (int).",
"inputSchema": {
"type": "object",
"required": [
"namespace",
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 200000,
"description": "The document text to ingest"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional title for the document"
},
"namespace": {
"type": "string",
"maxLength": 128,
"description": "The knowledge-base namespace to ingest into (alphanumeric/hyphen)"
}
}
},
"annotations": {
"title": "Ingest Document Into Knowledge Base",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Retrieve the most relevant passages from a knowledge base plus (optionally) a grounded, cited answer. Returns found:false rather than a guess when the passages don't contain the answer. Args: namespace: The knowledge-base namespace. question: The natural-language question. top_k: How many passages to retrieve. rerank: Re-order retrieved passages before answering. synthesize: Also return a grounded answer. Returns: dict with keys: answer (str|null), found (bool), passages (list), synthesized (bool), reranked (bool), ...
| Parameter | Type | Description |
|---|---|---|
| top_k | integer | How many passages to retrieve |
| rerank | boolean | Re-order the retrieved passages before answering |
| question * | string | The natural-language question |
| namespace * | string | The knowledge-base namespace to query |
| synthesize | boolean | Also return a concise answer grounded only in the retrieved passages |
{
"name": "knowledge_query",
"title": "Query Knowledge Base",
"description": "Retrieve the most relevant passages from a knowledge base plus (optionally) a grounded, cited answer.\n\nReturns found:false rather than a guess when the passages don't contain the answer.\n\nArgs:\n namespace: The knowledge-base namespace.\n question: The natural-language question.\n top_k: How many passages to retrieve.\n rerank: Re-order retrieved passages before answering.\n synthesize: Also return a grounded answer.\n\nReturns:\n dict with keys: answer (str|null), found (bool), passages (list), synthesized (bool), reranked (bool), ...",
"inputSchema": {
"type": "object",
"required": [
"namespace",
"question"
],
"properties": {
"top_k": {
"type": "integer",
"default": 6,
"maximum": 50,
"minimum": 1,
"description": "How many passages to retrieve"
},
"rerank": {
"type": "boolean",
"default": false,
"description": "Re-order the retrieved passages before answering"
},
"question": {
"type": "string",
"maxLength": 2000,
"description": "The natural-language question"
},
"namespace": {
"type": "string",
"maxLength": 128,
"description": "The knowledge-base namespace to query"
},
"synthesize": {
"type": "boolean",
"default": true,
"description": "Also return a concise answer grounded only in the retrieved passages"
}
}
},
"annotations": {
"title": "Query Knowledge Base",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List the documents stored in a knowledge base (most recent first). Args: namespace: The knowledge-base namespace. Returns: dict with keys: documents (list of {doc_id, title, ...}).
| Parameter | Type | Description |
|---|---|---|
| namespace * | string | The knowledge-base namespace |
{
"name": "knowledge_list_documents",
"title": "List Knowledge Base Documents",
"description": "List the documents stored in a knowledge base (most recent first).\n\nArgs:\n namespace: The knowledge-base namespace.\n\nReturns:\n dict with keys: documents (list of {doc_id, title, ...}).",
"inputSchema": {
"type": "object",
"required": [
"namespace"
],
"properties": {
"namespace": {
"type": "string",
"maxLength": 128,
"description": "The knowledge-base namespace"
}
}
},
"annotations": {
"title": "List Knowledge Base Documents",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Score a transaction or account event for fraud risk. Send whatever signals you have — all optional. Returns a 0-1 fraud probability, a risk level, the exact risk factors that drove the score (each with its weight, direction and a human-readable detail), and a recommended decision (allow|review|deny). Returns: dict with keys: fraud_probability (float), risk_level (str), decision (str), risk_score_points (float), risk_factors (list of {factor, weight, direction, detail}), decision_bands (dict).
| Parameter | Type | Description |
|---|---|---|
| amount | any | The transaction amount |
| is_tor | any | Request originated from a Tor exit node |
| currency | any | ISO 4217 currency code |
| event_id | any | Your identifier for this event (echoed back; use with fraud_feedback) |
| avs_match | any | Whether the address-verification check matched |
| is_new_ip | any | First time seeing this IP |
| ip_country | any | ISO country code geolocated from the IP |
| card_country | any | ISO country code of the payment instrument |
| cvv_provided | any |
Report the confirmed outcome of an event so the fraud model can be re-calibrated to your data. Args: event_id: The event identifier. label: 'fraud' | 'legitimate' | 'chargeback' | 'dispute'. notes: Optional free-text notes. Returns: dict with keys: event_id (str), label (str), accepted (bool), feedback_id (int).
| Parameter | Type | Description |
|---|---|---|
| label * | string | The confirmed outcome: 'fraud' | 'legitimate' | 'chargeback' | 'dispute' |
| notes | any | Optional free-text notes |
| event_id * | string | The event_id you passed to fraud_score (or your own identifier) |
{
"name": "fraud_feedback",
"title": "Report Fraud Outcome (Feedback)",
"description": "Report the confirmed outcome of an event so the fraud model can be re-calibrated to your data.\n\nArgs:\n event_id: The event identifier.\n label: 'fraud' | 'legitimate' | 'chargeback' | 'dispute'.\n notes: Optional free-text notes.\n\nReturns:\n dict with keys: event_id (str), label (str), accepted (bool), feedback_id (int).",
"inputSchema": {
"type": "object",
"required": [
"event_id",
"label"
],
"properties": {
"label": {
"type": "string",
"description": "The confirmed outcome: 'fraud' | 'legitimate' | 'chargeback' | 'dispute'"
},
"notes": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
],
"default": null,
"description": "Optional free-text notes"
},
"event_id": {
"type": "string",
"maxLength": 256,
"description": "The event_id you passed to fraud_score (or your own identifier)"
}
}
},
"annotations": {
"title": "Report Fraud Outcome (Feedback)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Statistical key-phrase extraction — top-N ranked phrases. Brainiall Key Phrases engine. Pure-statistical (TF + position + casing + stopword filter), no ML cost.
| Parameter | Type | Description |
|---|---|---|
| text * | string | Input text |
| top_k | integer | Number of phrases to return |
| max_ngram | integer | Max words per phrase (1-4) |
{
"name": "extract_key_phrases",
"title": "Extract Key Phrases",
"description": "Statistical key-phrase extraction — top-N ranked phrases.\n\nBrainiall Key Phrases engine. Pure-statistical (TF + position + casing + stopword filter), no ML cost.",
"inputSchema": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"minLength": 1,
"description": "Input text"
},
"top_k": {
"type": "integer",
"default": 10,
"maximum": 50,
"minimum": 1,
"description": "Number of phrases to return"
},
"max_ngram": {
"type": "integer",
"default": 3,
"maximum": 4,
"minimum": 1,
"description": "Max words per phrase (1-4)"
}
}
},
"annotations": {
"title": "Extract Key Phrases",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Sentiment per aspect. Brainiall Aspect Sentiment engine. Splits the text into sentences mentioning each aspect, classifies each, aggregates.
| Parameter | Type | Description |
|---|---|---|
| text * | string | Input text |
| aspects * | array | Aspect terms to score (e.g. ['camera','battery','price']) |
{
"name": "aspect_sentiment",
"title": "Per-Aspect Sentiment",
"description": "Sentiment per aspect. Brainiall Aspect Sentiment engine.\n\nSplits the text into sentences mentioning each aspect, classifies each, aggregates.",
"inputSchema": {
"type": "object",
"required": [
"text",
"aspects"
],
"properties": {
"text": {
"type": "string",
"description": "Input text"
},
"aspects": {
"type": "array",
"items": {
"type": "string"
},
"description": "Aspect terms to score (e.g. ['camera','battery','price'])"
}
}
},
"annotations": {
"title": "Per-Aspect Sentiment",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Zero-shot text classification — define your labels at call time. No training, no data upload. Brainiall Custom Classifier engine. Returns {top_label, scores, confidence}.
| Parameter | Type | Description |
|---|---|---|
| text * | string | Input text |
| labels * | array | Your candidate labels (2-20 of them) |
| multi_label | boolean | If True, multiple labels can apply |
{
"name": "classify_text_custom",
"title": "Custom Text Classification (zero-shot)",
"description": "Zero-shot text classification — define your labels at call time. No training, no data upload.\n\nBrainiall Custom Classifier engine. Returns {top_label, scores, confidence}.",
"inputSchema": {
"type": "object",
"required": [
"text",
"labels"
],
"properties": {
"text": {
"type": "string",
"description": "Input text"
},
"labels": {
"type": "array",
"items": {
"type": "string"
},
"description": "Your candidate labels (2-20 of them)"
},
"multi_label": {
"type": "boolean",
"default": false,
"description": "If True, multiple labels can apply"
}
}
},
"annotations": {
"title": "Custom Text Classification (zero-shot)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Named-entity recognition + canonical linking to Wikidata Q-ids. Brainiall Entity Linker engine. Disambiguates 'Apple' the company from 'apple' the fruit.
| Parameter | Type | Description |
|---|---|---|
| text * | string | Input text |
| max_entities | integer | Max entities to return |
{
"name": "link_entities_to_wikidata",
"title": "Entity Linking (Wikidata)",
"description": "Named-entity recognition + canonical linking to Wikidata Q-ids.\n\nBrainiall Entity Linker engine. Disambiguates 'Apple' the company from 'apple' the fruit.",
"inputSchema": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "Input text"
},
"max_entities": {
"type": "integer",
"default": 20,
"maximum": 100,
"minimum": 1,
"description": "Max entities to return"
}
}
},
"annotations": {
"title": "Entity Linking (Wikidata)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Multi-turn PII detection with cross-turn coreference. Brainiall Conversational PII engine. Same surface text + type across turns gets the same entity_id.
| Parameter | Type | Description |
|---|---|---|
| turns * | array | List of [role, content] dicts representing a dialogue |
{
"name": "detect_conversational_pii",
"title": "Conversational PII Detection (multi-turn)",
"description": "Multi-turn PII detection with cross-turn coreference.\n\nBrainiall Conversational PII engine. Same surface text + type across turns gets the same entity_id.",
"inputSchema": {
"type": "object",
"required": [
"turns"
],
"properties": {
"turns": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"description": "List of [role, content] dicts representing a dialogue"
}
}
},
"annotations": {
"title": "Conversational PII Detection (multi-turn)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Classify a prompt before it reaches your LLM. Brainiall Prompt Shield engine. Returns category (jailbreak | prompt_injection | data_exfiltration | impersonation | none), severity, reason, confidence.
| Parameter | Type | Description |
|---|---|---|
| prompt * | string | The prompt text to classify (NOT executed) |
{
"name": "detect_prompt_injection",
"title": "Prompt Shield (Jailbreak / Injection Detection)",
"description": "Classify a prompt before it reaches your LLM. Brainiall Prompt Shield engine.\n\nReturns category (jailbreak | prompt_injection | data_exfiltration | impersonation | none),\nseverity, reason, confidence.",
"inputSchema": {
"type": "object",
"required": [
"prompt"
],
"properties": {
"prompt": {
"type": "string",
"maxLength": 20000,
"minLength": 1,
"description": "The prompt text to classify (NOT executed)"
}
}
},
"annotations": {
"title": "Prompt Shield (Jailbreak / Injection Detection)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Hallucination check: is a claim actually supported by a source text? Brainiall Groundedness engine. Returns {grounded, confidence, supporting_span, reason}.
| Parameter | Type | Description |
|---|---|---|
| claim * | string | The claim to verify |
| source * | string | The source text the claim should be grounded in |
{
"name": "check_groundedness",
"title": "Groundedness Detection (Hallucination Check)",
"description": "Hallucination check: is a claim actually supported by a source text?\n\nBrainiall Groundedness engine. Returns {grounded, confidence, supporting_span, reason}.",
"inputSchema": {
"type": "object",
"required": [
"claim",
"source"
],
"properties": {
"claim": {
"type": "string",
"maxLength": 4000,
"description": "The claim to verify"
},
"source": {
"type": "string",
"maxLength": 20000,
"description": "The source text the claim should be grounded in"
}
}
},
"annotations": {
"title": "Groundedness Detection (Hallucination Check)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Detect copyrighted text in user input — famous lyrics, literary openings, proprietary code. Brainiall Protected Material engine. Returns matched spans with source attribution.
| Parameter | Type | Description |
|---|---|---|
| text * | string | Text to scan for copyrighted material |
{
"name": "detect_protected_material",
"title": "Protected Material Detection",
"description": "Detect copyrighted text in user input — famous lyrics, literary openings, proprietary code.\n\nBrainiall Protected Material engine. Returns matched spans with source attribution.",
"inputSchema": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 20000,
"description": "Text to scan for copyrighted material"
}
}
},
"annotations": {
"title": "Protected Material Detection",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}NLP API suite with 5 text analysis capabilities: 1. **Toxicity Detection** -- analyze_toxicity scores text for 6 harm categories. 2. **Sentiment Analysis** -- analyze_sentiment classifies positive/negative tone. 3. **Named Entity Recognition** -- extract_entities finds persons, orgs, locations. 4. **PII Detection** -- detect_pii finds and optionally redacts personal information. 5. **Language Detection** -- detect_language identifies language from 176 supported. 6. **Translation** -- translate_text translates between 100+ languages. 7. **Summarization** -- summarize_text (extractive or abstractive). 8. **Document Q&A** -- answer_question answers using only the supplied text. 9. **Knowledge base (managed RAG)** -- knowledge_ingest / knowledge_query / knowledge_list_documents. 10. **Fraud scoring** -- fraud_score scores an event for fraud risk; fraud_feedback records outcomes. All tools accept structured inputs and return structured JSON.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| Whether the CVV was provided |
| txn_count_1h | any | Number of transactions on this account in the last hour |
| is_new_device | any | First time seeing this device |
| txn_count_24h | any | Number of transactions on this account in the last 24h |
| is_proxy_or_vpn | any | Request originated from a proxy/VPN/datacenter IP |
| account_age_days | any | Age of the account in days |
| prior_chargebacks | any | Number of prior chargebacks on this account |
| avg_txn_amount_30d | any | The account's avg transaction amount over the last 30 days (for amount-anomaly scoring) |
| distinct_cards_24h | any | Distinct cards used on this account in 24h |
| distinct_countries_24h | any | Distinct countries seen on this account in 24h |
{
"name": "fraud_score",
"title": "Score Event For Fraud Risk",
"description": "Score a transaction or account event for fraud risk. Send whatever signals you have — all optional.\n\nReturns a 0-1 fraud probability, a risk level, the exact risk factors that drove the score (each with its\nweight, direction and a human-readable detail), and a recommended decision (allow|review|deny).\n\nReturns:\n dict with keys: fraud_probability (float), risk_level (str), decision (str), risk_score_points (float),\n risk_factors (list of {factor, weight, direction, detail}), decision_bands (dict).",
"inputSchema": {
"type": "object",
"properties": {
"amount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "The transaction amount"
},
"is_tor": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Request originated from a Tor exit node"
},
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO 4217 currency code"
},
"event_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your identifier for this event (echoed back; use with fraud_feedback)"
},
"avs_match": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Whether the address-verification check matched"
},
"is_new_ip": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "First time seeing this IP"
},
"ip_country": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO country code geolocated from the IP"
},
"card_country": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO country code of the payment instrument"
},
"cvv_provided": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Whether the CVV was provided"
},
"txn_count_1h": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Number of transactions on this account in the last hour"
},
"is_new_device": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "First time seeing this device"
},
"txn_count_24h": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Number of transactions on this account in the last 24h"
},
"is_proxy_or_vpn": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Request originated from a proxy/VPN/datacenter IP"
},
"account_age_days": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "Age of the account in days"
},
"prior_chargebacks": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Number of prior chargebacks on this account"
},
"avg_txn_amount_30d": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "The account's avg transaction amount over the last 30 days (for amount-anomaly scoring)"
},
"distinct_cards_24h": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Distinct cards used on this account in 24h"
},
"distinct_countries_24h": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Distinct countries seen on this account in 24h"
}
}
},
"annotations": {
"title": "Score Event For Fraud Risk",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}