Skip to main content
Glama

Duo Data Utilities: IBAN, VAT, ISIN Validation API

Unicode normalization (NFC/NFKC), script detection and homoglyph/confusable check

unicode_confusables_check
Read-onlyIdempotent

Unicode normalization and confusables check: apply NFC, NFD, NFKC or NFKD, report which forms a string is already in, list the scripts present (all Unicode scripts), and flag confusable and homoglyph characters — Cyrillic а in a Latin word, fullwidth or mathematical look-alikes, all-look-alike words — plus zero-width joiners, bidirectional overrides, invisible and blank characters. Returns per-character detail with code points, names and the ASCII character each imitates. Price: $0.05 per successful call, paid over x402 (USDC on Base).

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": "unicode_confusables_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
formNoNormalisation form to apply, default nfc. Accepted: nfc, nfd, nfkc or nfkd.
textYesText to analyse, at most 1024 characters. Accepted: at most 1024 characters.
detailNosummary (default) or full per-code-point detail (capped at 256 entries). Accepted: summary, full.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent and closed-world behavior, and the description adds substantial context beyond them: per-call pricing of $0.05 over x402 (USDC on Base), the per-character return shape with code points and names, and the 256-entry cap on full detail. It stops short of describing error or failure behavior when a call is unpaid or text exceeds limits.

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?

The capability summary is front-loaded and dense, with each clause naming a distinct feature rather than padding. The single long run-on sentence and the appended pricing sentence are efficient, though the main sentence could be broken up for faster scanning.

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 carries the burden of explaining returns, and it does so via the per-character detail and code-point/name/imitated-ASCII breakdown. Pricing and the 256-entry cap are also covered; only edge-case behavior (oversized input, payment failure) is left implicit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and two of three params are enums, so the structured data already does the heavy lifting and the baseline would be 3. The description still adds meaning by explaining what 'form' actually does (applying normalization) and by describing the outcome of 'detail' — per-character detail with code points, names and imitated ASCII — rather than merely restating the enum values.

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 opens with a specific verb+resource pair ('Unicode normalization and confusables check') and enumerates concrete capabilities: applying NFC/NFD/NFKC/NFKD, reporting existing forms, listing scripts, and flagging homoglyphs and invisible characters. This clearly separates it from siblings like cyrillic_transliterate, punycode_convert and string_similarity, which touch adjacent but distinct concerns.

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?

Usage is implied through the examples given ('Cyrillic а in a Latin word', 'all-look-alike words'), which suggest security/anti-spoofing scenarios, but the description never says when to choose this over siblings or states any exclusions. There is no explicit when-to-use or when-not-to-use statement.

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.