Skip to main content
Glama

check_fraud_risk

Read-onlyIdempotent

Screen an 11-digit Bangladeshi mobile number against courier databases and BTRC validation to assess delivery success, cancellation counts, and return fraud risk.

Instructions

Screen a customer phone number against live nationwide Bangladesh logistics databases (Steadfast & Pathao) and the BTRC 11-digit prefix validator for delivery success rate, cancellation counts, and return fraud risk level ('INVALID_NUMBER', 'NO_HISTORY', 'LOW', 'MEDIUM', 'HIGH', 'CRITICAL'). READ-ONLY DIAGNOSTIC QUERY: Returns null rates when a number is invalid or has 0 parcel history. Expects an 11-digit Bangladeshi mobile number ('01[3-9]XXXXXXXX').

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": {
      "phone": "<phone>"
    },
    "name": "check_fraud_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
phoneYes11-digit Bangladeshi mobile number to evaluate

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.4.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial context beyond them: that live third-party courier databases are queried, the enumeration of possible risk levels, and the null-return behavior on invalid or zero-history numbers. That edge-case disclosure is exactly the kind of behavior an agent needs before trusting or interpreting a result.

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 core action and sources come first, followed by the read-only framing, edge-case caveat, and expected input format. Dense but every clause carries information an agent would otherwise have to guess; nothing is redundant with the title or schema.

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?

There is no output schema, yet the description compensates by naming the return fields (delivery success rate, cancellation counts, risk level) and enumerating the risk-level values, plus explaining when values come back null. Combined with the fully covered input schema, this is sufficient to call and interpret the tool correctly.

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% and the single parameter is already documented, so the baseline would be 3. The description adds real meaning beyond the schema by giving the concrete accepted pattern '01[3-9]XXXXXXXX', which constrains the input format more precisely than the schema's prose.

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 ('Screen a customer phone number') plus the exact data sources queried (Steadfast, Pathao, BTRC prefix validator) and the risk-level output taxonomy. None of the sibling tools (parcel creation, tracking, address validation, courier rates) overlap with this diagnostic, so an agent can distinguish it at a glance.

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 'READ-ONLY DIAGNOSTIC QUERY' framing makes the usage context clear (pre-screening a customer number for delivery/return risk) and it flags the edge case where results are uninformative (invalid number or zero parcel history). It does not explicitly say when to prefer this over collapsing it into create_parcel or what to do when the result is null, so no true alternatives or exclusions are named.

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