Math & Numbers
Convert megabytes to gigabytes with decimal vs binary interpretation, alternate-system comparison, and transfer estimates
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/mb-to-gb' \
-H 'Content-Type: application/json' \
-d '{"value":"2048","unitSystem":"binary","transferSpeedMbps":100,"precision":4}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/mb-to-gb| Name | Type | Required | Description |
|---|---|---|---|
| value | text | Yes | — |
| unitSystem | select | Yes | — |
| transferSpeedMbps | number | No | — |
| precision | number | No | — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}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-mb-to-gb": {
"name": "mb-to-gb",
"description": "Convert megabytes to gigabytes with decimal vs binary interpretation, alternate-system comparison, and transfer estimates",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=mb-to-gb",
"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": "mb-to-gb",
"arguments": {
"value": "2048",
"unitSystem": "binary",
"transferSpeedMbps": 100,
"precision": 4
}
}
}Questions or issues? Contact [email protected]