optimize_sms_gsm7_segments
Calculates GSM-7 versus UCS-2 SMS billing segments and sanitizes smart quotes to GSM-7, helping estimate segment counts and reduce encoding costs.
Instructions
Calculates 3GPP TS 23.038 GSM-7 vs UCS-2 SMS billing segments and rescues smart-quote texts back to GSM-7.
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": "optimize_sms_gsm7_segments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| sanitize | No |