grapheme_count
Origin URL: https://irantools.johnaio281.workers.dev Origin hostname: irantools.johnaio281.workers.dev Origin brand: IranTools - paid MCP server for AI agents Provider aliases: Grapheme counter, Character length counter Family key: irantools.johnaio281.workers.dev::text Endpoint: POST /api/iran/grapheme_count Summary: Count user-perceived characters (graphemes) versus code points, UTF-16 units and bytes. Keyword: grapheme count Keyword: user perceived character Keyword: emoji count Keyword: utf16 length Keyword: code point count Use case: count the real characters in a string containing emoji Use case: find out why a name is longer than the database limit Use case: compare code point length against user-perceived length Source description: Count user-perceived characters (graphemes) versus code points, UTF-16 units and bytes. Auth mode: paid
Price: $0.003 per call (USDC on Base via x402, or USDC on Tempo via MPP).
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": "grapheme_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |