Skip to main content
Glama

nbrain-mena-cbam-carbon-esg

scan_sdaia_pdpl_arabic_pii

Read-onlyIdempotent

Scan mixed Arabic/English text (normalizing Arabic-Indic digits) to detect checksum-verified Saudi National IDs/Iqamas, Egyptian 14-digit IDs, UAE Emirates IDs, MOD-97 MENA IBANs, and Saudi SPL addresses per SDAIA PDPL.

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": {
      "text": "<text>"
    },
    "name": "scan_sdaia_pdpl_arabic_pii"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already establish that this is a read-only, idempotent, non-destructive, closed-world operation, so the description is not responsible for basic safety disclosure. It adds useful behavioral context beyond the annotations: normalization of Arabic-Indic digits, checksum-verified detection, MOD-97 IBAN validation, and SDAIA PDPL scope. It stops short of explaining what the scan returns or whether matches are redacted, even though the annotation title mentions 'Redact' while the description only says 'detect'.

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 definition is a single dense sentence with the core action and detection scope front-loaded. The parenthetical normalization detail is placed immediately after 'text,' and every clause contributes specific information about identity types, validation method, or governing standard.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is structurally simple, but there is no output schema and the description does not explain the return shape, match metadata, or redaction behavior. It covers scope, validation standards, and normalization well, but an agent still lacks guidance on what to expect from the scan result.

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?

With one required string parameter and 0% schema description coverage, the description must compensate for the schema gap. It does partially: it identifies the input as mixed Arabic/English text and discloses that Arabic-Indic digits are normalized. It does not state length limits, encoding expectations, or that the parameter is the sole required input, so the parameter meaning is only partly clarified.

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 uses a specific verb ('Scan') and resource ('mixed Arabic/English text'), then enumerates exactly what it detects: checksum-verified Saudi National IDs/Iqamas, Egyptian 14-digit IDs, UAE Emirates IDs, MOD-97 MENA IBANs, and Saudi SPL addresses. This clearly distinguishes it from sibling validation/decode tools that operate on a single known value rather than free text.

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?

The compliance framing ('per SDAIA PDPL') and enumeration of PII types imply when the tool is appropriate: scanning text for MENA PII. However, it gives no explicit when-not-to-use guidance and does not route the agent to alternatives such as validate_saudi_national_id_iqama or decode_egypt_14digit_national_id when the task is to verify or decode a specific identifier.

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.