Math & Numbers
Convert dynamic (absolute) viscosity between Pa·s (pascal-second, SI base, = N·s/m² = kg/(m·s)), cP (centipoise, 1 cP = 0.001 Pa·s), and lbf·s/ft² (imperial, 1 = 47.88025898 Pa·s). Converts via Pa·s to the target unit and also lists the equivalent value in all three units for reference. Reference values: water 20°C ≈ 1.002 cP, glycerol 20°C ≈ 1412 cP, air 20°C ≈ 0.0181 cP.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/dynamic-viscosity-converter' \
-H 'Content-Type: application/json' \
-d '{"inputUnit":"cP","value":1000,"outputUnit":"Pa·s","decimalPlaces":6}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/dynamic-viscosity-converter| Name | Type | Required | Description |
|---|---|---|---|
| inputUnit | select | No | — |
| value | number | Yes | Dynamic viscosity in the selected Input unit. Must be non-negative. |
| outputUnit | select | No | — |
| decimalPlaces | 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-dynamic-viscosity-converter": {
"name": "dynamic-viscosity-converter",
"description": "Convert dynamic (absolute) viscosity between Pa·s (pascal-second, SI base, = N·s/m² = kg/(m·s)), cP (centipoise, 1 cP = 0.001 Pa·s), and lbf·s/ft² (imperial, 1 = 47.88025898 Pa·s). Converts via Pa·s to the target unit and also lists the equivalent value in all three units for reference. Reference values: water 20°C ≈ 1.002 cP, glycerol 20°C ≈ 1412 cP, air 20°C ≈ 0.0181 cP.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=dynamic-viscosity-converter",
"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": "dynamic-viscosity-converter",
"arguments": {
"inputUnit": "cP",
"value": 1000,
"outputUnit": "Pa·s",
"decimalPlaces": 6
}
}
}Questions or issues? Contact [email protected]