Skip to main content
Glama

Check a message against known scam patterns in Kenya or Nigeria

africa_scams.check_message
Read-only

Use this when someone in Kenya or Nigeria shares a text, a WhatsApp message, an email or an account of a phone call about mobile money, a bank, a prize, a job, an investment, a loan or a request for money, and wants to know which known fraud patterns it resembles. It returns the patterns the wording resembles, what the bodies that describe them say to do, and where to report, each with its source. It does not judge the message: say so, and never tell someone a message is fine because nothing matched. Do not use it for other countries, for legal advice, or to decide whether to pay. Leave any PIN, password or one-time code out of what you pass to it.

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": {
      "country": "<country>",
      "message": "<message>"
    },
    "name": "africa_scams.check_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryYesThe country the message or call is about: kenya or nigeria.
messageYesThe message as received, or a short account of the call. Leave out any PIN, password or one-time code.

Output Schema

NameRequiredDescriptionDefault
limitsYes
countryYes
read_onYes
report_toYes
resemblesYes
explore_urlNo
warning_signsYes
standing_adviceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already say readOnly and non-destructive, and the description adds substantial context beyond them: what is returned (matched patterns plus recommended actions and reporting destinations, each sourced), the crucial limitation that it does not judge the message, and an explicit warning not to declare an unmatched message safe. That guards against the most likely misuse.

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 use case, then returns, then exclusions, then the safety caveat. Dense but every clause carries weight; the safety instruction repeats the schema's PII warning, which is a small redundancy but justified given the stakes.

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?

Output schema exists so return values needn't be spelled out, yet the description still characterizes them usefully (patterns, guidance, reporting, sources). For a read-only two-parameter lookup with full schema coverage, nothing an agent needs is missing.

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%, so baseline is 3. The description adds real meaning on top: what 'country' means (the country the message is about) and how to treat 'message' (as received, or a short call account), plus the instruction to omit PINs, passwords, and one-time codes, reinforcing the 4000-char constraint.

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?

States a specific verb and resource ('check a message against known scam patterns'), scopes it geographically (Kenya or Nigeria), and enumerates the input types (text, WhatsApp, email, call account) and subject matter (mobile money, prize, job, loan, money request). It is clearly distinguishable from list_patterns and where_to_report.

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?

Gives explicit when-to-use framing, explicit exclusions ('do not use it for other countries, for legal advice, or to decide whether to pay'), and a prerequisite constraint about stripping credentials. It even prescribes how the agent should communicate the non-verdict to the user.

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