Health
Converte a creatinina sérica/urinária entre unidades convencionais (mg/dL) e do SI (µmol/L). A creatinina (C₄H₇N₃O) tem massa molar de 113.12 g/mol, portanto o fator é fixo: mg/dL × 88.4 = µmol/L (÷88.4). Referências (adulto): homens 0.74–1.35 mg/dL (65–120 µmol/L); mulheres 0.59–1.04 mg/dL (52–92 µmol/L). LRA (KDIGO): ↑ ≥0.3 mg/dL (≥27 µmol/L) em 48 h, ou ×1.5 do basal. Fontes: KDIGO 2012, Young 1987, StatPearls. 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/creatinine-unit-converter' \
-H 'Content-Type: application/json' \
-d '{"value":1.35,"sourceUnit":"mgdl","targetUnit":"umol","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/creatinine-unit-converter| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| value | number | Sim | The creatinine 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-creatinine-unit-converter": {
"name": "creatinine-unit-converter",
"description": "Converte a creatinina sérica/urinária entre unidades convencionais (mg/dL) e do SI (µmol/L). A creatinina (C₄H₇N₃O) tem massa molar de 113.12 g/mol, portanto o fator é fixo: mg/dL × 88.4 = µmol/L (÷88.4). Referências (adulto): homens 0.74–1.35 mg/dL (65–120 µmol/L); mulheres 0.59–1.04 mg/dL (52–92 µmol/L). LRA (KDIGO): ↑ ≥0.3 mg/dL (≥27 µmol/L) em 48 h, ou ×1.5 do basal. Fontes: KDIGO 2012, Young 1987, StatPearls. Não é conselho médico.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=creatinine-unit-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": "creatinine-unit-converter",
"arguments": {
"value": 1.35,
"sourceUnit": "mgdl",
"targetUnit": "umol",
"decimalPlaces": 2
}
}
}Dúvidas ou problemas? Contate [email protected]