Skip to main content
Glama

scan_message

Read-onlyIdempotent

Scan a suspicious message, URL, or text for scam indicators using ScamCheck AI. Returns a verdict (Likely Scam / Suspicious / Likely Safe), risk score 0-100, category, confidence percentage, reasons flagged, and recommended actions. Use this whenever a user shares a message they received and wants to know if it's a scam.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesThe message, URL, or text to scan. Minimum 8 characters.
sourceNoContent type: text (default), url, or screenshot.text

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
riskYesOverall risk level: high, medium, or low
scoreYesRisk score from 0 (safe) to 100 (certain scam)
reasonsYesWhy this was flagged
summaryYes1-2 sentence analysis
verdictYesLikely Scam | Suspicious | Likely Safe
categoryNoScam category, e.g. phishing, lottery_scam, job_scam
confidenceNoConfidence percentage 0-99
next_stepsNoWhat the user should do now
result_urlNoShareable full-report URL
recovery_stepsNoSteps if the user already fell for it

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint. The description adds detail on return values (verdict, risk score, etc.) and the general behavior. There is no contradiction, and the description complements annotations well.

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 two sentences: the first explains functionality and output, the second provides usage guidance. It is concise, front-loaded, and every sentence is valuable.

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?

Given the tool has an output schema and the description lists the return fields, the description provides sufficient context for a user to understand the tool's purpose and when to use it. There are no missing aspects for a scanning tool.

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 coverage is 100%, and both parameters are already described in the schema. The description's mention of 'message, URL, or text' aligns with the input parameter but does not add significant new meaning beyond the schema definitions.

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 clearly states the tool scans suspicious messages, URLs, or text using ScamCheck AI and lists specific outputs. It uses a specific verb 'scan' and resource description, and with no sibling tools, there is no differentiation needed.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when to use the tool: 'Use this whenever a user shares a message they received and wants to know if it's a scam.' This provides clear context with no ambiguity or need for alternatives.

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.