arabic_token_metrics
Compute token-to-word ratios, character counts, and compression statistics for Arabic prompts to evaluate token efficiency and guide prompt optimization.
Instructions
Computes token-to-word ratio, character count, and compression statistics for Arabic prompts.
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": "arabic_token_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The Arabic text to evaluate. |