Katalog Narzędzi MCP & Endpointów REST API
Pharmacology & Food-Drug Interactions
Clinical pharmacology screening tool for agentic healthcare workflows. Validates pharmaceutical contraindications against dietary items, meal timings, grapefruit/dairy interference, and micro-nutrient depletions.
search_medication
https://www.dietspremium.com/_mcp/search/medication
npx -y dietspremium-mcp
Input Parameters Schema (inputSchema)
| Field name | JSON Type | Status | Description | Example value |
|---|---|---|---|---|
query
|
string | Required | Pharmaceutical compound or trade name (e.g. "Levothyroxine", "Metformin") | —
|
locale
|
string | Optional | Language locale | en
|
page
|
integer | Optional | Page number (10 results per page) | 1
|
max_results
|
integer | Optional | Number of results (max 10) | 10
|
JSON-RPC 2.0 Request (tools/call)
search_medicationnpx -y dietspremium-mcp --url https://www.dietspremium.com/_mcp
curl -X POST https://www.dietspremium.com/_mcp/search/medication \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_MCP_KEY" \
-d '{
"query": "Levothyroxine calcium coffee interaction",
"locale": "en",
"page": 1,
"max_results": 5
}'
MCP Tool Response Structure
application/json • UTF-8{
"content": [
{
"type": "text",
"text": "Interaction Notice: Levothyroxine (key: MTg0NQ==) absorption reduced up to 55% when co-administered with calcium supplements or coffee within 30-60 minutes."
}
]
}
Kroki wykonania dla search_medication
MCP Flow
Instrukcja integracji dla programistów i agentów AI
Instrukcja integracji dla programistów i agentów AI
search_medication
Przekaż parametry zgodne z tabelą obok (np. locale="en").
McpKeyCodec
Każdy zwrócony rekord posiada pole "key" (Base64), które można bezpiecznie przekazać do narzędzi management_*.
Specjalizowany Agent dla narzędzia search_medication
“Wykonaj zapytanie do narzędzia search_medication dla języka EN i zwróć ustrukturyzowane dane kliniczne.”
→ POST https://www.dietspremium.com/_mcp/search/medication (tool: "search_medication")
← 200 OK (4 zwalidowanych parametrów)