Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

Health

Drug Half-Life Concentration Calculator

Estimate plasma drug concentration at a chosen time after an IV bolus using a one-compartment model with first-order elimination: C(t) = (Dose / Vd) · e^(-k·t), where k = ln2 / t½. Includes initial concentration C0, elimination rate constant k, percent remaining, and number of half-lives elapsed. Valid only for linear pharmacokinetics — NOT for Michaelis-Menten drugs (phenytoin, high-dose ethanol) or multi-compartment distribution. Reference: theophylline Vd ≈ 0.45 L/kg, t½ ≈ 8 h. 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/drug-half-life-dose' \
  -H 'Content-Type: application/json' \
  -d '{"dose":400,"vd":31.5,"halfLife":8,"time":8,"decimalPlaces":4}'

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/drug-half-life-dose

Parameters

NameTypeRequiredDescription
dosenumberYesIV bolus dose. Must be positive.
vdnumberYesApparent volume of distribution. Must be positive.
halfLifenumberYesElimination half-life in hours. Must be positive.
timenumberYesTime elapsed since the IV bolus, in hours. Cannot be negative.
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-drug-half-life-dose": {
      "name": "drug-half-life-dose",
      "description": "Estimate plasma drug concentration at a chosen time after an IV bolus using a one-compartment model with first-order elimination: C(t) = (Dose / Vd) · e^(-k·t), where k = ln2 / t½. Includes initial concentration C0, elimination rate constant k, percent remaining, and number of half-lives elapsed. Valid only for linear pharmacokinetics — NOT for Michaelis-Menten drugs (phenytoin, high-dose ethanol) or multi-compartment distribution. Reference: theophylline Vd ≈ 0.45 L/kg, t½ ≈ 8 h. Not medical advice.",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=drug-half-life-dose",
      "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": "drug-half-life-dose",
    "arguments": {
  "dose": 400,
  "vd": 31.5,
  "halfLife": 8,
  "time": 8,
  "decimalPlaces": 4
}
  }
}
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]