Skip to main content
Glama

Aya scam check

Screen a message for scam patterns

scam_check
Read-onlyIdempotent

Score a text, email, chat or voicemail transcript against Aya's scam rules (urgency, hard-to-reverse payments, credential and code requests, government or tech-support impersonation, prizes, family emergencies, deposits to unlock earnings, disguised links) in English or Spanish. Returns the risk level and score, the reasons, what to do now and what to do if the person already acted. Runs locally; the message is not stored or sent anywhere.

Input Schema

NameRequiredDescriptionDefault
messageYesThe message text as received (links may be written as hxxp or with [.]).
unknownSenderNoTrue when the sender is not a saved contact.
repeatedContactNoTrue when the sender has contacted the person repeatedly.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive and closed-world behavior. The description adds genuinely new information beyond them: the shape of the output (risk level, score, reasons, recommended actions) and the privacy guarantee that the message is not stored or transmitted.

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

Conciseness4/5

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

Front-loaded with the action and target, and every element (pattern list, languages, outputs, privacy) carries information. The long parenthetical pattern list is dense but earns its space; no filler sentences.

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 no output schema, the description must summarize returns, and it does so (risk level, score, reasons, immediate and follow-up actions). Parameters are fully covered by the schema, so nothing an agent needs to call this correctly is missing.

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 documents all three parameters, including the hxxp/[.] link obfuscation convention. The description adds no meaning about unknownSender or repeatedContact or how they alter scoring, so it sits at the baseline.

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?

Names a specific verb (score) and resource (text, email, chat or voicemail transcript) and enumerates the scam-pattern families checked, including supported languages. An agent can tell this apart from the sibling link_check without opening either schema.

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 context for use is clear: screen a received message for scam risk. However, it never states when NOT to use it or routes the agent to link_check for URL-only inspection, even though 'disguised links' is one of the listed patterns — that overlap is left to inference.

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