Check one post and get a version that fits ($0.001)
check_post_lengthFull check of one post for a network: valid or not, exact length in that network's unit, remaining, issues (over the limit, byte cap, too many links, invalid characters, NFC) and a "fitted" version cut at a sentence or word boundary with an ellipsis when it is too long. X: weighted, CJK and emoji count 2, every link 23, limit 280. Bluesky: 300 graphemes and 3000 bytes. Farcaster: UTF-8 bytes, 320 per cast (1024 long cast). Mastodon: 500, links 23. Threads (Meta): 500, emoji count as their UTF-8 bytes. For the length alone use the free count_post_length. PAID: $0.001 per call in USDC on Base via x402 over MCP, or from prepaid credits if this server is configured with an Authorization: Bearer tkc_... header (see payment_options).
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": "check_post_length"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The post text (any language) | |
| limit | No | Optional max length per post in that network's unit; default is the network's own limit (see network_rules) | |
| network | No | Target network: x (X/Twitter, default), bluesky, farcaster, mastodon or meta-threads (Threads by Meta) |