Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

Health

Corrected Sodium (Glucose) Calculator

Calculate the glucose-corrected serum sodium to reveal true body tonicity in hyperglycemia. Classic Katz (1973) formula Na_corr = Na + 1.6 × (Glucose − 100)/100 (glucose mg/dL), or Hillier (1999) Na_corr = Na + 2.4 × (Glucose − 100)/100 which is more accurate at very high glucose (Katz tends to underestimate). Glucose unit selectable: mg/dL or mmol/L (reference 5.5 mmol/L). Hyperglycemia shifts water extracellularly and dilutes sodium; the corrected value reflects the real water balance. Corrected Na < 135 indicates true hyponatremia (DKA/HHS with free-water excess, SIADH, GI/renal losses); > 145 indicates true hypernatremia (common in HHS, signals free-water deficit and guides replacement). Derived from Katz NEJM 1973, Hillier 1999, Adrogué NEJM 2000, and MDCalc. Not medical advice.

json· JSON resultOpen tool

Quick start

Call this tool from your code in three languages.

cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/corrected-sodium-glucose' \
  -H 'Content-Type: application/json' \
  -d '{"factor":"katz","glucoseUnit":"mgdl","sodium":128,"glucose":600,"decimalPlaces":1}'

API reference

Send a POST request with your inputs as JSON. File parameters require a separate upload first.

Endpoint

HTTP
POST https://api.elysiatools.com/en/api/tools/corrected-sodium-glucose

Parameters

NameTypeRequiredDescription
factorselectYes—
glucoseUnitselectYes—
sodiumnumberYesMeasured serum sodium (mmol/L), always in mmol/L.
glucosenumberYesSerum glucose. mg/dL or mmol/L per 'Glucose Unit'.
decimalPlacesnumberNo—

MCP integration

Add this tool to your Model Context Protocol server so AI agents can list and call it.

Server configuration

Add this block to your MCP client configuration:

mcp.json
{
  "mcpServers": {
    "elysiatools-corrected-sodium-glucose": {
      "name": "corrected-sodium-glucose",
      "description": "Calculate the glucose-corrected serum sodium to reveal true body tonicity in hyperglycemia. Classic Katz (1973) formula Na_corr = Na + 1.6 × (Glucose − 100)/100 (glucose mg/dL), or Hillier (1999) Na_corr = Na + 2.4 × (Glucose − 100)/100 which is more accurate at very high glucose (Katz tends to underestimate). Glucose unit selectable: mg/dL or mmol/L (reference 5.5 mmol/L). Hyperglycemia shifts water extracellularly and dilutes sodium; the corrected value reflects the real water balance. Corrected Na < 135 indicates true hyponatremia (DKA/HHS with free-water excess, SIADH, GI/renal losses); > 145 indicates true hypernatremia (common in HHS, signals free-water deficit and guides replacement). Derived from Katz NEJM 1973, Hillier 1999, Adrogué NEJM 2000, and MDCalc. Not medical advice.",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=corrected-sodium-glucose",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

List available tools

After connecting to the SSE endpoint, list the exposed tools:

tools/list
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list"
}

Call this tool

Invoke the tool by its id, passing arguments built from its parameters:

tools/call
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "corrected-sodium-glucose",
    "arguments": {
  "factor": "katz",
  "glucoseUnit": "mgdl",
  "sodium": 128,
  "glucose": 600,
  "decimalPlaces": 1
}
  }
}
Browse toolsOpen tool

© 2026 Elysia Tools. Developer documentation.

Back to siteBrowse tools

Response format

JSON result

JSON
{
  "key": {...},
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
Chain multiple tools in one session with a comma-separated toolId list, e.g. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (max 20).

Questions or issues? Contact [email protected]