Skip to main content
Glama

Single AML Rulebook Customer Due Diligence (CDD vs EDD) Risk Scorer

aml_customer_risk_scorer
Read-onlyIdempotent

[Single AML rulebook customer due diligence risk scorer. Deterministic calculation, read-only, side-effect free]. Calculates customer risk tier (Low, Medium, High, Unacceptable) under Regulation (EU) 2024/1624 based on entity structure, geography, delivery channels, and volume, specifying mandatory EDD controls. Usage: Pass customer onboarding attributes to determine mandatory CDD vs EDD requirements and senior management approval triggers. Returns: JSON object with { customerName: string, riskScore: number, riskTier: string, dueDiligenceLevelRequired: string, mandatoryComplianceMeasures: array, riskFactorBreakdown: object }.

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": {
      "customerName": "<customerName>",
      "customerType": "<customerType>",
      "jurisdictionCountryIso2": "<jurisdictionCountryIso2>",
      "deliveryChannel": "<deliveryChannel>",
      "expectedAnnualTransactionVolumeEur": "<expectedAnnualTransactionVolumeEur>"
    },
    "name": "aml_customer_risk_scorer"
  }
}

Input Schema

NameRequiredDescriptionDefault
customerNameYesCustomer corporate legal name or individual full name
customerTypeYesCustomer legal and entity categorization
deliveryChannelYesClient onboarding and interaction channel
isCashIntensiveBusinessNoWhether business operates in cash-heavy sectors (dining, gambling, art, foreign exchange)
jurisdictionCountryIso2Yes2-letter ISO country code of customer incorporation or primary residence
isHighNetWorthIndividualNoWhether individual customer holds liquid assets exceeding €1M
isCryptoVirtualAssetProviderNoWhether entity is a Virtual Asset Service Provider (VASP/CASP)
expectedAnnualTransactionVolumeEurYesAnticipated annual transaction volume in EUR

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, and the bracketed sentence "Deterministic calculation, read-only, side-effect free" largely restates them. Genuinely additive context is the regulatory basis (EU 2024/1624) and the fact that senior management approval triggers are produced, but nothing is said about thresholds, jurisdiction coverage limits, or failure modes of this deterministic scorer.

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?

Three labeled segments — scope, Usage, Returns — front-load the purpose and keep each block short. The bracketed first sentence partly duplicates annotation data, which is the only real waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 usefully enumerates the return fields (riskScore, riskTier, dueDiligenceLevelRequired, mandatoryComplianceMeasures, riskFactorBreakdown), which is exactly what an agent needs. What remains thin is the scoring logic itself — which factors trigger Unacceptable vs High, and whether jurisdiction input expects EU/EEA codes only.

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 every one of the 8 parameters, including both enums, is already documented. The description only references the high-level factor groups (entity structure, geography, delivery channels, volume) without explaining how any parameter maps to risk weight or tier, leaving it at the baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: calculates a customer risk tier (Low/Medium/High/Unacceptable) under Regulation (EU) 2024/1624 from entity structure, geography, delivery channel and volume, plus mandatory EDD controls. That is far more specific than a restatement of the name. It does not explicitly separate itself from near siblings like pep_tiered_risk_assessor or high_risk_jurisdiction_screener, so it stops short of a 5.

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

Usage Guidelines3/5

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

"Pass customer onboarding attributes to determine mandatory CDD vs EDD requirements and senior management approval triggers" gives clear implied usage at onboarding time. It offers no when-not conditions, no prerequisites, and never names an alternative tool, so selection among AML siblings 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