Skip to main content
Glama

check_spam_text

Classify any text message as SPAM, SUSPICIOUS, or SAFE using AI consensus and verified scam patterns. Get verdict, confidence, and risk signals for moderation.

Instructions

Classify a text message as SPAM, SUSPICIOUS, or SAFE using multi-LLM consensus (GPT + Claude + Gemini) and vector similarity against 1,100+ verified scam patterns. Returns verdict, confidence, category, risk signals, red flags, and plain-language recommendation. Built from real Telegram moderation data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesMessage text to classify. Max 5,000 characters.
localeNoISO 639-1 language hint (e.g. 'uk', 'ru', 'de'). Auto-detected if omitted.
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses the use of GPT, Claude, and Gemini, vector similarity, and the output fields (verdict, confidence, category, risk signals, red flags, recommendation). Missing are potential limitations or failure modes, but the core behavior is well described.

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?

The description is three short sentences, each earning its place: the classification action, the return values, and the data provenance. There is no unnecessary detail or repetition.

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

Completeness4/5

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

Given the tool's moderate complexity and the absence of an output schema, the description compensates by listing the return fields. It covers purpose, method, and outputs but omits edge cases like error handling or accuracy caveats, which are minor for this use case.

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?

The input schema already provides thorough descriptions for both 'text' (max 5000 chars) and 'locale' (ISO 639-1, auto-detected). The tool description adds no extra parameter-specific meaning, so the schema does the heavy lifting, warranting the baseline score.

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 starts with 'Classify a text message as SPAM, SUSPICIOUS, or SAFE' – a specific verb, resource, and outcome. The mention of multi-LLM consensus and vector similarity against scam patterns further differentiates it from sibling tools like get_spam_stats and get_spam_examples.

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 clearly implies the tool is for classifying text messages, distinguishing it from sibling tools that provide stats or examples. However, it does not explicitly state when not to use this tool or directly reference alternatives, so it falls short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DarynaFor/mcp-varta'

If you have feedback or need assistance with the MCP directory API, please join our Discord server