Health
Converte a ureia sanguínea (BUN, mg/dL, convencional EUA) para/de ureia (mmol/L, SI internacional). O BUN mede o nitrogênio da ureia; a ureia (CH₄N₂O, MM 60.06 g/mol) contém dois átomos de nitrogênio (2×14.007 = 28.014). Fator fixo: BUN mg/dL × 0.357 = ureia mmol/L (×2.801 inverso). Referências (adulto): BUN 7–20 mg/dL (ureia 2.5–7.1 mmol/L). Uremia BUN >20 mg/dL (>7.1 mmol/L); muito elevado >50–100 mg/dL. Relação BUN/creatinina normal 10:1–20:1; prérrenal frequentemente >20:1. Fontes: Young 1987, StatPearls, KDIGO 2012. Não é conselho médico.
Chame esta ferramenta a partir do seu código em três idiomas.
curl -X POST 'http://127.0.0.1:3003/pt/api/tools/urea-bun-converter' \
-H 'Content-Type: application/json' \
-d '{"value":20,"sourceUnit":"bun","targetUnit":"urea","decimalPlaces":2}'Envie uma requisição POST com suas entradas em JSON. Parâmetros do tipo arquivo exigem upload prévio.
POST http://127.0.0.1:3003/pt/api/tools/urea-bun-converter| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| value | number | Sim | The BUN (mg/dL) or urea (mmol/L) value to convert. |
| sourceUnit | select | Sim | The unit of the input value. |
| targetUnit | select | Sim | The unit to convert into. |
| decimalPlaces | number | Não | — |
Resultado JSON
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Adicione esta ferramenta ao seu servidor Model Context Protocol para que agentes de IA possam listá-la e chamá-la.
Adicione este bloco à configuração do seu cliente MCP:
{
"mcpServers": {
"elysiatools-urea-bun-converter": {
"name": "urea-bun-converter",
"description": "Converte a ureia sanguínea (BUN, mg/dL, convencional EUA) para/de ureia (mmol/L, SI internacional). O BUN mede o nitrogênio da ureia; a ureia (CH₄N₂O, MM 60.06 g/mol) contém dois átomos de nitrogênio (2×14.007 = 28.014). Fator fixo: BUN mg/dL × 0.357 = ureia mmol/L (×2.801 inverso). Referências (adulto): BUN 7–20 mg/dL (ureia 2.5–7.1 mmol/L). Uremia BUN >20 mg/dL (>7.1 mmol/L); muito elevado >50–100 mg/dL. Relação BUN/creatinina normal 10:1–20:1; prérrenal frequentemente >20:1. Fontes: Young 1987, StatPearls, KDIGO 2012. Não é conselho médico.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=urea-bun-converter",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Após conectar ao endpoint SSE, liste as ferramentas expostas:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoque a ferramenta pelo seu id; os argumentos são construídos a partir de seus parâmetros:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "urea-bun-converter",
"arguments": {
"value": 20,
"sourceUnit": "bun",
"targetUnit": "urea",
"decimalPlaces": 2
}
}
}Dúvidas ou problemas? Contate [email protected]