Skip to main content
Glama

ai_scam_detect

Read-only

AI scam and phishing text screen — Screen an inbound message (email, SMS, DM, listing, job offer) for fraud: SAFE / SUSPICIOUS / SCAM verdict, 0-100 risk score, scam category, the specific red flags found, and a recommended action. Also flags prompt-injection attempts aimed at agents. Price: $0.008 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "ai_scam_detect"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesthe message to screen

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint, so safety is covered; the description then adds genuinely useful context beyond that — the $0.008 USDC per-call cost via x402 (a real authorization/spend consideration) and the shape of the response (verdict, 0-100 risk score, category, red flags, recommended action). It omits rate limits or failure behavior, which keeps it out of the top band.

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?

Front-loaded with the action and scope, then outputs, then the secondary prompt-injection capability, then price. Every clause carries distinct information and there is no filler.

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?

For a one-parameter, read-only screen tool with no output schema, the description covers the missing pieces: it spells out the return contents and includes cost. An agent has everything needed to decide to call it and to interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for the single 'text' parameter, so baseline is 3; the description earns above baseline by enumerating the concrete message types the string may contain (email, SMS, DM, listing, job offer), which tells the agent what content is in scope to pass in.

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 ('Screen an inbound message ... for fraud') and enumerates the input types it handles (email, SMS, DM, listing, job offer) plus the exact verdict taxonomy. That level of domain specificity ('SAFE / SUSPICIOUS / SCAM', red flags, prompt-injection) clearly separates it from generic siblings like ai_moderate or ai_classify.

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?

It gives clear usage context by naming the inbound message scenarios it is designed for and calling out the prompt-injection case that agents should route here. It stops short of explicit when-not guidance or naming an alternative sibling to use instead.

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