Science & Education
Ksp ↔ molar solubility in either direction for 1:1, 1:2, 1:3 and 2:3 salts, with optional g/L output.
Call this tool from your code in three languages.
curl -X POST 'http://127.0.0.1:3003/en/api/tools/solubility-product-ksp' \
-H 'Content-Type: application/json' \
-d '{"direction":"ksp-to-s","saltType":"ab","ksp":1.8e-10,"solubility":0.0000134,"sUnit":"M","molarMass":143.32}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST http://127.0.0.1:3003/en/api/tools/solubility-product-ksp| Name | Type | Required | Description |
|---|---|---|---|
| direction | select | Yes | — |
| saltType | select | Yes | — |
| ksp | number | No | — |
| solubility | number | No | — |
| sUnit | select | Yes | — |
| molarMass |
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-solubility-product-ksp": {
"name": "solubility-product-ksp",
"description": "Ksp ↔ molar solubility in either direction for 1:1, 1:2, 1:3 and 2:3 salts, with optional g/L output.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=solubility-product-ksp",
"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": "solubility-product-ksp",
"arguments": {
"direction": "ksp-to-s",
"saltType": "ab",
"ksp": 1.8e-10,
"solubility": 0.0000134,
"sUnit": "M",
"molarMass": 143.32
}
}
}Questions or issues? Contact [email protected]
| number |
| No |
| — |
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}