Development
Decode 64-bit Snowflake-style IDs for Discord, Twitter, Mastodon, Sonyflake, Instagram, or a custom bit profile. Extract timestamp, worker/process/machine, sequence fields, align platform epochs, and infer a Discord shard when a shard count is supplied.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/snowflake-discord-id-bit-decoder' \
-H 'Content-Type: application/json' \
-d '{"snowflakeId":"109580041603153152","platform":"discord","shardCount":8,"customEpoch":"","customTimestampUnit":"ms","customFieldsJson":""}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/snowflake-discord-id-bit-decoder| Name | Type | Required | Description |
|---|---|---|---|
| snowflakeId | text | Yes | — |
| platform | select | No | — |
| shardCount | number | No | — |
| customEpoch | text | No | — |
| customTimestampUnit | select | No | — |
| customFieldsJson |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-snowflake-discord-id-bit-decoder": {
"name": "snowflake-discord-id-bit-decoder",
"description": "Decode 64-bit Snowflake-style IDs for Discord, Twitter, Mastodon, Sonyflake, Instagram, or a custom bit profile. Extract timestamp, worker/process/machine, sequence fields, align platform epochs, and infer a Discord shard when a shard count is supplied.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=snowflake-discord-id-bit-decoder",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "snowflake-discord-id-bit-decoder",
"arguments": {
"snowflakeId": "109580041603153152",
"platform": "discord",
"shardCount": 8,
"customEpoch": "",
"customTimestampUnit": "ms",
"customFieldsJson": ""
}
}
}| textarea |
| No |
| — |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Questions or issues? Contact [email protected]