tooluniverse 0.1.4__py3-none-any.whl → 0.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of tooluniverse might be problematic. Click here for more details.
- tooluniverse/data/fda_drug_labeling_tools.json +543 -167
- tooluniverse/data/opentarget_tools.json +81 -57
- tooluniverse/generate_mcp_tools.py +113 -0
- tooluniverse/mcp_server.py +3340 -0
- {tooluniverse-0.1.4.dist-info → tooluniverse-0.2.0.dist-info}/METADATA +21 -23
- {tooluniverse-0.1.4.dist-info → tooluniverse-0.2.0.dist-info}/RECORD +10 -7
- {tooluniverse-0.1.4.dist-info → tooluniverse-0.2.0.dist-info}/WHEEL +1 -1
- tooluniverse-0.2.0.dist-info/entry_points.txt +4 -0
- {tooluniverse-0.1.4.dist-info → tooluniverse-0.2.0.dist-info}/licenses/LICENSE +0 -0
- {tooluniverse-0.1.4.dist-info → tooluniverse-0.2.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,3340 @@
|
|
|
1
|
+
# Auto-generated MCP wrappers
|
|
2
|
+
from fastmcp import FastMCP
|
|
3
|
+
from typing import List
|
|
4
|
+
from tooluniverse.execute_function import ToolUniverse
|
|
5
|
+
|
|
6
|
+
mcp = FastMCP('ToolUniverse MCP', stateless_http=True)
|
|
7
|
+
engine = ToolUniverse()
|
|
8
|
+
engine.load_tools()
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@mcp.tool()
|
|
12
|
+
def FDA_get_active_ingredient_info_by_drug_name(
|
|
13
|
+
drug_name: str,
|
|
14
|
+
limit: int,
|
|
15
|
+
skip: int
|
|
16
|
+
) -> dict:
|
|
17
|
+
return engine.run_one_function({
|
|
18
|
+
"name": "FDA_get_active_ingredient_info_by_drug_name",
|
|
19
|
+
"arguments": {
|
|
20
|
+
"drug_name": drug_name,
|
|
21
|
+
"limit": limit,
|
|
22
|
+
"skip": skip
|
|
23
|
+
}
|
|
24
|
+
})
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
@mcp.tool()
|
|
28
|
+
def FDA_get_dosage_and_storage_information_by_drug_name(
|
|
29
|
+
drug_name: str,
|
|
30
|
+
limit: int,
|
|
31
|
+
skip: int
|
|
32
|
+
) -> dict:
|
|
33
|
+
return engine.run_one_function({
|
|
34
|
+
"name": "FDA_get_dosage_and_storage_information_by_drug_name",
|
|
35
|
+
"arguments": {
|
|
36
|
+
"drug_name": drug_name,
|
|
37
|
+
"limit": limit,
|
|
38
|
+
"skip": skip
|
|
39
|
+
}
|
|
40
|
+
})
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
@mcp.tool()
|
|
44
|
+
def FDA_get_drug_names_by_abuse_info(
|
|
45
|
+
abuse_info: str,
|
|
46
|
+
indication: str,
|
|
47
|
+
limit: int,
|
|
48
|
+
skip: int
|
|
49
|
+
) -> dict:
|
|
50
|
+
return engine.run_one_function({
|
|
51
|
+
"name": "FDA_get_drug_names_by_abuse_info",
|
|
52
|
+
"arguments": {
|
|
53
|
+
"abuse_info": abuse_info,
|
|
54
|
+
"indication": indication,
|
|
55
|
+
"limit": limit,
|
|
56
|
+
"skip": skip
|
|
57
|
+
}
|
|
58
|
+
})
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
@mcp.tool()
|
|
62
|
+
def FDA_get_abuse_info_by_drug_name(
|
|
63
|
+
drug_name: str,
|
|
64
|
+
limit: int,
|
|
65
|
+
skip: int
|
|
66
|
+
) -> dict:
|
|
67
|
+
return engine.run_one_function({
|
|
68
|
+
"name": "FDA_get_abuse_info_by_drug_name",
|
|
69
|
+
"arguments": {
|
|
70
|
+
"drug_name": drug_name,
|
|
71
|
+
"limit": limit,
|
|
72
|
+
"skip": skip
|
|
73
|
+
}
|
|
74
|
+
})
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
@mcp.tool()
|
|
78
|
+
def FDA_get_drug_names_by_accessories(
|
|
79
|
+
accessory_name: str,
|
|
80
|
+
indication: str,
|
|
81
|
+
limit: int,
|
|
82
|
+
skip: int
|
|
83
|
+
) -> dict:
|
|
84
|
+
return engine.run_one_function({
|
|
85
|
+
"name": "FDA_get_drug_names_by_accessories",
|
|
86
|
+
"arguments": {
|
|
87
|
+
"accessory_name": accessory_name,
|
|
88
|
+
"indication": indication,
|
|
89
|
+
"limit": limit,
|
|
90
|
+
"skip": skip
|
|
91
|
+
}
|
|
92
|
+
})
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
@mcp.tool()
|
|
96
|
+
def FDA_get_accessories_info_by_drug_name(
|
|
97
|
+
drug_name: str,
|
|
98
|
+
limit: int,
|
|
99
|
+
skip: int
|
|
100
|
+
) -> dict:
|
|
101
|
+
return engine.run_one_function({
|
|
102
|
+
"name": "FDA_get_accessories_info_by_drug_name",
|
|
103
|
+
"arguments": {
|
|
104
|
+
"drug_name": drug_name,
|
|
105
|
+
"limit": limit,
|
|
106
|
+
"skip": skip
|
|
107
|
+
}
|
|
108
|
+
})
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
@mcp.tool()
|
|
112
|
+
def FDA_get_drug_names_by_active_ingredient(
|
|
113
|
+
active_ingredient: str,
|
|
114
|
+
indication: str,
|
|
115
|
+
limit: int,
|
|
116
|
+
skip: int
|
|
117
|
+
) -> dict:
|
|
118
|
+
return engine.run_one_function({
|
|
119
|
+
"name": "FDA_get_drug_names_by_active_ingredient",
|
|
120
|
+
"arguments": {
|
|
121
|
+
"active_ingredient": active_ingredient,
|
|
122
|
+
"indication": indication,
|
|
123
|
+
"limit": limit,
|
|
124
|
+
"skip": skip
|
|
125
|
+
}
|
|
126
|
+
})
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
@mcp.tool()
|
|
130
|
+
def FDA_get_manufacturer_name_NDC_number_by_drug_name(
|
|
131
|
+
drug_name: str,
|
|
132
|
+
limit: int,
|
|
133
|
+
skip: int
|
|
134
|
+
) -> dict:
|
|
135
|
+
return engine.run_one_function({
|
|
136
|
+
"name": "FDA_get_manufacturer_name_NDC_number_by_drug_name",
|
|
137
|
+
"arguments": {
|
|
138
|
+
"drug_name": drug_name,
|
|
139
|
+
"limit": limit,
|
|
140
|
+
"skip": skip
|
|
141
|
+
}
|
|
142
|
+
})
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
@mcp.tool()
|
|
146
|
+
def FDA_get_drug_names_by_application_number_NDC_number(
|
|
147
|
+
application_manufacturer_or_NDC_info: str,
|
|
148
|
+
limit: int,
|
|
149
|
+
skip: int
|
|
150
|
+
) -> dict:
|
|
151
|
+
return engine.run_one_function({
|
|
152
|
+
"name": "FDA_get_drug_names_by_application_number_NDC_number",
|
|
153
|
+
"arguments": {
|
|
154
|
+
"application_manufacturer_or_NDC_info": application_manufacturer_or_NDC_info,
|
|
155
|
+
"limit": limit,
|
|
156
|
+
"skip": skip
|
|
157
|
+
}
|
|
158
|
+
})
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
@mcp.tool()
|
|
162
|
+
def FDA_get_drug_name_by_adverse_reaction(
|
|
163
|
+
adverse_reaction: str,
|
|
164
|
+
limit: int,
|
|
165
|
+
skip: int
|
|
166
|
+
) -> dict:
|
|
167
|
+
return engine.run_one_function({
|
|
168
|
+
"name": "FDA_get_drug_name_by_adverse_reaction",
|
|
169
|
+
"arguments": {
|
|
170
|
+
"adverse_reaction": adverse_reaction,
|
|
171
|
+
"limit": limit,
|
|
172
|
+
"skip": skip
|
|
173
|
+
}
|
|
174
|
+
})
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
@mcp.tool()
|
|
178
|
+
def FDA_get_adverse_reactions_by_drug_name(
|
|
179
|
+
drug_name: str,
|
|
180
|
+
limit: int,
|
|
181
|
+
skip: int
|
|
182
|
+
) -> dict:
|
|
183
|
+
return engine.run_one_function({
|
|
184
|
+
"name": "FDA_get_adverse_reactions_by_drug_name",
|
|
185
|
+
"arguments": {
|
|
186
|
+
"drug_name": drug_name,
|
|
187
|
+
"limit": limit,
|
|
188
|
+
"skip": skip
|
|
189
|
+
}
|
|
190
|
+
})
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
@mcp.tool()
|
|
194
|
+
def FDA_get_drug_names_by_alarm(
|
|
195
|
+
alarm_type: str,
|
|
196
|
+
indication: str,
|
|
197
|
+
limit: int,
|
|
198
|
+
skip: int
|
|
199
|
+
) -> dict:
|
|
200
|
+
return engine.run_one_function({
|
|
201
|
+
"name": "FDA_get_drug_names_by_alarm",
|
|
202
|
+
"arguments": {
|
|
203
|
+
"alarm_type": alarm_type,
|
|
204
|
+
"indication": indication,
|
|
205
|
+
"limit": limit,
|
|
206
|
+
"skip": skip
|
|
207
|
+
}
|
|
208
|
+
})
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
@mcp.tool()
|
|
212
|
+
def FDA_get_alarms_by_drug_name(
|
|
213
|
+
drug_name: str,
|
|
214
|
+
limit: int,
|
|
215
|
+
skip: int
|
|
216
|
+
) -> dict:
|
|
217
|
+
return engine.run_one_function({
|
|
218
|
+
"name": "FDA_get_alarms_by_drug_name",
|
|
219
|
+
"arguments": {
|
|
220
|
+
"drug_name": drug_name,
|
|
221
|
+
"limit": limit,
|
|
222
|
+
"skip": skip
|
|
223
|
+
}
|
|
224
|
+
})
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
@mcp.tool()
|
|
228
|
+
def FDA_get_drug_names_by_animal_pharmacology_info(
|
|
229
|
+
pharmacology_info: str,
|
|
230
|
+
indication: str,
|
|
231
|
+
limit: int,
|
|
232
|
+
skip: int
|
|
233
|
+
) -> dict:
|
|
234
|
+
return engine.run_one_function({
|
|
235
|
+
"name": "FDA_get_drug_names_by_animal_pharmacology_info",
|
|
236
|
+
"arguments": {
|
|
237
|
+
"pharmacology_info": pharmacology_info,
|
|
238
|
+
"indication": indication,
|
|
239
|
+
"limit": limit,
|
|
240
|
+
"skip": skip
|
|
241
|
+
}
|
|
242
|
+
})
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
@mcp.tool()
|
|
246
|
+
def FDA_get_animal_pharmacology_info_by_drug_name(
|
|
247
|
+
drug_name: str,
|
|
248
|
+
limit: int,
|
|
249
|
+
skip: int
|
|
250
|
+
) -> dict:
|
|
251
|
+
return engine.run_one_function({
|
|
252
|
+
"name": "FDA_get_animal_pharmacology_info_by_drug_name",
|
|
253
|
+
"arguments": {
|
|
254
|
+
"drug_name": drug_name,
|
|
255
|
+
"limit": limit,
|
|
256
|
+
"skip": skip
|
|
257
|
+
}
|
|
258
|
+
})
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
@mcp.tool()
|
|
262
|
+
def FDA_get_drug_name_by_info_on_conditions_for_doctor_consultation(
|
|
263
|
+
condition: str,
|
|
264
|
+
limit: int,
|
|
265
|
+
skip: int
|
|
266
|
+
) -> dict:
|
|
267
|
+
return engine.run_one_function({
|
|
268
|
+
"name": "FDA_get_drug_name_by_info_on_conditions_for_doctor_consultation",
|
|
269
|
+
"arguments": {
|
|
270
|
+
"condition": condition,
|
|
271
|
+
"limit": limit,
|
|
272
|
+
"skip": skip
|
|
273
|
+
}
|
|
274
|
+
})
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
@mcp.tool()
|
|
278
|
+
def FDA_get_info_on_conditions_for_doctor_consultation_by_drug_name(
|
|
279
|
+
drug_name: str,
|
|
280
|
+
limit: int,
|
|
281
|
+
skip: int
|
|
282
|
+
) -> dict:
|
|
283
|
+
return engine.run_one_function({
|
|
284
|
+
"name": "FDA_get_info_on_conditions_for_doctor_consultation_by_drug_name",
|
|
285
|
+
"arguments": {
|
|
286
|
+
"drug_name": drug_name,
|
|
287
|
+
"limit": limit,
|
|
288
|
+
"skip": skip
|
|
289
|
+
}
|
|
290
|
+
})
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
@mcp.tool()
|
|
294
|
+
def FDA_get_drug_names_by_consulting_doctor_pharmacist_info(
|
|
295
|
+
interaction_info: str,
|
|
296
|
+
indication: str,
|
|
297
|
+
limit: int,
|
|
298
|
+
skip: int
|
|
299
|
+
) -> dict:
|
|
300
|
+
return engine.run_one_function({
|
|
301
|
+
"name": "FDA_get_drug_names_by_consulting_doctor_pharmacist_info",
|
|
302
|
+
"arguments": {
|
|
303
|
+
"interaction_info": interaction_info,
|
|
304
|
+
"indication": indication,
|
|
305
|
+
"limit": limit,
|
|
306
|
+
"skip": skip
|
|
307
|
+
}
|
|
308
|
+
})
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
@mcp.tool()
|
|
312
|
+
def FDA_get_info_on_consulting_doctor_pharmacist_by_drug_name(
|
|
313
|
+
drug_name: str,
|
|
314
|
+
limit: int,
|
|
315
|
+
skip: int
|
|
316
|
+
) -> dict:
|
|
317
|
+
return engine.run_one_function({
|
|
318
|
+
"name": "FDA_get_info_on_consulting_doctor_pharmacist_by_drug_name",
|
|
319
|
+
"arguments": {
|
|
320
|
+
"drug_name": drug_name,
|
|
321
|
+
"limit": limit,
|
|
322
|
+
"skip": skip
|
|
323
|
+
}
|
|
324
|
+
})
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
@mcp.tool()
|
|
328
|
+
def FDA_get_drug_names_by_assembly_installation_info(
|
|
329
|
+
field_info: str,
|
|
330
|
+
indication: str,
|
|
331
|
+
limit: int,
|
|
332
|
+
skip: int
|
|
333
|
+
) -> dict:
|
|
334
|
+
return engine.run_one_function({
|
|
335
|
+
"name": "FDA_get_drug_names_by_assembly_installation_info",
|
|
336
|
+
"arguments": {
|
|
337
|
+
"field_info": field_info,
|
|
338
|
+
"indication": indication,
|
|
339
|
+
"limit": limit,
|
|
340
|
+
"skip": skip
|
|
341
|
+
}
|
|
342
|
+
})
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
@mcp.tool()
|
|
346
|
+
def FDA_get_assembly_installation_info_by_drug_name(
|
|
347
|
+
drug_name: str,
|
|
348
|
+
limit: int,
|
|
349
|
+
skip: int
|
|
350
|
+
) -> dict:
|
|
351
|
+
return engine.run_one_function({
|
|
352
|
+
"name": "FDA_get_assembly_installation_info_by_drug_name",
|
|
353
|
+
"arguments": {
|
|
354
|
+
"drug_name": drug_name,
|
|
355
|
+
"limit": limit,
|
|
356
|
+
"skip": skip
|
|
357
|
+
}
|
|
358
|
+
})
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
@mcp.tool()
|
|
362
|
+
def FDA_get_drug_names_by_boxed_warning(
|
|
363
|
+
warning_text: str,
|
|
364
|
+
indication: str,
|
|
365
|
+
limit: int,
|
|
366
|
+
skip: int
|
|
367
|
+
) -> dict:
|
|
368
|
+
return engine.run_one_function({
|
|
369
|
+
"name": "FDA_get_drug_names_by_boxed_warning",
|
|
370
|
+
"arguments": {
|
|
371
|
+
"warning_text": warning_text,
|
|
372
|
+
"indication": indication,
|
|
373
|
+
"limit": limit,
|
|
374
|
+
"skip": skip
|
|
375
|
+
}
|
|
376
|
+
})
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
@mcp.tool()
|
|
380
|
+
def FDA_get_boxed_warning_info_by_drug_name(
|
|
381
|
+
drug_name: str,
|
|
382
|
+
limit: int,
|
|
383
|
+
skip: int
|
|
384
|
+
) -> dict:
|
|
385
|
+
return engine.run_one_function({
|
|
386
|
+
"name": "FDA_get_boxed_warning_info_by_drug_name",
|
|
387
|
+
"arguments": {
|
|
388
|
+
"drug_name": drug_name,
|
|
389
|
+
"limit": limit,
|
|
390
|
+
"skip": skip
|
|
391
|
+
}
|
|
392
|
+
})
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
@mcp.tool()
|
|
396
|
+
def FDA_get_drug_name_by_calibration_instructions(
|
|
397
|
+
calibration_instructions: str,
|
|
398
|
+
limit: int,
|
|
399
|
+
skip: int
|
|
400
|
+
) -> dict:
|
|
401
|
+
return engine.run_one_function({
|
|
402
|
+
"name": "FDA_get_drug_name_by_calibration_instructions",
|
|
403
|
+
"arguments": {
|
|
404
|
+
"calibration_instructions": calibration_instructions,
|
|
405
|
+
"limit": limit,
|
|
406
|
+
"skip": skip
|
|
407
|
+
}
|
|
408
|
+
})
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
@mcp.tool()
|
|
412
|
+
def FDA_get_calibration_instructions_by_drug_name(
|
|
413
|
+
drug_name: str,
|
|
414
|
+
limit: int,
|
|
415
|
+
skip: int
|
|
416
|
+
) -> dict:
|
|
417
|
+
return engine.run_one_function({
|
|
418
|
+
"name": "FDA_get_calibration_instructions_by_drug_name",
|
|
419
|
+
"arguments": {
|
|
420
|
+
"drug_name": drug_name,
|
|
421
|
+
"limit": limit,
|
|
422
|
+
"skip": skip
|
|
423
|
+
}
|
|
424
|
+
})
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
@mcp.tool()
|
|
428
|
+
def FDA_get_drugs_by_carcinogenic_mutagenic_fertility(
|
|
429
|
+
carcinogenic_info: str,
|
|
430
|
+
indication: str,
|
|
431
|
+
limit: int,
|
|
432
|
+
skip: int
|
|
433
|
+
) -> dict:
|
|
434
|
+
return engine.run_one_function({
|
|
435
|
+
"name": "FDA_get_drugs_by_carcinogenic_mutagenic_fertility",
|
|
436
|
+
"arguments": {
|
|
437
|
+
"carcinogenic_info": carcinogenic_info,
|
|
438
|
+
"indication": indication,
|
|
439
|
+
"limit": limit,
|
|
440
|
+
"skip": skip
|
|
441
|
+
}
|
|
442
|
+
})
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
@mcp.tool()
|
|
446
|
+
def FDA_get_carcinogenic_mutagenic_fertility_by_drug_name(
|
|
447
|
+
drug_name: str,
|
|
448
|
+
limit: int,
|
|
449
|
+
skip: int
|
|
450
|
+
) -> dict:
|
|
451
|
+
return engine.run_one_function({
|
|
452
|
+
"name": "FDA_get_carcinogenic_mutagenic_fertility_by_drug_name",
|
|
453
|
+
"arguments": {
|
|
454
|
+
"drug_name": drug_name,
|
|
455
|
+
"limit": limit,
|
|
456
|
+
"skip": skip
|
|
457
|
+
}
|
|
458
|
+
})
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
@mcp.tool()
|
|
462
|
+
def FDA_get_drug_name_by_SPL_ID(
|
|
463
|
+
field_info: str,
|
|
464
|
+
limit: int,
|
|
465
|
+
skip: int
|
|
466
|
+
) -> dict:
|
|
467
|
+
return engine.run_one_function({
|
|
468
|
+
"name": "FDA_get_drug_name_by_SPL_ID",
|
|
469
|
+
"arguments": {
|
|
470
|
+
"field_info": field_info,
|
|
471
|
+
"limit": limit,
|
|
472
|
+
"skip": skip
|
|
473
|
+
}
|
|
474
|
+
})
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
@mcp.tool()
|
|
478
|
+
def FDA_get_drug_names_by_clinical_pharmacology(
|
|
479
|
+
clinical_pharmacology: str,
|
|
480
|
+
indication: str,
|
|
481
|
+
limit: int,
|
|
482
|
+
skip: int
|
|
483
|
+
) -> dict:
|
|
484
|
+
return engine.run_one_function({
|
|
485
|
+
"name": "FDA_get_drug_names_by_clinical_pharmacology",
|
|
486
|
+
"arguments": {
|
|
487
|
+
"clinical_pharmacology": clinical_pharmacology,
|
|
488
|
+
"indication": indication,
|
|
489
|
+
"limit": limit,
|
|
490
|
+
"skip": skip
|
|
491
|
+
}
|
|
492
|
+
})
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
@mcp.tool()
|
|
496
|
+
def FDA_get_clinical_pharmacology_by_drug_name(
|
|
497
|
+
drug_name: str,
|
|
498
|
+
limit: int,
|
|
499
|
+
skip: int
|
|
500
|
+
) -> dict:
|
|
501
|
+
return engine.run_one_function({
|
|
502
|
+
"name": "FDA_get_clinical_pharmacology_by_drug_name",
|
|
503
|
+
"arguments": {
|
|
504
|
+
"drug_name": drug_name,
|
|
505
|
+
"limit": limit,
|
|
506
|
+
"skip": skip
|
|
507
|
+
}
|
|
508
|
+
})
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
@mcp.tool()
|
|
512
|
+
def FDA_get_drug_names_by_clinical_studies(
|
|
513
|
+
clinical_studies: str,
|
|
514
|
+
indication: str,
|
|
515
|
+
limit: int,
|
|
516
|
+
skip: int
|
|
517
|
+
) -> dict:
|
|
518
|
+
return engine.run_one_function({
|
|
519
|
+
"name": "FDA_get_drug_names_by_clinical_studies",
|
|
520
|
+
"arguments": {
|
|
521
|
+
"clinical_studies": clinical_studies,
|
|
522
|
+
"indication": indication,
|
|
523
|
+
"limit": limit,
|
|
524
|
+
"skip": skip
|
|
525
|
+
}
|
|
526
|
+
})
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
@mcp.tool()
|
|
530
|
+
def FDA_get_clinical_studies_info_by_drug_name(
|
|
531
|
+
drug_name: str,
|
|
532
|
+
limit: int,
|
|
533
|
+
skip: int
|
|
534
|
+
) -> dict:
|
|
535
|
+
return engine.run_one_function({
|
|
536
|
+
"name": "FDA_get_clinical_studies_info_by_drug_name",
|
|
537
|
+
"arguments": {
|
|
538
|
+
"drug_name": drug_name,
|
|
539
|
+
"limit": limit,
|
|
540
|
+
"skip": skip
|
|
541
|
+
}
|
|
542
|
+
})
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
@mcp.tool()
|
|
546
|
+
def FDA_get_drug_names_by_contraindications(
|
|
547
|
+
contraindication_info: str,
|
|
548
|
+
indication: str,
|
|
549
|
+
limit: int,
|
|
550
|
+
skip: int
|
|
551
|
+
) -> dict:
|
|
552
|
+
return engine.run_one_function({
|
|
553
|
+
"name": "FDA_get_drug_names_by_contraindications",
|
|
554
|
+
"arguments": {
|
|
555
|
+
"contraindication_info": contraindication_info,
|
|
556
|
+
"indication": indication,
|
|
557
|
+
"limit": limit,
|
|
558
|
+
"skip": skip
|
|
559
|
+
}
|
|
560
|
+
})
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
@mcp.tool()
|
|
564
|
+
def FDA_get_contraindications_by_drug_name(
|
|
565
|
+
drug_name: str,
|
|
566
|
+
limit: int,
|
|
567
|
+
skip: int
|
|
568
|
+
) -> dict:
|
|
569
|
+
return engine.run_one_function({
|
|
570
|
+
"name": "FDA_get_contraindications_by_drug_name",
|
|
571
|
+
"arguments": {
|
|
572
|
+
"drug_name": drug_name,
|
|
573
|
+
"limit": limit,
|
|
574
|
+
"skip": skip
|
|
575
|
+
}
|
|
576
|
+
})
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
@mcp.tool()
|
|
580
|
+
def FDA_get_drug_names_by_controlled_substance_DEA_schedule(
|
|
581
|
+
controlled_substance_schedule: str,
|
|
582
|
+
indication: str,
|
|
583
|
+
limit: int,
|
|
584
|
+
skip: int
|
|
585
|
+
) -> dict:
|
|
586
|
+
return engine.run_one_function({
|
|
587
|
+
"name": "FDA_get_drug_names_by_controlled_substance_DEA_schedule",
|
|
588
|
+
"arguments": {
|
|
589
|
+
"controlled_substance_schedule": controlled_substance_schedule,
|
|
590
|
+
"indication": indication,
|
|
591
|
+
"limit": limit,
|
|
592
|
+
"skip": skip
|
|
593
|
+
}
|
|
594
|
+
})
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
@mcp.tool()
|
|
598
|
+
def FDA_get_controlled_substance_DEA_schedule_info_by_drug_name(
|
|
599
|
+
drug_name: str,
|
|
600
|
+
limit: int,
|
|
601
|
+
skip: int
|
|
602
|
+
) -> dict:
|
|
603
|
+
return engine.run_one_function({
|
|
604
|
+
"name": "FDA_get_controlled_substance_DEA_schedule_info_by_drug_name",
|
|
605
|
+
"arguments": {
|
|
606
|
+
"drug_name": drug_name,
|
|
607
|
+
"limit": limit,
|
|
608
|
+
"skip": skip
|
|
609
|
+
}
|
|
610
|
+
})
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
@mcp.tool()
|
|
614
|
+
def FDA_get_drug_name_by_dependence_info(
|
|
615
|
+
dependence_info: str,
|
|
616
|
+
limit: int,
|
|
617
|
+
skip: int
|
|
618
|
+
) -> dict:
|
|
619
|
+
return engine.run_one_function({
|
|
620
|
+
"name": "FDA_get_drug_name_by_dependence_info",
|
|
621
|
+
"arguments": {
|
|
622
|
+
"dependence_info": dependence_info,
|
|
623
|
+
"limit": limit,
|
|
624
|
+
"skip": skip
|
|
625
|
+
}
|
|
626
|
+
})
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
@mcp.tool()
|
|
630
|
+
def FDA_get_dependence_info_by_drug_name(
|
|
631
|
+
drug_name: str,
|
|
632
|
+
limit: int,
|
|
633
|
+
skip: int
|
|
634
|
+
) -> dict:
|
|
635
|
+
return engine.run_one_function({
|
|
636
|
+
"name": "FDA_get_dependence_info_by_drug_name",
|
|
637
|
+
"arguments": {
|
|
638
|
+
"drug_name": drug_name,
|
|
639
|
+
"limit": limit,
|
|
640
|
+
"skip": skip
|
|
641
|
+
}
|
|
642
|
+
})
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
@mcp.tool()
|
|
646
|
+
def FDA_get_drug_names_by_disposal_info(
|
|
647
|
+
disposal_info: str,
|
|
648
|
+
indication: str,
|
|
649
|
+
limit: int,
|
|
650
|
+
skip: int
|
|
651
|
+
) -> dict:
|
|
652
|
+
return engine.run_one_function({
|
|
653
|
+
"name": "FDA_get_drug_names_by_disposal_info",
|
|
654
|
+
"arguments": {
|
|
655
|
+
"disposal_info": disposal_info,
|
|
656
|
+
"indication": indication,
|
|
657
|
+
"limit": limit,
|
|
658
|
+
"skip": skip
|
|
659
|
+
}
|
|
660
|
+
})
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
@mcp.tool()
|
|
664
|
+
def FDA_get_disposal_info_by_drug_name(
|
|
665
|
+
drug_name: str,
|
|
666
|
+
limit: int,
|
|
667
|
+
skip: int
|
|
668
|
+
) -> dict:
|
|
669
|
+
return engine.run_one_function({
|
|
670
|
+
"name": "FDA_get_disposal_info_by_drug_name",
|
|
671
|
+
"arguments": {
|
|
672
|
+
"drug_name": drug_name,
|
|
673
|
+
"limit": limit,
|
|
674
|
+
"skip": skip
|
|
675
|
+
}
|
|
676
|
+
})
|
|
677
|
+
|
|
678
|
+
|
|
679
|
+
@mcp.tool()
|
|
680
|
+
def FDA_get_drug_name_by_dosage_info(
|
|
681
|
+
dosage_info: str,
|
|
682
|
+
limit: int,
|
|
683
|
+
skip: int
|
|
684
|
+
) -> dict:
|
|
685
|
+
return engine.run_one_function({
|
|
686
|
+
"name": "FDA_get_drug_name_by_dosage_info",
|
|
687
|
+
"arguments": {
|
|
688
|
+
"dosage_info": dosage_info,
|
|
689
|
+
"limit": limit,
|
|
690
|
+
"skip": skip
|
|
691
|
+
}
|
|
692
|
+
})
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
@mcp.tool()
|
|
696
|
+
def FDA_get_drug_names_by_dosage_forms_and_strengths_info(
|
|
697
|
+
dosage_forms_and_strengths: str,
|
|
698
|
+
indication: str,
|
|
699
|
+
limit: int,
|
|
700
|
+
skip: int
|
|
701
|
+
) -> dict:
|
|
702
|
+
return engine.run_one_function({
|
|
703
|
+
"name": "FDA_get_drug_names_by_dosage_forms_and_strengths_info",
|
|
704
|
+
"arguments": {
|
|
705
|
+
"dosage_forms_and_strengths": dosage_forms_and_strengths,
|
|
706
|
+
"indication": indication,
|
|
707
|
+
"limit": limit,
|
|
708
|
+
"skip": skip
|
|
709
|
+
}
|
|
710
|
+
})
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
@mcp.tool()
|
|
714
|
+
def FDA_get_dosage_forms_and_strengths_by_drug_name(
|
|
715
|
+
drug_name: str,
|
|
716
|
+
limit: int,
|
|
717
|
+
skip: int
|
|
718
|
+
) -> dict:
|
|
719
|
+
return engine.run_one_function({
|
|
720
|
+
"name": "FDA_get_dosage_forms_and_strengths_by_drug_name",
|
|
721
|
+
"arguments": {
|
|
722
|
+
"drug_name": drug_name,
|
|
723
|
+
"limit": limit,
|
|
724
|
+
"skip": skip
|
|
725
|
+
}
|
|
726
|
+
})
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
@mcp.tool()
|
|
730
|
+
def FDA_get_drug_names_by_abuse_dependence_info(
|
|
731
|
+
abuse_info: str,
|
|
732
|
+
limit: int,
|
|
733
|
+
skip: int
|
|
734
|
+
) -> dict:
|
|
735
|
+
return engine.run_one_function({
|
|
736
|
+
"name": "FDA_get_drug_names_by_abuse_dependence_info",
|
|
737
|
+
"arguments": {
|
|
738
|
+
"abuse_info": abuse_info,
|
|
739
|
+
"limit": limit,
|
|
740
|
+
"skip": skip
|
|
741
|
+
}
|
|
742
|
+
})
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
@mcp.tool()
|
|
746
|
+
def FDA_get_abuse_dependence_info_by_drug_name(
|
|
747
|
+
drug_name: str,
|
|
748
|
+
limit: int,
|
|
749
|
+
skip: int
|
|
750
|
+
) -> dict:
|
|
751
|
+
return engine.run_one_function({
|
|
752
|
+
"name": "FDA_get_abuse_dependence_info_by_drug_name",
|
|
753
|
+
"arguments": {
|
|
754
|
+
"drug_name": drug_name,
|
|
755
|
+
"limit": limit,
|
|
756
|
+
"skip": skip
|
|
757
|
+
}
|
|
758
|
+
})
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
@mcp.tool()
|
|
762
|
+
def FDA_get_drug_names_by_lab_test_interference(
|
|
763
|
+
lab_test_interference: str,
|
|
764
|
+
indication: str,
|
|
765
|
+
limit: int,
|
|
766
|
+
skip: int
|
|
767
|
+
) -> dict:
|
|
768
|
+
return engine.run_one_function({
|
|
769
|
+
"name": "FDA_get_drug_names_by_lab_test_interference",
|
|
770
|
+
"arguments": {
|
|
771
|
+
"lab_test_interference": lab_test_interference,
|
|
772
|
+
"indication": indication,
|
|
773
|
+
"limit": limit,
|
|
774
|
+
"skip": skip
|
|
775
|
+
}
|
|
776
|
+
})
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
@mcp.tool()
|
|
780
|
+
def FDA_get_lab_test_interference_info_by_drug_name(
|
|
781
|
+
drug_name: str,
|
|
782
|
+
limit: int,
|
|
783
|
+
skip: int
|
|
784
|
+
) -> dict:
|
|
785
|
+
return engine.run_one_function({
|
|
786
|
+
"name": "FDA_get_lab_test_interference_info_by_drug_name",
|
|
787
|
+
"arguments": {
|
|
788
|
+
"drug_name": drug_name,
|
|
789
|
+
"limit": limit,
|
|
790
|
+
"skip": skip
|
|
791
|
+
}
|
|
792
|
+
})
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
@mcp.tool()
|
|
796
|
+
def FDA_get_drug_names_by_drug_interactions(
|
|
797
|
+
interaction_term: str,
|
|
798
|
+
indication: str,
|
|
799
|
+
limit: int,
|
|
800
|
+
skip: int
|
|
801
|
+
) -> dict:
|
|
802
|
+
return engine.run_one_function({
|
|
803
|
+
"name": "FDA_get_drug_names_by_drug_interactions",
|
|
804
|
+
"arguments": {
|
|
805
|
+
"interaction_term": interaction_term,
|
|
806
|
+
"indication": indication,
|
|
807
|
+
"limit": limit,
|
|
808
|
+
"skip": skip
|
|
809
|
+
}
|
|
810
|
+
})
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
@mcp.tool()
|
|
814
|
+
def FDA_get_drug_interactions_by_drug_name(
|
|
815
|
+
drug_name: str,
|
|
816
|
+
limit: int,
|
|
817
|
+
skip: int
|
|
818
|
+
) -> dict:
|
|
819
|
+
return engine.run_one_function({
|
|
820
|
+
"name": "FDA_get_drug_interactions_by_drug_name",
|
|
821
|
+
"arguments": {
|
|
822
|
+
"drug_name": drug_name,
|
|
823
|
+
"limit": limit,
|
|
824
|
+
"skip": skip
|
|
825
|
+
}
|
|
826
|
+
})
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
@mcp.tool()
|
|
830
|
+
def FDA_get_drug_names_by_effective_time(
|
|
831
|
+
effective_time: str,
|
|
832
|
+
indication: str,
|
|
833
|
+
limit: int,
|
|
834
|
+
skip: int
|
|
835
|
+
) -> dict:
|
|
836
|
+
return engine.run_one_function({
|
|
837
|
+
"name": "FDA_get_drug_names_by_effective_time",
|
|
838
|
+
"arguments": {
|
|
839
|
+
"effective_time": effective_time,
|
|
840
|
+
"indication": indication,
|
|
841
|
+
"limit": limit,
|
|
842
|
+
"skip": skip
|
|
843
|
+
}
|
|
844
|
+
})
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
@mcp.tool()
|
|
848
|
+
def FDA_get_effective_time_by_drug_name(
|
|
849
|
+
drug_name: str,
|
|
850
|
+
limit: int,
|
|
851
|
+
skip: int
|
|
852
|
+
) -> dict:
|
|
853
|
+
return engine.run_one_function({
|
|
854
|
+
"name": "FDA_get_effective_time_by_drug_name",
|
|
855
|
+
"arguments": {
|
|
856
|
+
"drug_name": drug_name,
|
|
857
|
+
"limit": limit,
|
|
858
|
+
"skip": skip
|
|
859
|
+
}
|
|
860
|
+
})
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
@mcp.tool()
|
|
864
|
+
def FDA_get_drug_name_by_environmental_warning(
|
|
865
|
+
environmental_warning: str,
|
|
866
|
+
limit: int,
|
|
867
|
+
skip: int
|
|
868
|
+
) -> dict:
|
|
869
|
+
return engine.run_one_function({
|
|
870
|
+
"name": "FDA_get_drug_name_by_environmental_warning",
|
|
871
|
+
"arguments": {
|
|
872
|
+
"environmental_warning": environmental_warning,
|
|
873
|
+
"limit": limit,
|
|
874
|
+
"skip": skip
|
|
875
|
+
}
|
|
876
|
+
})
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
@mcp.tool()
|
|
880
|
+
def FDA_get_environmental_warning_by_drug_name(
|
|
881
|
+
drug_name: str,
|
|
882
|
+
limit: int,
|
|
883
|
+
skip: int
|
|
884
|
+
) -> dict:
|
|
885
|
+
return engine.run_one_function({
|
|
886
|
+
"name": "FDA_get_environmental_warning_by_drug_name",
|
|
887
|
+
"arguments": {
|
|
888
|
+
"drug_name": drug_name,
|
|
889
|
+
"limit": limit,
|
|
890
|
+
"skip": skip
|
|
891
|
+
}
|
|
892
|
+
})
|
|
893
|
+
|
|
894
|
+
|
|
895
|
+
@mcp.tool()
|
|
896
|
+
def FDA_get_drug_names_by_food_safety_warnings(
|
|
897
|
+
field_info: str,
|
|
898
|
+
indication: str,
|
|
899
|
+
limit: int,
|
|
900
|
+
skip: int
|
|
901
|
+
) -> dict:
|
|
902
|
+
return engine.run_one_function({
|
|
903
|
+
"name": "FDA_get_drug_names_by_food_safety_warnings",
|
|
904
|
+
"arguments": {
|
|
905
|
+
"field_info": field_info,
|
|
906
|
+
"indication": indication,
|
|
907
|
+
"limit": limit,
|
|
908
|
+
"skip": skip
|
|
909
|
+
}
|
|
910
|
+
})
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
@mcp.tool()
|
|
914
|
+
def FDA_get_drug_names_by_general_precautions(
|
|
915
|
+
precaution_info: str,
|
|
916
|
+
indication: str,
|
|
917
|
+
limit: int,
|
|
918
|
+
skip: int
|
|
919
|
+
) -> dict:
|
|
920
|
+
return engine.run_one_function({
|
|
921
|
+
"name": "FDA_get_drug_names_by_general_precautions",
|
|
922
|
+
"arguments": {
|
|
923
|
+
"precaution_info": precaution_info,
|
|
924
|
+
"indication": indication,
|
|
925
|
+
"limit": limit,
|
|
926
|
+
"skip": skip
|
|
927
|
+
}
|
|
928
|
+
})
|
|
929
|
+
|
|
930
|
+
|
|
931
|
+
@mcp.tool()
|
|
932
|
+
def FDA_get_general_precautions_by_drug_name(
|
|
933
|
+
drug_name: str,
|
|
934
|
+
limit: int,
|
|
935
|
+
skip: int
|
|
936
|
+
) -> dict:
|
|
937
|
+
return engine.run_one_function({
|
|
938
|
+
"name": "FDA_get_general_precautions_by_drug_name",
|
|
939
|
+
"arguments": {
|
|
940
|
+
"drug_name": drug_name,
|
|
941
|
+
"limit": limit,
|
|
942
|
+
"skip": skip
|
|
943
|
+
}
|
|
944
|
+
})
|
|
945
|
+
|
|
946
|
+
|
|
947
|
+
@mcp.tool()
|
|
948
|
+
def FDA_get_drug_names_by_geriatric_use(
|
|
949
|
+
geriatric_use: str,
|
|
950
|
+
indication: str,
|
|
951
|
+
limit: int,
|
|
952
|
+
skip: int
|
|
953
|
+
) -> dict:
|
|
954
|
+
return engine.run_one_function({
|
|
955
|
+
"name": "FDA_get_drug_names_by_geriatric_use",
|
|
956
|
+
"arguments": {
|
|
957
|
+
"geriatric_use": geriatric_use,
|
|
958
|
+
"indication": indication,
|
|
959
|
+
"limit": limit,
|
|
960
|
+
"skip": skip
|
|
961
|
+
}
|
|
962
|
+
})
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
@mcp.tool()
|
|
966
|
+
def FDA_get_geriatric_use_info_by_drug_name(
|
|
967
|
+
drug_name: str,
|
|
968
|
+
limit: int,
|
|
969
|
+
skip: int
|
|
970
|
+
) -> dict:
|
|
971
|
+
return engine.run_one_function({
|
|
972
|
+
"name": "FDA_get_geriatric_use_info_by_drug_name",
|
|
973
|
+
"arguments": {
|
|
974
|
+
"drug_name": drug_name,
|
|
975
|
+
"limit": limit,
|
|
976
|
+
"skip": skip
|
|
977
|
+
}
|
|
978
|
+
})
|
|
979
|
+
|
|
980
|
+
|
|
981
|
+
@mcp.tool()
|
|
982
|
+
def FDA_get_dear_health_care_provider_letter_info_by_drug_name(
|
|
983
|
+
drug_name: str,
|
|
984
|
+
limit: int,
|
|
985
|
+
skip: int
|
|
986
|
+
) -> dict:
|
|
987
|
+
return engine.run_one_function({
|
|
988
|
+
"name": "FDA_get_dear_health_care_provider_letter_info_by_drug_name",
|
|
989
|
+
"arguments": {
|
|
990
|
+
"drug_name": drug_name,
|
|
991
|
+
"limit": limit,
|
|
992
|
+
"skip": skip
|
|
993
|
+
}
|
|
994
|
+
})
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
@mcp.tool()
|
|
998
|
+
def FDA_get_drug_names_by_dear_health_care_provider_letter_info(
|
|
999
|
+
letter_info: str,
|
|
1000
|
+
indication: str,
|
|
1001
|
+
limit: int,
|
|
1002
|
+
skip: int
|
|
1003
|
+
) -> dict:
|
|
1004
|
+
return engine.run_one_function({
|
|
1005
|
+
"name": "FDA_get_drug_names_by_dear_health_care_provider_letter_info",
|
|
1006
|
+
"arguments": {
|
|
1007
|
+
"letter_info": letter_info,
|
|
1008
|
+
"indication": indication,
|
|
1009
|
+
"limit": limit,
|
|
1010
|
+
"skip": skip
|
|
1011
|
+
}
|
|
1012
|
+
})
|
|
1013
|
+
|
|
1014
|
+
|
|
1015
|
+
@mcp.tool()
|
|
1016
|
+
def FDA_get_drug_names_by_health_claim(
|
|
1017
|
+
health_claim: str,
|
|
1018
|
+
indication: str,
|
|
1019
|
+
limit: int,
|
|
1020
|
+
skip: int
|
|
1021
|
+
) -> dict:
|
|
1022
|
+
return engine.run_one_function({
|
|
1023
|
+
"name": "FDA_get_drug_names_by_health_claim",
|
|
1024
|
+
"arguments": {
|
|
1025
|
+
"health_claim": health_claim,
|
|
1026
|
+
"indication": indication,
|
|
1027
|
+
"limit": limit,
|
|
1028
|
+
"skip": skip
|
|
1029
|
+
}
|
|
1030
|
+
})
|
|
1031
|
+
|
|
1032
|
+
|
|
1033
|
+
@mcp.tool()
|
|
1034
|
+
def FDA_get_health_claims_by_drug_name(
|
|
1035
|
+
drug_name: str,
|
|
1036
|
+
limit: int,
|
|
1037
|
+
skip: int
|
|
1038
|
+
) -> dict:
|
|
1039
|
+
return engine.run_one_function({
|
|
1040
|
+
"name": "FDA_get_health_claims_by_drug_name",
|
|
1041
|
+
"arguments": {
|
|
1042
|
+
"drug_name": drug_name,
|
|
1043
|
+
"limit": limit,
|
|
1044
|
+
"skip": skip
|
|
1045
|
+
}
|
|
1046
|
+
})
|
|
1047
|
+
|
|
1048
|
+
|
|
1049
|
+
@mcp.tool()
|
|
1050
|
+
def FDA_get_drug_name_by_document_id(
|
|
1051
|
+
document_id: str,
|
|
1052
|
+
limit: int,
|
|
1053
|
+
skip: int
|
|
1054
|
+
) -> dict:
|
|
1055
|
+
return engine.run_one_function({
|
|
1056
|
+
"name": "FDA_get_drug_name_by_document_id",
|
|
1057
|
+
"arguments": {
|
|
1058
|
+
"document_id": document_id,
|
|
1059
|
+
"limit": limit,
|
|
1060
|
+
"skip": skip
|
|
1061
|
+
}
|
|
1062
|
+
})
|
|
1063
|
+
|
|
1064
|
+
|
|
1065
|
+
@mcp.tool()
|
|
1066
|
+
def FDA_get_document_id_by_drug_name(
|
|
1067
|
+
drug_name: str,
|
|
1068
|
+
limit: int,
|
|
1069
|
+
skip: int
|
|
1070
|
+
) -> dict:
|
|
1071
|
+
return engine.run_one_function({
|
|
1072
|
+
"name": "FDA_get_document_id_by_drug_name",
|
|
1073
|
+
"arguments": {
|
|
1074
|
+
"drug_name": drug_name,
|
|
1075
|
+
"limit": limit,
|
|
1076
|
+
"skip": skip
|
|
1077
|
+
}
|
|
1078
|
+
})
|
|
1079
|
+
|
|
1080
|
+
|
|
1081
|
+
@mcp.tool()
|
|
1082
|
+
def FDA_get_drug_name_by_inactive_ingredient(
|
|
1083
|
+
inactive_ingredient: str,
|
|
1084
|
+
limit: int,
|
|
1085
|
+
skip: int
|
|
1086
|
+
) -> dict:
|
|
1087
|
+
return engine.run_one_function({
|
|
1088
|
+
"name": "FDA_get_drug_name_by_inactive_ingredient",
|
|
1089
|
+
"arguments": {
|
|
1090
|
+
"inactive_ingredient": inactive_ingredient,
|
|
1091
|
+
"limit": limit,
|
|
1092
|
+
"skip": skip
|
|
1093
|
+
}
|
|
1094
|
+
})
|
|
1095
|
+
|
|
1096
|
+
|
|
1097
|
+
@mcp.tool()
|
|
1098
|
+
def FDA_get_inactive_ingredient_info_by_drug_name(
|
|
1099
|
+
drug_name: str,
|
|
1100
|
+
limit: int,
|
|
1101
|
+
skip: int
|
|
1102
|
+
) -> dict:
|
|
1103
|
+
return engine.run_one_function({
|
|
1104
|
+
"name": "FDA_get_inactive_ingredient_info_by_drug_name",
|
|
1105
|
+
"arguments": {
|
|
1106
|
+
"drug_name": drug_name,
|
|
1107
|
+
"limit": limit,
|
|
1108
|
+
"skip": skip
|
|
1109
|
+
}
|
|
1110
|
+
})
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
@mcp.tool()
|
|
1114
|
+
def FDA_get_drug_names_by_indication(
|
|
1115
|
+
indication: str,
|
|
1116
|
+
limit: int,
|
|
1117
|
+
skip: int
|
|
1118
|
+
) -> dict:
|
|
1119
|
+
return engine.run_one_function({
|
|
1120
|
+
"name": "FDA_get_drug_names_by_indication",
|
|
1121
|
+
"arguments": {
|
|
1122
|
+
"indication": indication,
|
|
1123
|
+
"limit": limit,
|
|
1124
|
+
"skip": skip
|
|
1125
|
+
}
|
|
1126
|
+
})
|
|
1127
|
+
|
|
1128
|
+
|
|
1129
|
+
@mcp.tool()
|
|
1130
|
+
def FDA_get_indications_by_drug_name(
|
|
1131
|
+
drug_name: str,
|
|
1132
|
+
limit: int,
|
|
1133
|
+
skip: int
|
|
1134
|
+
) -> dict:
|
|
1135
|
+
return engine.run_one_function({
|
|
1136
|
+
"name": "FDA_get_indications_by_drug_name",
|
|
1137
|
+
"arguments": {
|
|
1138
|
+
"drug_name": drug_name,
|
|
1139
|
+
"limit": limit,
|
|
1140
|
+
"skip": skip
|
|
1141
|
+
}
|
|
1142
|
+
})
|
|
1143
|
+
|
|
1144
|
+
|
|
1145
|
+
@mcp.tool()
|
|
1146
|
+
def FDA_get_drug_names_by_information_for_owners_or_caregivers(
|
|
1147
|
+
field_info: str,
|
|
1148
|
+
indication: str,
|
|
1149
|
+
limit: int,
|
|
1150
|
+
skip: int
|
|
1151
|
+
) -> dict:
|
|
1152
|
+
return engine.run_one_function({
|
|
1153
|
+
"name": "FDA_get_drug_names_by_information_for_owners_or_caregivers",
|
|
1154
|
+
"arguments": {
|
|
1155
|
+
"field_info": field_info,
|
|
1156
|
+
"indication": indication,
|
|
1157
|
+
"limit": limit,
|
|
1158
|
+
"skip": skip
|
|
1159
|
+
}
|
|
1160
|
+
})
|
|
1161
|
+
|
|
1162
|
+
|
|
1163
|
+
@mcp.tool()
|
|
1164
|
+
def FDA_get_information_for_owners_or_caregivers_by_drug_name(
|
|
1165
|
+
drug_name: str,
|
|
1166
|
+
limit: int,
|
|
1167
|
+
skip: int
|
|
1168
|
+
) -> dict:
|
|
1169
|
+
return engine.run_one_function({
|
|
1170
|
+
"name": "FDA_get_information_for_owners_or_caregivers_by_drug_name",
|
|
1171
|
+
"arguments": {
|
|
1172
|
+
"drug_name": drug_name,
|
|
1173
|
+
"limit": limit,
|
|
1174
|
+
"skip": skip
|
|
1175
|
+
}
|
|
1176
|
+
})
|
|
1177
|
+
|
|
1178
|
+
|
|
1179
|
+
@mcp.tool()
|
|
1180
|
+
def FDA_get_info_for_patients_by_drug_name(
|
|
1181
|
+
drug_name: str,
|
|
1182
|
+
limit: int,
|
|
1183
|
+
skip: int
|
|
1184
|
+
) -> dict:
|
|
1185
|
+
return engine.run_one_function({
|
|
1186
|
+
"name": "FDA_get_info_for_patients_by_drug_name",
|
|
1187
|
+
"arguments": {
|
|
1188
|
+
"drug_name": drug_name,
|
|
1189
|
+
"limit": limit,
|
|
1190
|
+
"skip": skip
|
|
1191
|
+
}
|
|
1192
|
+
})
|
|
1193
|
+
|
|
1194
|
+
|
|
1195
|
+
@mcp.tool()
|
|
1196
|
+
def FDA_get_drug_names_by_instructions_for_use(
|
|
1197
|
+
instructions_for_use: str,
|
|
1198
|
+
indication: str,
|
|
1199
|
+
limit: int,
|
|
1200
|
+
skip: int
|
|
1201
|
+
) -> dict:
|
|
1202
|
+
return engine.run_one_function({
|
|
1203
|
+
"name": "FDA_get_drug_names_by_instructions_for_use",
|
|
1204
|
+
"arguments": {
|
|
1205
|
+
"instructions_for_use": instructions_for_use,
|
|
1206
|
+
"indication": indication,
|
|
1207
|
+
"limit": limit,
|
|
1208
|
+
"skip": skip
|
|
1209
|
+
}
|
|
1210
|
+
})
|
|
1211
|
+
|
|
1212
|
+
|
|
1213
|
+
@mcp.tool()
|
|
1214
|
+
def FDA_get_instructions_for_use_by_drug_name(
|
|
1215
|
+
drug_name: str,
|
|
1216
|
+
limit: int,
|
|
1217
|
+
skip: int
|
|
1218
|
+
) -> dict:
|
|
1219
|
+
return engine.run_one_function({
|
|
1220
|
+
"name": "FDA_get_instructions_for_use_by_drug_name",
|
|
1221
|
+
"arguments": {
|
|
1222
|
+
"drug_name": drug_name,
|
|
1223
|
+
"limit": limit,
|
|
1224
|
+
"skip": skip
|
|
1225
|
+
}
|
|
1226
|
+
})
|
|
1227
|
+
|
|
1228
|
+
|
|
1229
|
+
@mcp.tool()
|
|
1230
|
+
def FDA_retrieve_drug_name_by_device_use(
|
|
1231
|
+
intended_use_of_the_device: str,
|
|
1232
|
+
limit: int,
|
|
1233
|
+
skip: int
|
|
1234
|
+
) -> dict:
|
|
1235
|
+
return engine.run_one_function({
|
|
1236
|
+
"name": "FDA_retrieve_drug_name_by_device_use",
|
|
1237
|
+
"arguments": {
|
|
1238
|
+
"intended_use_of_the_device": intended_use_of_the_device,
|
|
1239
|
+
"limit": limit,
|
|
1240
|
+
"skip": skip
|
|
1241
|
+
}
|
|
1242
|
+
})
|
|
1243
|
+
|
|
1244
|
+
|
|
1245
|
+
@mcp.tool()
|
|
1246
|
+
def FDA_retrieve_device_use_by_drug_name(
|
|
1247
|
+
drug_name: str,
|
|
1248
|
+
limit: int,
|
|
1249
|
+
skip: int
|
|
1250
|
+
) -> dict:
|
|
1251
|
+
return engine.run_one_function({
|
|
1252
|
+
"name": "FDA_retrieve_device_use_by_drug_name",
|
|
1253
|
+
"arguments": {
|
|
1254
|
+
"drug_name": drug_name,
|
|
1255
|
+
"limit": limit,
|
|
1256
|
+
"skip": skip
|
|
1257
|
+
}
|
|
1258
|
+
})
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
@mcp.tool()
|
|
1262
|
+
def FDA_get_drug_names_by_child_safety_info(
|
|
1263
|
+
child_safety_info: str,
|
|
1264
|
+
indication: str,
|
|
1265
|
+
limit: int,
|
|
1266
|
+
skip: int
|
|
1267
|
+
) -> dict:
|
|
1268
|
+
return engine.run_one_function({
|
|
1269
|
+
"name": "FDA_get_drug_names_by_child_safety_info",
|
|
1270
|
+
"arguments": {
|
|
1271
|
+
"child_safety_info": child_safety_info,
|
|
1272
|
+
"indication": indication,
|
|
1273
|
+
"limit": limit,
|
|
1274
|
+
"skip": skip
|
|
1275
|
+
}
|
|
1276
|
+
})
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
@mcp.tool()
|
|
1280
|
+
def FDA_get_child_safety_info_by_drug_name(
|
|
1281
|
+
drug_name: str,
|
|
1282
|
+
limit: int,
|
|
1283
|
+
skip: int
|
|
1284
|
+
) -> dict:
|
|
1285
|
+
return engine.run_one_function({
|
|
1286
|
+
"name": "FDA_get_child_safety_info_by_drug_name",
|
|
1287
|
+
"arguments": {
|
|
1288
|
+
"drug_name": drug_name,
|
|
1289
|
+
"limit": limit,
|
|
1290
|
+
"skip": skip
|
|
1291
|
+
}
|
|
1292
|
+
})
|
|
1293
|
+
|
|
1294
|
+
|
|
1295
|
+
@mcp.tool()
|
|
1296
|
+
def FDA_get_drug_name_by_labor_and_delivery_info(
|
|
1297
|
+
labor_and_delivery_info: str,
|
|
1298
|
+
limit: int,
|
|
1299
|
+
skip: int
|
|
1300
|
+
) -> dict:
|
|
1301
|
+
return engine.run_one_function({
|
|
1302
|
+
"name": "FDA_get_drug_name_by_labor_and_delivery_info",
|
|
1303
|
+
"arguments": {
|
|
1304
|
+
"labor_and_delivery_info": labor_and_delivery_info,
|
|
1305
|
+
"limit": limit,
|
|
1306
|
+
"skip": skip
|
|
1307
|
+
}
|
|
1308
|
+
})
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
@mcp.tool()
|
|
1312
|
+
def FDA_get_labor_and_delivery_info_by_drug_name(
|
|
1313
|
+
drug_name: str,
|
|
1314
|
+
limit: int,
|
|
1315
|
+
skip: int
|
|
1316
|
+
) -> dict:
|
|
1317
|
+
return engine.run_one_function({
|
|
1318
|
+
"name": "FDA_get_labor_and_delivery_info_by_drug_name",
|
|
1319
|
+
"arguments": {
|
|
1320
|
+
"drug_name": drug_name,
|
|
1321
|
+
"limit": limit,
|
|
1322
|
+
"skip": skip
|
|
1323
|
+
}
|
|
1324
|
+
})
|
|
1325
|
+
|
|
1326
|
+
|
|
1327
|
+
@mcp.tool()
|
|
1328
|
+
def FDA_get_drug_names_by_lab_tests(
|
|
1329
|
+
lab_test_info: str,
|
|
1330
|
+
indication: str,
|
|
1331
|
+
limit: int,
|
|
1332
|
+
skip: int
|
|
1333
|
+
) -> dict:
|
|
1334
|
+
return engine.run_one_function({
|
|
1335
|
+
"name": "FDA_get_drug_names_by_lab_tests",
|
|
1336
|
+
"arguments": {
|
|
1337
|
+
"lab_test_info": lab_test_info,
|
|
1338
|
+
"indication": indication,
|
|
1339
|
+
"limit": limit,
|
|
1340
|
+
"skip": skip
|
|
1341
|
+
}
|
|
1342
|
+
})
|
|
1343
|
+
|
|
1344
|
+
|
|
1345
|
+
@mcp.tool()
|
|
1346
|
+
def FDA_get_lab_tests_by_drug_name(
|
|
1347
|
+
drug_name: str,
|
|
1348
|
+
limit: int,
|
|
1349
|
+
skip: int
|
|
1350
|
+
) -> dict:
|
|
1351
|
+
return engine.run_one_function({
|
|
1352
|
+
"name": "FDA_get_lab_tests_by_drug_name",
|
|
1353
|
+
"arguments": {
|
|
1354
|
+
"drug_name": drug_name,
|
|
1355
|
+
"limit": limit,
|
|
1356
|
+
"skip": skip
|
|
1357
|
+
}
|
|
1358
|
+
})
|
|
1359
|
+
|
|
1360
|
+
|
|
1361
|
+
@mcp.tool()
|
|
1362
|
+
def FDA_get_mechanism_of_action_by_drug_name(
|
|
1363
|
+
drug_name: str,
|
|
1364
|
+
limit: int,
|
|
1365
|
+
skip: int
|
|
1366
|
+
) -> dict:
|
|
1367
|
+
return engine.run_one_function({
|
|
1368
|
+
"name": "FDA_get_mechanism_of_action_by_drug_name",
|
|
1369
|
+
"arguments": {
|
|
1370
|
+
"drug_name": drug_name,
|
|
1371
|
+
"limit": limit,
|
|
1372
|
+
"skip": skip
|
|
1373
|
+
}
|
|
1374
|
+
})
|
|
1375
|
+
|
|
1376
|
+
|
|
1377
|
+
@mcp.tool()
|
|
1378
|
+
def FDA_get_drug_names_by_mechanism_of_action(
|
|
1379
|
+
mechanism_info: str,
|
|
1380
|
+
indication: str,
|
|
1381
|
+
limit: int,
|
|
1382
|
+
skip: int
|
|
1383
|
+
) -> dict:
|
|
1384
|
+
return engine.run_one_function({
|
|
1385
|
+
"name": "FDA_get_drug_names_by_mechanism_of_action",
|
|
1386
|
+
"arguments": {
|
|
1387
|
+
"mechanism_info": mechanism_info,
|
|
1388
|
+
"indication": indication,
|
|
1389
|
+
"limit": limit,
|
|
1390
|
+
"skip": skip
|
|
1391
|
+
}
|
|
1392
|
+
})
|
|
1393
|
+
|
|
1394
|
+
|
|
1395
|
+
@mcp.tool()
|
|
1396
|
+
def FDA_get_drug_name_by_microbiology(
|
|
1397
|
+
microbiology_info: str,
|
|
1398
|
+
limit: int,
|
|
1399
|
+
skip: int
|
|
1400
|
+
) -> dict:
|
|
1401
|
+
return engine.run_one_function({
|
|
1402
|
+
"name": "FDA_get_drug_name_by_microbiology",
|
|
1403
|
+
"arguments": {
|
|
1404
|
+
"microbiology_info": microbiology_info,
|
|
1405
|
+
"limit": limit,
|
|
1406
|
+
"skip": skip
|
|
1407
|
+
}
|
|
1408
|
+
})
|
|
1409
|
+
|
|
1410
|
+
|
|
1411
|
+
@mcp.tool()
|
|
1412
|
+
def FDA_get_microbiology_info_by_drug_name(
|
|
1413
|
+
drug_name: str,
|
|
1414
|
+
limit: int,
|
|
1415
|
+
skip: int
|
|
1416
|
+
) -> dict:
|
|
1417
|
+
return engine.run_one_function({
|
|
1418
|
+
"name": "FDA_get_microbiology_info_by_drug_name",
|
|
1419
|
+
"arguments": {
|
|
1420
|
+
"drug_name": drug_name,
|
|
1421
|
+
"limit": limit,
|
|
1422
|
+
"skip": skip
|
|
1423
|
+
}
|
|
1424
|
+
})
|
|
1425
|
+
|
|
1426
|
+
|
|
1427
|
+
@mcp.tool()
|
|
1428
|
+
def FDA_get_drug_names_by_nonclinical_toxicology_info(
|
|
1429
|
+
toxicology_info: str,
|
|
1430
|
+
indication: str,
|
|
1431
|
+
limit: int,
|
|
1432
|
+
skip: int
|
|
1433
|
+
) -> dict:
|
|
1434
|
+
return engine.run_one_function({
|
|
1435
|
+
"name": "FDA_get_drug_names_by_nonclinical_toxicology_info",
|
|
1436
|
+
"arguments": {
|
|
1437
|
+
"toxicology_info": toxicology_info,
|
|
1438
|
+
"indication": indication,
|
|
1439
|
+
"limit": limit,
|
|
1440
|
+
"skip": skip
|
|
1441
|
+
}
|
|
1442
|
+
})
|
|
1443
|
+
|
|
1444
|
+
|
|
1445
|
+
@mcp.tool()
|
|
1446
|
+
def FDA_get_nonclinical_toxicology_info_by_drug_name(
|
|
1447
|
+
drug_name: str,
|
|
1448
|
+
limit: int,
|
|
1449
|
+
skip: int
|
|
1450
|
+
) -> dict:
|
|
1451
|
+
return engine.run_one_function({
|
|
1452
|
+
"name": "FDA_get_nonclinical_toxicology_info_by_drug_name",
|
|
1453
|
+
"arguments": {
|
|
1454
|
+
"drug_name": drug_name,
|
|
1455
|
+
"limit": limit,
|
|
1456
|
+
"skip": skip
|
|
1457
|
+
}
|
|
1458
|
+
})
|
|
1459
|
+
|
|
1460
|
+
|
|
1461
|
+
@mcp.tool()
|
|
1462
|
+
def FDA_get_drug_names_by_nonteratogenic_effects(
|
|
1463
|
+
nonteratogenic_effects: str,
|
|
1464
|
+
indication: str,
|
|
1465
|
+
limit: int,
|
|
1466
|
+
skip: int
|
|
1467
|
+
) -> dict:
|
|
1468
|
+
return engine.run_one_function({
|
|
1469
|
+
"name": "FDA_get_drug_names_by_nonteratogenic_effects",
|
|
1470
|
+
"arguments": {
|
|
1471
|
+
"nonteratogenic_effects": nonteratogenic_effects,
|
|
1472
|
+
"indication": indication,
|
|
1473
|
+
"limit": limit,
|
|
1474
|
+
"skip": skip
|
|
1475
|
+
}
|
|
1476
|
+
})
|
|
1477
|
+
|
|
1478
|
+
|
|
1479
|
+
@mcp.tool()
|
|
1480
|
+
def FDA_get_nonteratogenic_effects_by_drug_name(
|
|
1481
|
+
drug_name: str,
|
|
1482
|
+
limit: int,
|
|
1483
|
+
skip: int
|
|
1484
|
+
) -> dict:
|
|
1485
|
+
return engine.run_one_function({
|
|
1486
|
+
"name": "FDA_get_nonteratogenic_effects_by_drug_name",
|
|
1487
|
+
"arguments": {
|
|
1488
|
+
"drug_name": drug_name,
|
|
1489
|
+
"limit": limit,
|
|
1490
|
+
"skip": skip
|
|
1491
|
+
}
|
|
1492
|
+
})
|
|
1493
|
+
|
|
1494
|
+
|
|
1495
|
+
@mcp.tool()
|
|
1496
|
+
def FDA_get_drug_names_by_info_for_nursing_mothers(
|
|
1497
|
+
nursing_mothers_info: str,
|
|
1498
|
+
indication: str,
|
|
1499
|
+
limit: int,
|
|
1500
|
+
skip: int
|
|
1501
|
+
) -> dict:
|
|
1502
|
+
return engine.run_one_function({
|
|
1503
|
+
"name": "FDA_get_drug_names_by_info_for_nursing_mothers",
|
|
1504
|
+
"arguments": {
|
|
1505
|
+
"nursing_mothers_info": nursing_mothers_info,
|
|
1506
|
+
"indication": indication,
|
|
1507
|
+
"limit": limit,
|
|
1508
|
+
"skip": skip
|
|
1509
|
+
}
|
|
1510
|
+
})
|
|
1511
|
+
|
|
1512
|
+
|
|
1513
|
+
@mcp.tool()
|
|
1514
|
+
def FDA_get_info_for_nursing_mothers_by_drug_name(
|
|
1515
|
+
drug_name: str,
|
|
1516
|
+
limit: int,
|
|
1517
|
+
skip: int
|
|
1518
|
+
) -> dict:
|
|
1519
|
+
return engine.run_one_function({
|
|
1520
|
+
"name": "FDA_get_info_for_nursing_mothers_by_drug_name",
|
|
1521
|
+
"arguments": {
|
|
1522
|
+
"drug_name": drug_name,
|
|
1523
|
+
"limit": limit,
|
|
1524
|
+
"skip": skip
|
|
1525
|
+
}
|
|
1526
|
+
})
|
|
1527
|
+
|
|
1528
|
+
|
|
1529
|
+
@mcp.tool()
|
|
1530
|
+
def FDA_get_drug_name_by_other_safety_info(
|
|
1531
|
+
safety_info: str,
|
|
1532
|
+
limit: int,
|
|
1533
|
+
skip: int
|
|
1534
|
+
) -> dict:
|
|
1535
|
+
return engine.run_one_function({
|
|
1536
|
+
"name": "FDA_get_drug_name_by_other_safety_info",
|
|
1537
|
+
"arguments": {
|
|
1538
|
+
"safety_info": safety_info,
|
|
1539
|
+
"limit": limit,
|
|
1540
|
+
"skip": skip
|
|
1541
|
+
}
|
|
1542
|
+
})
|
|
1543
|
+
|
|
1544
|
+
|
|
1545
|
+
@mcp.tool()
|
|
1546
|
+
def FDA_get_other_safety_info_by_drug_name(
|
|
1547
|
+
drug_name: str,
|
|
1548
|
+
limit: int,
|
|
1549
|
+
skip: int
|
|
1550
|
+
) -> dict:
|
|
1551
|
+
return engine.run_one_function({
|
|
1552
|
+
"name": "FDA_get_other_safety_info_by_drug_name",
|
|
1553
|
+
"arguments": {
|
|
1554
|
+
"drug_name": drug_name,
|
|
1555
|
+
"limit": limit,
|
|
1556
|
+
"skip": skip
|
|
1557
|
+
}
|
|
1558
|
+
})
|
|
1559
|
+
|
|
1560
|
+
|
|
1561
|
+
@mcp.tool()
|
|
1562
|
+
def FDA_get_drug_names_by_overdosage_info(
|
|
1563
|
+
overdosage_info: str,
|
|
1564
|
+
indication: str,
|
|
1565
|
+
limit: int,
|
|
1566
|
+
skip: int
|
|
1567
|
+
) -> dict:
|
|
1568
|
+
return engine.run_one_function({
|
|
1569
|
+
"name": "FDA_get_drug_names_by_overdosage_info",
|
|
1570
|
+
"arguments": {
|
|
1571
|
+
"overdosage_info": overdosage_info,
|
|
1572
|
+
"indication": indication,
|
|
1573
|
+
"limit": limit,
|
|
1574
|
+
"skip": skip
|
|
1575
|
+
}
|
|
1576
|
+
})
|
|
1577
|
+
|
|
1578
|
+
|
|
1579
|
+
@mcp.tool()
|
|
1580
|
+
def FDA_get_overdosage_info_by_drug_name(
|
|
1581
|
+
drug_name: str,
|
|
1582
|
+
limit: int,
|
|
1583
|
+
skip: int
|
|
1584
|
+
) -> dict:
|
|
1585
|
+
return engine.run_one_function({
|
|
1586
|
+
"name": "FDA_get_overdosage_info_by_drug_name",
|
|
1587
|
+
"arguments": {
|
|
1588
|
+
"drug_name": drug_name,
|
|
1589
|
+
"limit": limit,
|
|
1590
|
+
"skip": skip
|
|
1591
|
+
}
|
|
1592
|
+
})
|
|
1593
|
+
|
|
1594
|
+
|
|
1595
|
+
@mcp.tool()
|
|
1596
|
+
def FDA_get_drug_name_by_principal_display_panel(
|
|
1597
|
+
display_panel_content: str,
|
|
1598
|
+
limit: int,
|
|
1599
|
+
skip: int
|
|
1600
|
+
) -> dict:
|
|
1601
|
+
return engine.run_one_function({
|
|
1602
|
+
"name": "FDA_get_drug_name_by_principal_display_panel",
|
|
1603
|
+
"arguments": {
|
|
1604
|
+
"display_panel_content": display_panel_content,
|
|
1605
|
+
"limit": limit,
|
|
1606
|
+
"skip": skip
|
|
1607
|
+
}
|
|
1608
|
+
})
|
|
1609
|
+
|
|
1610
|
+
|
|
1611
|
+
@mcp.tool()
|
|
1612
|
+
def FDA_get_principal_display_panel_by_drug_name(
|
|
1613
|
+
drug_name: str,
|
|
1614
|
+
limit: int,
|
|
1615
|
+
skip: int
|
|
1616
|
+
) -> dict:
|
|
1617
|
+
return engine.run_one_function({
|
|
1618
|
+
"name": "FDA_get_principal_display_panel_by_drug_name",
|
|
1619
|
+
"arguments": {
|
|
1620
|
+
"drug_name": drug_name,
|
|
1621
|
+
"limit": limit,
|
|
1622
|
+
"skip": skip
|
|
1623
|
+
}
|
|
1624
|
+
})
|
|
1625
|
+
|
|
1626
|
+
|
|
1627
|
+
@mcp.tool()
|
|
1628
|
+
def FDA_retrieve_drug_names_by_patient_medication_info(
|
|
1629
|
+
patient_info: str,
|
|
1630
|
+
limit: int,
|
|
1631
|
+
skip: int
|
|
1632
|
+
) -> dict:
|
|
1633
|
+
return engine.run_one_function({
|
|
1634
|
+
"name": "FDA_retrieve_drug_names_by_patient_medication_info",
|
|
1635
|
+
"arguments": {
|
|
1636
|
+
"patient_info": patient_info,
|
|
1637
|
+
"limit": limit,
|
|
1638
|
+
"skip": skip
|
|
1639
|
+
}
|
|
1640
|
+
})
|
|
1641
|
+
|
|
1642
|
+
|
|
1643
|
+
@mcp.tool()
|
|
1644
|
+
def FDA_retrieve_patient_medication_info_by_drug_name(
|
|
1645
|
+
drug_name: str,
|
|
1646
|
+
limit: int,
|
|
1647
|
+
skip: int
|
|
1648
|
+
) -> dict:
|
|
1649
|
+
return engine.run_one_function({
|
|
1650
|
+
"name": "FDA_retrieve_patient_medication_info_by_drug_name",
|
|
1651
|
+
"arguments": {
|
|
1652
|
+
"drug_name": drug_name,
|
|
1653
|
+
"limit": limit,
|
|
1654
|
+
"skip": skip
|
|
1655
|
+
}
|
|
1656
|
+
})
|
|
1657
|
+
|
|
1658
|
+
|
|
1659
|
+
@mcp.tool()
|
|
1660
|
+
def FDA_get_drug_names_by_pediatric_use(
|
|
1661
|
+
pediatric_use_info: str,
|
|
1662
|
+
indication: str,
|
|
1663
|
+
limit: int,
|
|
1664
|
+
skip: int
|
|
1665
|
+
) -> dict:
|
|
1666
|
+
return engine.run_one_function({
|
|
1667
|
+
"name": "FDA_get_drug_names_by_pediatric_use",
|
|
1668
|
+
"arguments": {
|
|
1669
|
+
"pediatric_use_info": pediatric_use_info,
|
|
1670
|
+
"indication": indication,
|
|
1671
|
+
"limit": limit,
|
|
1672
|
+
"skip": skip
|
|
1673
|
+
}
|
|
1674
|
+
})
|
|
1675
|
+
|
|
1676
|
+
|
|
1677
|
+
@mcp.tool()
|
|
1678
|
+
def FDA_get_pediatric_use_info_by_drug_name(
|
|
1679
|
+
drug_name: str,
|
|
1680
|
+
limit: int,
|
|
1681
|
+
skip: int
|
|
1682
|
+
) -> dict:
|
|
1683
|
+
return engine.run_one_function({
|
|
1684
|
+
"name": "FDA_get_pediatric_use_info_by_drug_name",
|
|
1685
|
+
"arguments": {
|
|
1686
|
+
"drug_name": drug_name,
|
|
1687
|
+
"limit": limit,
|
|
1688
|
+
"skip": skip
|
|
1689
|
+
}
|
|
1690
|
+
})
|
|
1691
|
+
|
|
1692
|
+
|
|
1693
|
+
@mcp.tool()
|
|
1694
|
+
def FDA_get_drug_name_by_pharmacodynamics(
|
|
1695
|
+
pharmacodynamics: str,
|
|
1696
|
+
limit: int,
|
|
1697
|
+
skip: int
|
|
1698
|
+
) -> dict:
|
|
1699
|
+
return engine.run_one_function({
|
|
1700
|
+
"name": "FDA_get_drug_name_by_pharmacodynamics",
|
|
1701
|
+
"arguments": {
|
|
1702
|
+
"pharmacodynamics": pharmacodynamics,
|
|
1703
|
+
"limit": limit,
|
|
1704
|
+
"skip": skip
|
|
1705
|
+
}
|
|
1706
|
+
})
|
|
1707
|
+
|
|
1708
|
+
|
|
1709
|
+
@mcp.tool()
|
|
1710
|
+
def FDA_get_pharmacodynamics_by_drug_name(
|
|
1711
|
+
drug_name: str,
|
|
1712
|
+
limit: int,
|
|
1713
|
+
skip: int
|
|
1714
|
+
) -> dict:
|
|
1715
|
+
return engine.run_one_function({
|
|
1716
|
+
"name": "FDA_get_pharmacodynamics_by_drug_name",
|
|
1717
|
+
"arguments": {
|
|
1718
|
+
"drug_name": drug_name,
|
|
1719
|
+
"limit": limit,
|
|
1720
|
+
"skip": skip
|
|
1721
|
+
}
|
|
1722
|
+
})
|
|
1723
|
+
|
|
1724
|
+
|
|
1725
|
+
@mcp.tool()
|
|
1726
|
+
def FDA_get_drug_name_by_pharmacogenomics(
|
|
1727
|
+
pharmacogenomics: str,
|
|
1728
|
+
limit: int,
|
|
1729
|
+
skip: int
|
|
1730
|
+
) -> dict:
|
|
1731
|
+
return engine.run_one_function({
|
|
1732
|
+
"name": "FDA_get_drug_name_by_pharmacogenomics",
|
|
1733
|
+
"arguments": {
|
|
1734
|
+
"pharmacogenomics": pharmacogenomics,
|
|
1735
|
+
"limit": limit,
|
|
1736
|
+
"skip": skip
|
|
1737
|
+
}
|
|
1738
|
+
})
|
|
1739
|
+
|
|
1740
|
+
|
|
1741
|
+
@mcp.tool()
|
|
1742
|
+
def FDA_get_pharmacogenomics_info_by_drug_name(
|
|
1743
|
+
drug_name: str,
|
|
1744
|
+
limit: int,
|
|
1745
|
+
skip: int
|
|
1746
|
+
) -> dict:
|
|
1747
|
+
return engine.run_one_function({
|
|
1748
|
+
"name": "FDA_get_pharmacogenomics_info_by_drug_name",
|
|
1749
|
+
"arguments": {
|
|
1750
|
+
"drug_name": drug_name,
|
|
1751
|
+
"limit": limit,
|
|
1752
|
+
"skip": skip
|
|
1753
|
+
}
|
|
1754
|
+
})
|
|
1755
|
+
|
|
1756
|
+
|
|
1757
|
+
@mcp.tool()
|
|
1758
|
+
def FDA_get_drug_names_by_pharmacokinetics(
|
|
1759
|
+
pharmacokinetics_info: str,
|
|
1760
|
+
indication: str,
|
|
1761
|
+
limit: int,
|
|
1762
|
+
skip: int
|
|
1763
|
+
) -> dict:
|
|
1764
|
+
return engine.run_one_function({
|
|
1765
|
+
"name": "FDA_get_drug_names_by_pharmacokinetics",
|
|
1766
|
+
"arguments": {
|
|
1767
|
+
"pharmacokinetics_info": pharmacokinetics_info,
|
|
1768
|
+
"indication": indication,
|
|
1769
|
+
"limit": limit,
|
|
1770
|
+
"skip": skip
|
|
1771
|
+
}
|
|
1772
|
+
})
|
|
1773
|
+
|
|
1774
|
+
|
|
1775
|
+
@mcp.tool()
|
|
1776
|
+
def FDA_get_pharmacokinetics_by_drug_name(
|
|
1777
|
+
drug_name: str,
|
|
1778
|
+
limit: int,
|
|
1779
|
+
skip: int
|
|
1780
|
+
) -> dict:
|
|
1781
|
+
return engine.run_one_function({
|
|
1782
|
+
"name": "FDA_get_pharmacokinetics_by_drug_name",
|
|
1783
|
+
"arguments": {
|
|
1784
|
+
"drug_name": drug_name,
|
|
1785
|
+
"limit": limit,
|
|
1786
|
+
"skip": skip
|
|
1787
|
+
}
|
|
1788
|
+
})
|
|
1789
|
+
|
|
1790
|
+
|
|
1791
|
+
@mcp.tool()
|
|
1792
|
+
def FDA_get_drug_name_by_precautions(
|
|
1793
|
+
precautions: str,
|
|
1794
|
+
limit: int,
|
|
1795
|
+
skip: int
|
|
1796
|
+
) -> dict:
|
|
1797
|
+
return engine.run_one_function({
|
|
1798
|
+
"name": "FDA_get_drug_name_by_precautions",
|
|
1799
|
+
"arguments": {
|
|
1800
|
+
"precautions": precautions,
|
|
1801
|
+
"limit": limit,
|
|
1802
|
+
"skip": skip
|
|
1803
|
+
}
|
|
1804
|
+
})
|
|
1805
|
+
|
|
1806
|
+
|
|
1807
|
+
@mcp.tool()
|
|
1808
|
+
def FDA_get_precautions_by_drug_name(
|
|
1809
|
+
drug_name: str,
|
|
1810
|
+
limit: int,
|
|
1811
|
+
skip: int
|
|
1812
|
+
) -> dict:
|
|
1813
|
+
return engine.run_one_function({
|
|
1814
|
+
"name": "FDA_get_precautions_by_drug_name",
|
|
1815
|
+
"arguments": {
|
|
1816
|
+
"drug_name": drug_name,
|
|
1817
|
+
"limit": limit,
|
|
1818
|
+
"skip": skip
|
|
1819
|
+
}
|
|
1820
|
+
})
|
|
1821
|
+
|
|
1822
|
+
|
|
1823
|
+
@mcp.tool()
|
|
1824
|
+
def FDA_get_drug_names_by_pregnancy_effects_info(
|
|
1825
|
+
pregnancy_info: str,
|
|
1826
|
+
indication: str,
|
|
1827
|
+
limit: int,
|
|
1828
|
+
skip: int
|
|
1829
|
+
) -> dict:
|
|
1830
|
+
return engine.run_one_function({
|
|
1831
|
+
"name": "FDA_get_drug_names_by_pregnancy_effects_info",
|
|
1832
|
+
"arguments": {
|
|
1833
|
+
"pregnancy_info": pregnancy_info,
|
|
1834
|
+
"indication": indication,
|
|
1835
|
+
"limit": limit,
|
|
1836
|
+
"skip": skip
|
|
1837
|
+
}
|
|
1838
|
+
})
|
|
1839
|
+
|
|
1840
|
+
|
|
1841
|
+
@mcp.tool()
|
|
1842
|
+
def FDA_get_pregnancy_effects_info_by_drug_name(
|
|
1843
|
+
drug_name: str,
|
|
1844
|
+
limit: int,
|
|
1845
|
+
skip: int
|
|
1846
|
+
) -> dict:
|
|
1847
|
+
return engine.run_one_function({
|
|
1848
|
+
"name": "FDA_get_pregnancy_effects_info_by_drug_name",
|
|
1849
|
+
"arguments": {
|
|
1850
|
+
"drug_name": drug_name,
|
|
1851
|
+
"limit": limit,
|
|
1852
|
+
"skip": skip
|
|
1853
|
+
}
|
|
1854
|
+
})
|
|
1855
|
+
|
|
1856
|
+
|
|
1857
|
+
@mcp.tool()
|
|
1858
|
+
def FDA_get_drug_name_by_pregnancy_or_breastfeeding_info(
|
|
1859
|
+
pregnancy_info: str,
|
|
1860
|
+
limit: int,
|
|
1861
|
+
skip: int
|
|
1862
|
+
) -> dict:
|
|
1863
|
+
return engine.run_one_function({
|
|
1864
|
+
"name": "FDA_get_drug_name_by_pregnancy_or_breastfeeding_info",
|
|
1865
|
+
"arguments": {
|
|
1866
|
+
"pregnancy_info": pregnancy_info,
|
|
1867
|
+
"limit": limit,
|
|
1868
|
+
"skip": skip
|
|
1869
|
+
}
|
|
1870
|
+
})
|
|
1871
|
+
|
|
1872
|
+
|
|
1873
|
+
@mcp.tool()
|
|
1874
|
+
def FDA_get_pregnancy_or_breastfeeding_info_by_drug_name(
|
|
1875
|
+
drug_name: str,
|
|
1876
|
+
limit: int,
|
|
1877
|
+
skip: int
|
|
1878
|
+
) -> dict:
|
|
1879
|
+
return engine.run_one_function({
|
|
1880
|
+
"name": "FDA_get_pregnancy_or_breastfeeding_info_by_drug_name",
|
|
1881
|
+
"arguments": {
|
|
1882
|
+
"drug_name": drug_name,
|
|
1883
|
+
"limit": limit,
|
|
1884
|
+
"skip": skip
|
|
1885
|
+
}
|
|
1886
|
+
})
|
|
1887
|
+
|
|
1888
|
+
|
|
1889
|
+
@mcp.tool()
|
|
1890
|
+
def FDA_get_contact_for_questions_info_by_drug_name(
|
|
1891
|
+
drug_name: str,
|
|
1892
|
+
limit: int,
|
|
1893
|
+
skip: int
|
|
1894
|
+
) -> dict:
|
|
1895
|
+
return engine.run_one_function({
|
|
1896
|
+
"name": "FDA_get_contact_for_questions_info_by_drug_name",
|
|
1897
|
+
"arguments": {
|
|
1898
|
+
"drug_name": drug_name,
|
|
1899
|
+
"limit": limit,
|
|
1900
|
+
"skip": skip
|
|
1901
|
+
}
|
|
1902
|
+
})
|
|
1903
|
+
|
|
1904
|
+
|
|
1905
|
+
@mcp.tool()
|
|
1906
|
+
def FDA_get_recent_changes_by_drug_name(
|
|
1907
|
+
drug_name: str,
|
|
1908
|
+
limit: int,
|
|
1909
|
+
skip: int
|
|
1910
|
+
) -> dict:
|
|
1911
|
+
return engine.run_one_function({
|
|
1912
|
+
"name": "FDA_get_recent_changes_by_drug_name",
|
|
1913
|
+
"arguments": {
|
|
1914
|
+
"drug_name": drug_name,
|
|
1915
|
+
"limit": limit,
|
|
1916
|
+
"skip": skip
|
|
1917
|
+
}
|
|
1918
|
+
})
|
|
1919
|
+
|
|
1920
|
+
|
|
1921
|
+
@mcp.tool()
|
|
1922
|
+
def FDA_get_drug_name_by_reference(
|
|
1923
|
+
reference: str,
|
|
1924
|
+
limit: int,
|
|
1925
|
+
skip: int
|
|
1926
|
+
) -> dict:
|
|
1927
|
+
return engine.run_one_function({
|
|
1928
|
+
"name": "FDA_get_drug_name_by_reference",
|
|
1929
|
+
"arguments": {
|
|
1930
|
+
"reference": reference,
|
|
1931
|
+
"limit": limit,
|
|
1932
|
+
"skip": skip
|
|
1933
|
+
}
|
|
1934
|
+
})
|
|
1935
|
+
|
|
1936
|
+
|
|
1937
|
+
@mcp.tool()
|
|
1938
|
+
def FDA_get_reference_info_by_drug_name(
|
|
1939
|
+
drug_name: str,
|
|
1940
|
+
limit: int,
|
|
1941
|
+
skip: int
|
|
1942
|
+
) -> dict:
|
|
1943
|
+
return engine.run_one_function({
|
|
1944
|
+
"name": "FDA_get_reference_info_by_drug_name",
|
|
1945
|
+
"arguments": {
|
|
1946
|
+
"drug_name": drug_name,
|
|
1947
|
+
"limit": limit,
|
|
1948
|
+
"skip": skip
|
|
1949
|
+
}
|
|
1950
|
+
})
|
|
1951
|
+
|
|
1952
|
+
|
|
1953
|
+
@mcp.tool()
|
|
1954
|
+
def FDA_get_drug_names_by_residue_warning(
|
|
1955
|
+
residue_warning: str,
|
|
1956
|
+
indication: str,
|
|
1957
|
+
limit: int,
|
|
1958
|
+
skip: int
|
|
1959
|
+
) -> dict:
|
|
1960
|
+
return engine.run_one_function({
|
|
1961
|
+
"name": "FDA_get_drug_names_by_residue_warning",
|
|
1962
|
+
"arguments": {
|
|
1963
|
+
"residue_warning": residue_warning,
|
|
1964
|
+
"indication": indication,
|
|
1965
|
+
"limit": limit,
|
|
1966
|
+
"skip": skip
|
|
1967
|
+
}
|
|
1968
|
+
})
|
|
1969
|
+
|
|
1970
|
+
|
|
1971
|
+
@mcp.tool()
|
|
1972
|
+
def FDA_get_residue_warning_by_drug_name(
|
|
1973
|
+
drug_name: str,
|
|
1974
|
+
limit: int,
|
|
1975
|
+
skip: int
|
|
1976
|
+
) -> dict:
|
|
1977
|
+
return engine.run_one_function({
|
|
1978
|
+
"name": "FDA_get_residue_warning_by_drug_name",
|
|
1979
|
+
"arguments": {
|
|
1980
|
+
"drug_name": drug_name,
|
|
1981
|
+
"limit": limit,
|
|
1982
|
+
"skip": skip
|
|
1983
|
+
}
|
|
1984
|
+
})
|
|
1985
|
+
|
|
1986
|
+
|
|
1987
|
+
@mcp.tool()
|
|
1988
|
+
def FDA_get_drug_names_by_risk(
|
|
1989
|
+
risk_info: str,
|
|
1990
|
+
indication: str,
|
|
1991
|
+
limit: int,
|
|
1992
|
+
skip: int
|
|
1993
|
+
) -> dict:
|
|
1994
|
+
return engine.run_one_function({
|
|
1995
|
+
"name": "FDA_get_drug_names_by_risk",
|
|
1996
|
+
"arguments": {
|
|
1997
|
+
"risk_info": risk_info,
|
|
1998
|
+
"indication": indication,
|
|
1999
|
+
"limit": limit,
|
|
2000
|
+
"skip": skip
|
|
2001
|
+
}
|
|
2002
|
+
})
|
|
2003
|
+
|
|
2004
|
+
|
|
2005
|
+
@mcp.tool()
|
|
2006
|
+
def FDA_get_risk_info_by_drug_name(
|
|
2007
|
+
drug_name: str,
|
|
2008
|
+
limit: int,
|
|
2009
|
+
skip: int
|
|
2010
|
+
) -> dict:
|
|
2011
|
+
return engine.run_one_function({
|
|
2012
|
+
"name": "FDA_get_risk_info_by_drug_name",
|
|
2013
|
+
"arguments": {
|
|
2014
|
+
"drug_name": drug_name,
|
|
2015
|
+
"limit": limit,
|
|
2016
|
+
"skip": skip
|
|
2017
|
+
}
|
|
2018
|
+
})
|
|
2019
|
+
|
|
2020
|
+
|
|
2021
|
+
@mcp.tool()
|
|
2022
|
+
def FDA_get_drug_names_by_route(
|
|
2023
|
+
route: str,
|
|
2024
|
+
indication: str,
|
|
2025
|
+
limit: int,
|
|
2026
|
+
skip: int
|
|
2027
|
+
) -> dict:
|
|
2028
|
+
return engine.run_one_function({
|
|
2029
|
+
"name": "FDA_get_drug_names_by_route",
|
|
2030
|
+
"arguments": {
|
|
2031
|
+
"route": route,
|
|
2032
|
+
"indication": indication,
|
|
2033
|
+
"limit": limit,
|
|
2034
|
+
"skip": skip
|
|
2035
|
+
}
|
|
2036
|
+
})
|
|
2037
|
+
|
|
2038
|
+
|
|
2039
|
+
@mcp.tool()
|
|
2040
|
+
def FDA_get_route_info_by_drug_name(
|
|
2041
|
+
drug_name: str,
|
|
2042
|
+
limit: int,
|
|
2043
|
+
skip: int
|
|
2044
|
+
) -> dict:
|
|
2045
|
+
return engine.run_one_function({
|
|
2046
|
+
"name": "FDA_get_route_info_by_drug_name",
|
|
2047
|
+
"arguments": {
|
|
2048
|
+
"drug_name": drug_name,
|
|
2049
|
+
"limit": limit,
|
|
2050
|
+
"skip": skip
|
|
2051
|
+
}
|
|
2052
|
+
})
|
|
2053
|
+
|
|
2054
|
+
|
|
2055
|
+
@mcp.tool()
|
|
2056
|
+
def FDA_get_drug_names_by_safe_handling_warning(
|
|
2057
|
+
safe_handling_warning: str,
|
|
2058
|
+
indication: str,
|
|
2059
|
+
limit: int,
|
|
2060
|
+
skip: int
|
|
2061
|
+
) -> dict:
|
|
2062
|
+
return engine.run_one_function({
|
|
2063
|
+
"name": "FDA_get_drug_names_by_safe_handling_warning",
|
|
2064
|
+
"arguments": {
|
|
2065
|
+
"safe_handling_warning": safe_handling_warning,
|
|
2066
|
+
"indication": indication,
|
|
2067
|
+
"limit": limit,
|
|
2068
|
+
"skip": skip
|
|
2069
|
+
}
|
|
2070
|
+
})
|
|
2071
|
+
|
|
2072
|
+
|
|
2073
|
+
@mcp.tool()
|
|
2074
|
+
def FDA_get_safe_handling_warnings_by_drug_name(
|
|
2075
|
+
drug_name: str,
|
|
2076
|
+
limit: int,
|
|
2077
|
+
skip: int
|
|
2078
|
+
) -> dict:
|
|
2079
|
+
return engine.run_one_function({
|
|
2080
|
+
"name": "FDA_get_safe_handling_warnings_by_drug_name",
|
|
2081
|
+
"arguments": {
|
|
2082
|
+
"drug_name": drug_name,
|
|
2083
|
+
"limit": limit,
|
|
2084
|
+
"skip": skip
|
|
2085
|
+
}
|
|
2086
|
+
})
|
|
2087
|
+
|
|
2088
|
+
|
|
2089
|
+
@mcp.tool()
|
|
2090
|
+
def FDA_get_drug_name_by_set_id(
|
|
2091
|
+
set_id: str,
|
|
2092
|
+
limit: int,
|
|
2093
|
+
skip: int
|
|
2094
|
+
) -> dict:
|
|
2095
|
+
return engine.run_one_function({
|
|
2096
|
+
"name": "FDA_get_drug_name_by_set_id",
|
|
2097
|
+
"arguments": {
|
|
2098
|
+
"set_id": set_id,
|
|
2099
|
+
"limit": limit,
|
|
2100
|
+
"skip": skip
|
|
2101
|
+
}
|
|
2102
|
+
})
|
|
2103
|
+
|
|
2104
|
+
|
|
2105
|
+
@mcp.tool()
|
|
2106
|
+
def FDA_get_drug_names_by_spl_indexing_data_elements(
|
|
2107
|
+
spl_indexing_data_elements: str,
|
|
2108
|
+
indication: str,
|
|
2109
|
+
limit: int,
|
|
2110
|
+
skip: int
|
|
2111
|
+
) -> dict:
|
|
2112
|
+
return engine.run_one_function({
|
|
2113
|
+
"name": "FDA_get_drug_names_by_spl_indexing_data_elements",
|
|
2114
|
+
"arguments": {
|
|
2115
|
+
"spl_indexing_data_elements": spl_indexing_data_elements,
|
|
2116
|
+
"indication": indication,
|
|
2117
|
+
"limit": limit,
|
|
2118
|
+
"skip": skip
|
|
2119
|
+
}
|
|
2120
|
+
})
|
|
2121
|
+
|
|
2122
|
+
|
|
2123
|
+
@mcp.tool()
|
|
2124
|
+
def FDA_get_spl_indexing_data_elements_by_drug_name(
|
|
2125
|
+
drug_name: str,
|
|
2126
|
+
limit: int,
|
|
2127
|
+
skip: int
|
|
2128
|
+
) -> dict:
|
|
2129
|
+
return engine.run_one_function({
|
|
2130
|
+
"name": "FDA_get_spl_indexing_data_elements_by_drug_name",
|
|
2131
|
+
"arguments": {
|
|
2132
|
+
"drug_name": drug_name,
|
|
2133
|
+
"limit": limit,
|
|
2134
|
+
"skip": skip
|
|
2135
|
+
}
|
|
2136
|
+
})
|
|
2137
|
+
|
|
2138
|
+
|
|
2139
|
+
@mcp.tool()
|
|
2140
|
+
def FDA_get_drug_names_by_medication_guide(
|
|
2141
|
+
medguide_info: str,
|
|
2142
|
+
indication: str,
|
|
2143
|
+
limit: int,
|
|
2144
|
+
skip: int
|
|
2145
|
+
) -> dict:
|
|
2146
|
+
return engine.run_one_function({
|
|
2147
|
+
"name": "FDA_get_drug_names_by_medication_guide",
|
|
2148
|
+
"arguments": {
|
|
2149
|
+
"medguide_info": medguide_info,
|
|
2150
|
+
"indication": indication,
|
|
2151
|
+
"limit": limit,
|
|
2152
|
+
"skip": skip
|
|
2153
|
+
}
|
|
2154
|
+
})
|
|
2155
|
+
|
|
2156
|
+
|
|
2157
|
+
@mcp.tool()
|
|
2158
|
+
def FDA_get_medication_guide_info_by_drug_name(
|
|
2159
|
+
drug_name: str,
|
|
2160
|
+
limit: int,
|
|
2161
|
+
skip: int
|
|
2162
|
+
) -> dict:
|
|
2163
|
+
return engine.run_one_function({
|
|
2164
|
+
"name": "FDA_get_medication_guide_info_by_drug_name",
|
|
2165
|
+
"arguments": {
|
|
2166
|
+
"drug_name": drug_name,
|
|
2167
|
+
"limit": limit,
|
|
2168
|
+
"skip": skip
|
|
2169
|
+
}
|
|
2170
|
+
})
|
|
2171
|
+
|
|
2172
|
+
|
|
2173
|
+
@mcp.tool()
|
|
2174
|
+
def FDA_get_drug_name_from_patient_package_insert(
|
|
2175
|
+
patient_package_insert: str,
|
|
2176
|
+
limit: int,
|
|
2177
|
+
skip: int
|
|
2178
|
+
) -> dict:
|
|
2179
|
+
return engine.run_one_function({
|
|
2180
|
+
"name": "FDA_get_drug_name_from_patient_package_insert",
|
|
2181
|
+
"arguments": {
|
|
2182
|
+
"patient_package_insert": patient_package_insert,
|
|
2183
|
+
"limit": limit,
|
|
2184
|
+
"skip": skip
|
|
2185
|
+
}
|
|
2186
|
+
})
|
|
2187
|
+
|
|
2188
|
+
|
|
2189
|
+
@mcp.tool()
|
|
2190
|
+
def FDA_get_patient_package_insert_from_drug_name(
|
|
2191
|
+
drug_name: str,
|
|
2192
|
+
limit: int,
|
|
2193
|
+
skip: int
|
|
2194
|
+
) -> dict:
|
|
2195
|
+
return engine.run_one_function({
|
|
2196
|
+
"name": "FDA_get_patient_package_insert_from_drug_name",
|
|
2197
|
+
"arguments": {
|
|
2198
|
+
"drug_name": drug_name,
|
|
2199
|
+
"limit": limit,
|
|
2200
|
+
"skip": skip
|
|
2201
|
+
}
|
|
2202
|
+
})
|
|
2203
|
+
|
|
2204
|
+
|
|
2205
|
+
@mcp.tool()
|
|
2206
|
+
def FDA_get_drug_names_by_ingredient(
|
|
2207
|
+
ingredient_name: str,
|
|
2208
|
+
indication: str,
|
|
2209
|
+
limit: int,
|
|
2210
|
+
skip: int
|
|
2211
|
+
) -> dict:
|
|
2212
|
+
return engine.run_one_function({
|
|
2213
|
+
"name": "FDA_get_drug_names_by_ingredient",
|
|
2214
|
+
"arguments": {
|
|
2215
|
+
"ingredient_name": ingredient_name,
|
|
2216
|
+
"indication": indication,
|
|
2217
|
+
"limit": limit,
|
|
2218
|
+
"skip": skip
|
|
2219
|
+
}
|
|
2220
|
+
})
|
|
2221
|
+
|
|
2222
|
+
|
|
2223
|
+
@mcp.tool()
|
|
2224
|
+
def FDA_get_ingredients_by_drug_name(
|
|
2225
|
+
drug_name: str,
|
|
2226
|
+
limit: int,
|
|
2227
|
+
skip: int
|
|
2228
|
+
) -> dict:
|
|
2229
|
+
return engine.run_one_function({
|
|
2230
|
+
"name": "FDA_get_ingredients_by_drug_name",
|
|
2231
|
+
"arguments": {
|
|
2232
|
+
"drug_name": drug_name,
|
|
2233
|
+
"limit": limit,
|
|
2234
|
+
"skip": skip
|
|
2235
|
+
}
|
|
2236
|
+
})
|
|
2237
|
+
|
|
2238
|
+
|
|
2239
|
+
@mcp.tool()
|
|
2240
|
+
def FDA_get_spl_unclassified_section_by_drug_name(
|
|
2241
|
+
drug_name: str,
|
|
2242
|
+
limit: int,
|
|
2243
|
+
skip: int
|
|
2244
|
+
) -> dict:
|
|
2245
|
+
return engine.run_one_function({
|
|
2246
|
+
"name": "FDA_get_spl_unclassified_section_by_drug_name",
|
|
2247
|
+
"arguments": {
|
|
2248
|
+
"drug_name": drug_name,
|
|
2249
|
+
"limit": limit,
|
|
2250
|
+
"skip": skip
|
|
2251
|
+
}
|
|
2252
|
+
})
|
|
2253
|
+
|
|
2254
|
+
|
|
2255
|
+
@mcp.tool()
|
|
2256
|
+
def FDA_get_drug_name_by_stop_use_info(
|
|
2257
|
+
stop_use_info: str,
|
|
2258
|
+
limit: int,
|
|
2259
|
+
skip: int
|
|
2260
|
+
) -> dict:
|
|
2261
|
+
return engine.run_one_function({
|
|
2262
|
+
"name": "FDA_get_drug_name_by_stop_use_info",
|
|
2263
|
+
"arguments": {
|
|
2264
|
+
"stop_use_info": stop_use_info,
|
|
2265
|
+
"limit": limit,
|
|
2266
|
+
"skip": skip
|
|
2267
|
+
}
|
|
2268
|
+
})
|
|
2269
|
+
|
|
2270
|
+
|
|
2271
|
+
@mcp.tool()
|
|
2272
|
+
def FDA_get_stop_use_info_by_drug_name(
|
|
2273
|
+
drug_name: str,
|
|
2274
|
+
limit: int,
|
|
2275
|
+
skip: int
|
|
2276
|
+
) -> dict:
|
|
2277
|
+
return engine.run_one_function({
|
|
2278
|
+
"name": "FDA_get_stop_use_info_by_drug_name",
|
|
2279
|
+
"arguments": {
|
|
2280
|
+
"drug_name": drug_name,
|
|
2281
|
+
"limit": limit,
|
|
2282
|
+
"skip": skip
|
|
2283
|
+
}
|
|
2284
|
+
})
|
|
2285
|
+
|
|
2286
|
+
|
|
2287
|
+
@mcp.tool()
|
|
2288
|
+
def FDA_get_drug_name_by_storage_and_handling_info(
|
|
2289
|
+
storage_info: str,
|
|
2290
|
+
limit: int,
|
|
2291
|
+
skip: int
|
|
2292
|
+
) -> dict:
|
|
2293
|
+
return engine.run_one_function({
|
|
2294
|
+
"name": "FDA_get_drug_name_by_storage_and_handling_info",
|
|
2295
|
+
"arguments": {
|
|
2296
|
+
"storage_info": storage_info,
|
|
2297
|
+
"limit": limit,
|
|
2298
|
+
"skip": skip
|
|
2299
|
+
}
|
|
2300
|
+
})
|
|
2301
|
+
|
|
2302
|
+
|
|
2303
|
+
@mcp.tool()
|
|
2304
|
+
def FDA_get_storage_and_handling_info_by_drug_name(
|
|
2305
|
+
drug_name: str,
|
|
2306
|
+
limit: int,
|
|
2307
|
+
skip: int
|
|
2308
|
+
) -> dict:
|
|
2309
|
+
return engine.run_one_function({
|
|
2310
|
+
"name": "FDA_get_storage_and_handling_info_by_drug_name",
|
|
2311
|
+
"arguments": {
|
|
2312
|
+
"drug_name": drug_name,
|
|
2313
|
+
"limit": limit,
|
|
2314
|
+
"skip": skip
|
|
2315
|
+
}
|
|
2316
|
+
})
|
|
2317
|
+
|
|
2318
|
+
|
|
2319
|
+
@mcp.tool()
|
|
2320
|
+
def FDA_get_drug_names_by_safety_summary(
|
|
2321
|
+
summary_text: str,
|
|
2322
|
+
indication: str,
|
|
2323
|
+
limit: int,
|
|
2324
|
+
skip: int
|
|
2325
|
+
) -> dict:
|
|
2326
|
+
return engine.run_one_function({
|
|
2327
|
+
"name": "FDA_get_drug_names_by_safety_summary",
|
|
2328
|
+
"arguments": {
|
|
2329
|
+
"summary_text": summary_text,
|
|
2330
|
+
"indication": indication,
|
|
2331
|
+
"limit": limit,
|
|
2332
|
+
"skip": skip
|
|
2333
|
+
}
|
|
2334
|
+
})
|
|
2335
|
+
|
|
2336
|
+
|
|
2337
|
+
@mcp.tool()
|
|
2338
|
+
def FDA_get_safety_summary_by_drug_name(
|
|
2339
|
+
drug_name: str,
|
|
2340
|
+
limit: int,
|
|
2341
|
+
skip: int
|
|
2342
|
+
) -> dict:
|
|
2343
|
+
return engine.run_one_function({
|
|
2344
|
+
"name": "FDA_get_safety_summary_by_drug_name",
|
|
2345
|
+
"arguments": {
|
|
2346
|
+
"drug_name": drug_name,
|
|
2347
|
+
"limit": limit,
|
|
2348
|
+
"skip": skip
|
|
2349
|
+
}
|
|
2350
|
+
})
|
|
2351
|
+
|
|
2352
|
+
|
|
2353
|
+
@mcp.tool()
|
|
2354
|
+
def FDA_get_drug_names_by_teratogenic_effects(
|
|
2355
|
+
teratogenic_effects: str,
|
|
2356
|
+
indication: str,
|
|
2357
|
+
limit: int,
|
|
2358
|
+
skip: int
|
|
2359
|
+
) -> dict:
|
|
2360
|
+
return engine.run_one_function({
|
|
2361
|
+
"name": "FDA_get_drug_names_by_teratogenic_effects",
|
|
2362
|
+
"arguments": {
|
|
2363
|
+
"teratogenic_effects": teratogenic_effects,
|
|
2364
|
+
"indication": indication,
|
|
2365
|
+
"limit": limit,
|
|
2366
|
+
"skip": skip
|
|
2367
|
+
}
|
|
2368
|
+
})
|
|
2369
|
+
|
|
2370
|
+
|
|
2371
|
+
@mcp.tool()
|
|
2372
|
+
def FDA_get_teratogenic_effects_by_drug_name(
|
|
2373
|
+
drug_name: str,
|
|
2374
|
+
limit: int,
|
|
2375
|
+
skip: int
|
|
2376
|
+
) -> dict:
|
|
2377
|
+
return engine.run_one_function({
|
|
2378
|
+
"name": "FDA_get_teratogenic_effects_by_drug_name",
|
|
2379
|
+
"arguments": {
|
|
2380
|
+
"drug_name": drug_name,
|
|
2381
|
+
"limit": limit,
|
|
2382
|
+
"skip": skip
|
|
2383
|
+
}
|
|
2384
|
+
})
|
|
2385
|
+
|
|
2386
|
+
|
|
2387
|
+
@mcp.tool()
|
|
2388
|
+
def FDA_get_drug_names_by_population_use(
|
|
2389
|
+
population_use: str,
|
|
2390
|
+
indication: str,
|
|
2391
|
+
limit: int,
|
|
2392
|
+
skip: int
|
|
2393
|
+
) -> dict:
|
|
2394
|
+
return engine.run_one_function({
|
|
2395
|
+
"name": "FDA_get_drug_names_by_population_use",
|
|
2396
|
+
"arguments": {
|
|
2397
|
+
"population_use": population_use,
|
|
2398
|
+
"indication": indication,
|
|
2399
|
+
"limit": limit,
|
|
2400
|
+
"skip": skip
|
|
2401
|
+
}
|
|
2402
|
+
})
|
|
2403
|
+
|
|
2404
|
+
|
|
2405
|
+
@mcp.tool()
|
|
2406
|
+
def FDA_get_population_use_info_by_drug_name(
|
|
2407
|
+
drug_name: str,
|
|
2408
|
+
limit: int,
|
|
2409
|
+
skip: int
|
|
2410
|
+
) -> dict:
|
|
2411
|
+
return engine.run_one_function({
|
|
2412
|
+
"name": "FDA_get_population_use_info_by_drug_name",
|
|
2413
|
+
"arguments": {
|
|
2414
|
+
"drug_name": drug_name,
|
|
2415
|
+
"limit": limit,
|
|
2416
|
+
"skip": skip
|
|
2417
|
+
}
|
|
2418
|
+
})
|
|
2419
|
+
|
|
2420
|
+
|
|
2421
|
+
@mcp.tool()
|
|
2422
|
+
def FDA_get_user_safety_warning_by_drug_names(
|
|
2423
|
+
drug_name: str,
|
|
2424
|
+
limit: int,
|
|
2425
|
+
skip: int
|
|
2426
|
+
) -> dict:
|
|
2427
|
+
return engine.run_one_function({
|
|
2428
|
+
"name": "FDA_get_user_safety_warning_by_drug_names",
|
|
2429
|
+
"arguments": {
|
|
2430
|
+
"drug_name": drug_name,
|
|
2431
|
+
"limit": limit,
|
|
2432
|
+
"skip": skip
|
|
2433
|
+
}
|
|
2434
|
+
})
|
|
2435
|
+
|
|
2436
|
+
|
|
2437
|
+
@mcp.tool()
|
|
2438
|
+
def FDA_get_drug_names_by_user_safety_warning(
|
|
2439
|
+
safety_warning: str,
|
|
2440
|
+
indication: str,
|
|
2441
|
+
limit: int,
|
|
2442
|
+
skip: int
|
|
2443
|
+
) -> dict:
|
|
2444
|
+
return engine.run_one_function({
|
|
2445
|
+
"name": "FDA_get_drug_names_by_user_safety_warning",
|
|
2446
|
+
"arguments": {
|
|
2447
|
+
"safety_warning": safety_warning,
|
|
2448
|
+
"indication": indication,
|
|
2449
|
+
"limit": limit,
|
|
2450
|
+
"skip": skip
|
|
2451
|
+
}
|
|
2452
|
+
})
|
|
2453
|
+
|
|
2454
|
+
|
|
2455
|
+
@mcp.tool()
|
|
2456
|
+
def FDA_get_drug_name_by_warnings(
|
|
2457
|
+
warning_text: str,
|
|
2458
|
+
limit: int,
|
|
2459
|
+
skip: int
|
|
2460
|
+
) -> dict:
|
|
2461
|
+
return engine.run_one_function({
|
|
2462
|
+
"name": "FDA_get_drug_name_by_warnings",
|
|
2463
|
+
"arguments": {
|
|
2464
|
+
"warning_text": warning_text,
|
|
2465
|
+
"limit": limit,
|
|
2466
|
+
"skip": skip
|
|
2467
|
+
}
|
|
2468
|
+
})
|
|
2469
|
+
|
|
2470
|
+
|
|
2471
|
+
@mcp.tool()
|
|
2472
|
+
def FDA_get_warnings_by_drug_name(
|
|
2473
|
+
drug_name: str,
|
|
2474
|
+
limit: int,
|
|
2475
|
+
skip: int
|
|
2476
|
+
) -> dict:
|
|
2477
|
+
return engine.run_one_function({
|
|
2478
|
+
"name": "FDA_get_warnings_by_drug_name",
|
|
2479
|
+
"arguments": {
|
|
2480
|
+
"drug_name": drug_name,
|
|
2481
|
+
"limit": limit,
|
|
2482
|
+
"skip": skip
|
|
2483
|
+
}
|
|
2484
|
+
})
|
|
2485
|
+
|
|
2486
|
+
|
|
2487
|
+
@mcp.tool()
|
|
2488
|
+
def FDA_get_warnings_and_cautions_by_drug_name(
|
|
2489
|
+
drug_name: str,
|
|
2490
|
+
limit: int,
|
|
2491
|
+
skip: int
|
|
2492
|
+
) -> dict:
|
|
2493
|
+
return engine.run_one_function({
|
|
2494
|
+
"name": "FDA_get_warnings_and_cautions_by_drug_name",
|
|
2495
|
+
"arguments": {
|
|
2496
|
+
"drug_name": drug_name,
|
|
2497
|
+
"limit": limit,
|
|
2498
|
+
"skip": skip
|
|
2499
|
+
}
|
|
2500
|
+
})
|
|
2501
|
+
|
|
2502
|
+
|
|
2503
|
+
@mcp.tool()
|
|
2504
|
+
def FDA_get_drug_names_by_warnings_and_cautions(
|
|
2505
|
+
warnings_and_cautions_info: str,
|
|
2506
|
+
indication: str,
|
|
2507
|
+
limit: int,
|
|
2508
|
+
skip: int
|
|
2509
|
+
) -> dict:
|
|
2510
|
+
return engine.run_one_function({
|
|
2511
|
+
"name": "FDA_get_drug_names_by_warnings_and_cautions",
|
|
2512
|
+
"arguments": {
|
|
2513
|
+
"warnings_and_cautions_info": warnings_and_cautions_info,
|
|
2514
|
+
"indication": indication,
|
|
2515
|
+
"limit": limit,
|
|
2516
|
+
"skip": skip
|
|
2517
|
+
}
|
|
2518
|
+
})
|
|
2519
|
+
|
|
2520
|
+
|
|
2521
|
+
@mcp.tool()
|
|
2522
|
+
def FDA_get_when_using_info(
|
|
2523
|
+
drug_name: str,
|
|
2524
|
+
limit: int,
|
|
2525
|
+
skip: int
|
|
2526
|
+
) -> dict:
|
|
2527
|
+
return engine.run_one_function({
|
|
2528
|
+
"name": "FDA_get_when_using_info",
|
|
2529
|
+
"arguments": {
|
|
2530
|
+
"drug_name": drug_name,
|
|
2531
|
+
"limit": limit,
|
|
2532
|
+
"skip": skip
|
|
2533
|
+
}
|
|
2534
|
+
})
|
|
2535
|
+
|
|
2536
|
+
|
|
2537
|
+
@mcp.tool()
|
|
2538
|
+
def FDA_get_brand_name_generic_name(
|
|
2539
|
+
drug_name: str,
|
|
2540
|
+
limit: int
|
|
2541
|
+
) -> dict:
|
|
2542
|
+
return engine.run_one_function({
|
|
2543
|
+
"name": "FDA_get_brand_name_generic_name",
|
|
2544
|
+
"arguments": {
|
|
2545
|
+
"drug_name": drug_name,
|
|
2546
|
+
"limit": limit
|
|
2547
|
+
}
|
|
2548
|
+
})
|
|
2549
|
+
|
|
2550
|
+
|
|
2551
|
+
@mcp.tool()
|
|
2552
|
+
def FDA_get_do_not_use_info_by_drug_name(
|
|
2553
|
+
drug_name: str,
|
|
2554
|
+
limit: int,
|
|
2555
|
+
skip: int
|
|
2556
|
+
) -> dict:
|
|
2557
|
+
return engine.run_one_function({
|
|
2558
|
+
"name": "FDA_get_do_not_use_info_by_drug_name",
|
|
2559
|
+
"arguments": {
|
|
2560
|
+
"drug_name": drug_name,
|
|
2561
|
+
"limit": limit,
|
|
2562
|
+
"skip": skip
|
|
2563
|
+
}
|
|
2564
|
+
})
|
|
2565
|
+
|
|
2566
|
+
|
|
2567
|
+
@mcp.tool()
|
|
2568
|
+
def FDA_get_purpose_info_by_drug_name(
|
|
2569
|
+
drug_name: str,
|
|
2570
|
+
limit: int,
|
|
2571
|
+
skip: int
|
|
2572
|
+
) -> dict:
|
|
2573
|
+
return engine.run_one_function({
|
|
2574
|
+
"name": "FDA_get_purpose_info_by_drug_name",
|
|
2575
|
+
"arguments": {
|
|
2576
|
+
"drug_name": drug_name,
|
|
2577
|
+
"limit": limit,
|
|
2578
|
+
"skip": skip
|
|
2579
|
+
}
|
|
2580
|
+
})
|
|
2581
|
+
|
|
2582
|
+
|
|
2583
|
+
@mcp.tool()
|
|
2584
|
+
def FDA_get_drug_generic_name(
|
|
2585
|
+
drug_name: str
|
|
2586
|
+
) -> dict:
|
|
2587
|
+
return engine.run_one_function({
|
|
2588
|
+
"name": "FDA_get_drug_generic_name",
|
|
2589
|
+
"arguments": {
|
|
2590
|
+
"drug_name": drug_name
|
|
2591
|
+
}
|
|
2592
|
+
})
|
|
2593
|
+
|
|
2594
|
+
|
|
2595
|
+
@mcp.tool()
|
|
2596
|
+
def get_joint_associated_diseases_by_HPO_ID_list(
|
|
2597
|
+
HPO_ID_list: List[str],
|
|
2598
|
+
limit: int,
|
|
2599
|
+
offset: int
|
|
2600
|
+
) -> dict:
|
|
2601
|
+
return engine.run_one_function({
|
|
2602
|
+
"name": "get_joint_associated_diseases_by_HPO_ID_list",
|
|
2603
|
+
"arguments": {
|
|
2604
|
+
"HPO_ID_list": HPO_ID_list,
|
|
2605
|
+
"limit": limit,
|
|
2606
|
+
"offset": offset
|
|
2607
|
+
}
|
|
2608
|
+
})
|
|
2609
|
+
|
|
2610
|
+
|
|
2611
|
+
@mcp.tool()
|
|
2612
|
+
def get_phenotype_by_HPO_ID(
|
|
2613
|
+
id: str
|
|
2614
|
+
) -> dict:
|
|
2615
|
+
return engine.run_one_function({
|
|
2616
|
+
"name": "get_phenotype_by_HPO_ID",
|
|
2617
|
+
"arguments": {
|
|
2618
|
+
"id": id
|
|
2619
|
+
}
|
|
2620
|
+
})
|
|
2621
|
+
|
|
2622
|
+
|
|
2623
|
+
@mcp.tool()
|
|
2624
|
+
def get_HPO_ID_by_phenotype(
|
|
2625
|
+
query: str,
|
|
2626
|
+
limit: int,
|
|
2627
|
+
offset: int
|
|
2628
|
+
) -> dict:
|
|
2629
|
+
return engine.run_one_function({
|
|
2630
|
+
"name": "get_HPO_ID_by_phenotype",
|
|
2631
|
+
"arguments": {
|
|
2632
|
+
"query": query,
|
|
2633
|
+
"limit": limit,
|
|
2634
|
+
"offset": offset
|
|
2635
|
+
}
|
|
2636
|
+
})
|
|
2637
|
+
|
|
2638
|
+
|
|
2639
|
+
@mcp.tool()
|
|
2640
|
+
def OpenTargets_get_associated_targets_by_disease_efoId(
|
|
2641
|
+
efoId: str
|
|
2642
|
+
) -> dict:
|
|
2643
|
+
return engine.run_one_function({
|
|
2644
|
+
"name": "OpenTargets_get_associated_targets_by_disease_efoId",
|
|
2645
|
+
"arguments": {
|
|
2646
|
+
"efoId": efoId
|
|
2647
|
+
}
|
|
2648
|
+
})
|
|
2649
|
+
|
|
2650
|
+
|
|
2651
|
+
@mcp.tool()
|
|
2652
|
+
def OpenTargets_get_diseases_phenotypes_by_target_ensembl(
|
|
2653
|
+
ensemblId: str
|
|
2654
|
+
) -> dict:
|
|
2655
|
+
return engine.run_one_function({
|
|
2656
|
+
"name": "OpenTargets_get_diseases_phenotypes_by_target_ensembl",
|
|
2657
|
+
"arguments": {
|
|
2658
|
+
"ensemblId": ensemblId
|
|
2659
|
+
}
|
|
2660
|
+
})
|
|
2661
|
+
|
|
2662
|
+
|
|
2663
|
+
@mcp.tool()
|
|
2664
|
+
def OpenTargets_target_disease_evidence(
|
|
2665
|
+
efoId: str,
|
|
2666
|
+
ensemblId: str
|
|
2667
|
+
) -> dict:
|
|
2668
|
+
return engine.run_one_function({
|
|
2669
|
+
"name": "OpenTargets_target_disease_evidence",
|
|
2670
|
+
"arguments": {
|
|
2671
|
+
"efoId": efoId,
|
|
2672
|
+
"ensemblId": ensemblId
|
|
2673
|
+
}
|
|
2674
|
+
})
|
|
2675
|
+
|
|
2676
|
+
|
|
2677
|
+
@mcp.tool()
|
|
2678
|
+
def OpenTargets_get_drug_warnings_by_chemblId(
|
|
2679
|
+
chemblId: str
|
|
2680
|
+
) -> dict:
|
|
2681
|
+
return engine.run_one_function({
|
|
2682
|
+
"name": "OpenTargets_get_drug_warnings_by_chemblId",
|
|
2683
|
+
"arguments": {
|
|
2684
|
+
"chemblId": chemblId
|
|
2685
|
+
}
|
|
2686
|
+
})
|
|
2687
|
+
|
|
2688
|
+
|
|
2689
|
+
@mcp.tool()
|
|
2690
|
+
def OpenTargets_get_drug_mechanisms_of_action_by_chemblId(
|
|
2691
|
+
chemblId: str
|
|
2692
|
+
) -> dict:
|
|
2693
|
+
return engine.run_one_function({
|
|
2694
|
+
"name": "OpenTargets_get_drug_mechanisms_of_action_by_chemblId",
|
|
2695
|
+
"arguments": {
|
|
2696
|
+
"chemblId": chemblId
|
|
2697
|
+
}
|
|
2698
|
+
})
|
|
2699
|
+
|
|
2700
|
+
|
|
2701
|
+
@mcp.tool()
|
|
2702
|
+
def OpenTargets_get_associated_drugs_by_disease_efoId(
|
|
2703
|
+
efoId: str,
|
|
2704
|
+
size: int
|
|
2705
|
+
) -> dict:
|
|
2706
|
+
return engine.run_one_function({
|
|
2707
|
+
"name": "OpenTargets_get_associated_drugs_by_disease_efoId",
|
|
2708
|
+
"arguments": {
|
|
2709
|
+
"efoId": efoId,
|
|
2710
|
+
"size": size
|
|
2711
|
+
}
|
|
2712
|
+
})
|
|
2713
|
+
|
|
2714
|
+
|
|
2715
|
+
@mcp.tool()
|
|
2716
|
+
def OpenTargets_get_similar_entities_by_disease_efoId(
|
|
2717
|
+
efoId: str,
|
|
2718
|
+
threshold: float,
|
|
2719
|
+
size: int
|
|
2720
|
+
) -> dict:
|
|
2721
|
+
return engine.run_one_function({
|
|
2722
|
+
"name": "OpenTargets_get_similar_entities_by_disease_efoId",
|
|
2723
|
+
"arguments": {
|
|
2724
|
+
"efoId": efoId,
|
|
2725
|
+
"threshold": threshold,
|
|
2726
|
+
"size": size
|
|
2727
|
+
}
|
|
2728
|
+
})
|
|
2729
|
+
|
|
2730
|
+
|
|
2731
|
+
@mcp.tool()
|
|
2732
|
+
def OpenTargets_get_similar_entities_by_drug_chemblId(
|
|
2733
|
+
chemblId: str,
|
|
2734
|
+
threshold: float,
|
|
2735
|
+
size: int
|
|
2736
|
+
) -> dict:
|
|
2737
|
+
return engine.run_one_function({
|
|
2738
|
+
"name": "OpenTargets_get_similar_entities_by_drug_chemblId",
|
|
2739
|
+
"arguments": {
|
|
2740
|
+
"chemblId": chemblId,
|
|
2741
|
+
"threshold": threshold,
|
|
2742
|
+
"size": size
|
|
2743
|
+
}
|
|
2744
|
+
})
|
|
2745
|
+
|
|
2746
|
+
|
|
2747
|
+
@mcp.tool()
|
|
2748
|
+
def OpenTargets_get_similar_entities_by_target_ensemblID(
|
|
2749
|
+
ensemblId: str,
|
|
2750
|
+
threshold: float,
|
|
2751
|
+
size: int
|
|
2752
|
+
) -> dict:
|
|
2753
|
+
return engine.run_one_function({
|
|
2754
|
+
"name": "OpenTargets_get_similar_entities_by_target_ensemblID",
|
|
2755
|
+
"arguments": {
|
|
2756
|
+
"ensemblId": ensemblId,
|
|
2757
|
+
"threshold": threshold,
|
|
2758
|
+
"size": size
|
|
2759
|
+
}
|
|
2760
|
+
})
|
|
2761
|
+
|
|
2762
|
+
|
|
2763
|
+
@mcp.tool()
|
|
2764
|
+
def OpenTargets_get_associated_phenotypes_by_disease_efoId(
|
|
2765
|
+
efoId: str
|
|
2766
|
+
) -> dict:
|
|
2767
|
+
return engine.run_one_function({
|
|
2768
|
+
"name": "OpenTargets_get_associated_phenotypes_by_disease_efoId",
|
|
2769
|
+
"arguments": {
|
|
2770
|
+
"efoId": efoId
|
|
2771
|
+
}
|
|
2772
|
+
})
|
|
2773
|
+
|
|
2774
|
+
|
|
2775
|
+
@mcp.tool()
|
|
2776
|
+
def OpenTargets_get_drug_withdrawn_blackbox_status_by_chemblId(
|
|
2777
|
+
chemblId: List[str]
|
|
2778
|
+
) -> dict:
|
|
2779
|
+
return engine.run_one_function({
|
|
2780
|
+
"name": "OpenTargets_get_drug_withdrawn_blackbox_status_by_chemblId",
|
|
2781
|
+
"arguments": {
|
|
2782
|
+
"chemblId": chemblId
|
|
2783
|
+
}
|
|
2784
|
+
})
|
|
2785
|
+
|
|
2786
|
+
|
|
2787
|
+
@mcp.tool()
|
|
2788
|
+
def OpenTargets_search_category_counts_by_query_string(
|
|
2789
|
+
queryString: str
|
|
2790
|
+
) -> dict:
|
|
2791
|
+
return engine.run_one_function({
|
|
2792
|
+
"name": "OpenTargets_search_category_counts_by_query_string",
|
|
2793
|
+
"arguments": {
|
|
2794
|
+
"queryString": queryString
|
|
2795
|
+
}
|
|
2796
|
+
})
|
|
2797
|
+
|
|
2798
|
+
|
|
2799
|
+
@mcp.tool()
|
|
2800
|
+
def OpenTargets_get_disease_id_description_by_name(
|
|
2801
|
+
diseaseName: str
|
|
2802
|
+
) -> dict:
|
|
2803
|
+
return engine.run_one_function({
|
|
2804
|
+
"name": "OpenTargets_get_disease_id_description_by_name",
|
|
2805
|
+
"arguments": {
|
|
2806
|
+
"diseaseName": diseaseName
|
|
2807
|
+
}
|
|
2808
|
+
})
|
|
2809
|
+
|
|
2810
|
+
|
|
2811
|
+
@mcp.tool()
|
|
2812
|
+
def OpenTargets_get_drug_id_description_by_name(
|
|
2813
|
+
drugName: str
|
|
2814
|
+
) -> dict:
|
|
2815
|
+
return engine.run_one_function({
|
|
2816
|
+
"name": "OpenTargets_get_drug_id_description_by_name",
|
|
2817
|
+
"arguments": {
|
|
2818
|
+
"drugName": drugName
|
|
2819
|
+
}
|
|
2820
|
+
})
|
|
2821
|
+
|
|
2822
|
+
|
|
2823
|
+
@mcp.tool()
|
|
2824
|
+
def OpenTargets_get_drug_chembId_by_generic_name(
|
|
2825
|
+
drugName: str
|
|
2826
|
+
) -> dict:
|
|
2827
|
+
return engine.run_one_function({
|
|
2828
|
+
"name": "OpenTargets_get_drug_chembId_by_generic_name",
|
|
2829
|
+
"arguments": {
|
|
2830
|
+
"drugName": drugName
|
|
2831
|
+
}
|
|
2832
|
+
})
|
|
2833
|
+
|
|
2834
|
+
|
|
2835
|
+
@mcp.tool()
|
|
2836
|
+
def OpenTargets_get_drug_indications_by_chemblId(
|
|
2837
|
+
chemblId: str
|
|
2838
|
+
) -> dict:
|
|
2839
|
+
return engine.run_one_function({
|
|
2840
|
+
"name": "OpenTargets_get_drug_indications_by_chemblId",
|
|
2841
|
+
"arguments": {
|
|
2842
|
+
"chemblId": chemblId
|
|
2843
|
+
}
|
|
2844
|
+
})
|
|
2845
|
+
|
|
2846
|
+
|
|
2847
|
+
@mcp.tool()
|
|
2848
|
+
def OpenTargets_get_target_gene_ontology_by_ensemblID(
|
|
2849
|
+
ensemblId: str
|
|
2850
|
+
) -> dict:
|
|
2851
|
+
return engine.run_one_function({
|
|
2852
|
+
"name": "OpenTargets_get_target_gene_ontology_by_ensemblID",
|
|
2853
|
+
"arguments": {
|
|
2854
|
+
"ensemblId": ensemblId
|
|
2855
|
+
}
|
|
2856
|
+
})
|
|
2857
|
+
|
|
2858
|
+
|
|
2859
|
+
@mcp.tool()
|
|
2860
|
+
def OpenTargets_get_target_homologues_by_ensemblID(
|
|
2861
|
+
ensemblId: str
|
|
2862
|
+
) -> dict:
|
|
2863
|
+
return engine.run_one_function({
|
|
2864
|
+
"name": "OpenTargets_get_target_homologues_by_ensemblID",
|
|
2865
|
+
"arguments": {
|
|
2866
|
+
"ensemblId": ensemblId
|
|
2867
|
+
}
|
|
2868
|
+
})
|
|
2869
|
+
|
|
2870
|
+
|
|
2871
|
+
@mcp.tool()
|
|
2872
|
+
def OpenTargets_get_target_safety_profile_by_ensemblID(
|
|
2873
|
+
ensemblId: str
|
|
2874
|
+
) -> dict:
|
|
2875
|
+
return engine.run_one_function({
|
|
2876
|
+
"name": "OpenTargets_get_target_safety_profile_by_ensemblID",
|
|
2877
|
+
"arguments": {
|
|
2878
|
+
"ensemblId": ensemblId
|
|
2879
|
+
}
|
|
2880
|
+
})
|
|
2881
|
+
|
|
2882
|
+
|
|
2883
|
+
@mcp.tool()
|
|
2884
|
+
def OpenTargets_get_biological_mouse_models_by_ensemblID(
|
|
2885
|
+
ensemblId: str
|
|
2886
|
+
) -> dict:
|
|
2887
|
+
return engine.run_one_function({
|
|
2888
|
+
"name": "OpenTargets_get_biological_mouse_models_by_ensemblID",
|
|
2889
|
+
"arguments": {
|
|
2890
|
+
"ensemblId": ensemblId
|
|
2891
|
+
}
|
|
2892
|
+
})
|
|
2893
|
+
|
|
2894
|
+
|
|
2895
|
+
@mcp.tool()
|
|
2896
|
+
def OpenTargets_get_target_genomic_location_by_ensemblID(
|
|
2897
|
+
ensemblId: str
|
|
2898
|
+
) -> dict:
|
|
2899
|
+
return engine.run_one_function({
|
|
2900
|
+
"name": "OpenTargets_get_target_genomic_location_by_ensemblID",
|
|
2901
|
+
"arguments": {
|
|
2902
|
+
"ensemblId": ensemblId
|
|
2903
|
+
}
|
|
2904
|
+
})
|
|
2905
|
+
|
|
2906
|
+
|
|
2907
|
+
@mcp.tool()
|
|
2908
|
+
def OpenTargets_get_target_subcellular_locations_by_ensemblID(
|
|
2909
|
+
ensemblId: str
|
|
2910
|
+
) -> dict:
|
|
2911
|
+
return engine.run_one_function({
|
|
2912
|
+
"name": "OpenTargets_get_target_subcellular_locations_by_ensemblID",
|
|
2913
|
+
"arguments": {
|
|
2914
|
+
"ensemblId": ensemblId
|
|
2915
|
+
}
|
|
2916
|
+
})
|
|
2917
|
+
|
|
2918
|
+
|
|
2919
|
+
@mcp.tool()
|
|
2920
|
+
def OpenTargets_get_target_synonyms_by_ensemblID(
|
|
2921
|
+
ensemblId: str
|
|
2922
|
+
) -> dict:
|
|
2923
|
+
return engine.run_one_function({
|
|
2924
|
+
"name": "OpenTargets_get_target_synonyms_by_ensemblID",
|
|
2925
|
+
"arguments": {
|
|
2926
|
+
"ensemblId": ensemblId
|
|
2927
|
+
}
|
|
2928
|
+
})
|
|
2929
|
+
|
|
2930
|
+
|
|
2931
|
+
@mcp.tool()
|
|
2932
|
+
def OpenTargets_get_target_tractability_by_ensemblID(
|
|
2933
|
+
ensemblId: str
|
|
2934
|
+
) -> dict:
|
|
2935
|
+
return engine.run_one_function({
|
|
2936
|
+
"name": "OpenTargets_get_target_tractability_by_ensemblID",
|
|
2937
|
+
"arguments": {
|
|
2938
|
+
"ensemblId": ensemblId
|
|
2939
|
+
}
|
|
2940
|
+
})
|
|
2941
|
+
|
|
2942
|
+
|
|
2943
|
+
@mcp.tool()
|
|
2944
|
+
def OpenTargets_get_target_classes_by_ensemblID(
|
|
2945
|
+
ensemblId: str
|
|
2946
|
+
) -> dict:
|
|
2947
|
+
return engine.run_one_function({
|
|
2948
|
+
"name": "OpenTargets_get_target_classes_by_ensemblID",
|
|
2949
|
+
"arguments": {
|
|
2950
|
+
"ensemblId": ensemblId
|
|
2951
|
+
}
|
|
2952
|
+
})
|
|
2953
|
+
|
|
2954
|
+
|
|
2955
|
+
@mcp.tool()
|
|
2956
|
+
def OpenTargets_get_target_enabling_packages_by_ensemblID(
|
|
2957
|
+
ensemblId: str
|
|
2958
|
+
) -> dict:
|
|
2959
|
+
return engine.run_one_function({
|
|
2960
|
+
"name": "OpenTargets_get_target_enabling_packages_by_ensemblID",
|
|
2961
|
+
"arguments": {
|
|
2962
|
+
"ensemblId": ensemblId
|
|
2963
|
+
}
|
|
2964
|
+
})
|
|
2965
|
+
|
|
2966
|
+
|
|
2967
|
+
@mcp.tool()
|
|
2968
|
+
def OpenTargets_get_target_interactions_by_ensemblID(
|
|
2969
|
+
ensemblId: str,
|
|
2970
|
+
page: dict
|
|
2971
|
+
) -> dict:
|
|
2972
|
+
return engine.run_one_function({
|
|
2973
|
+
"name": "OpenTargets_get_target_interactions_by_ensemblID",
|
|
2974
|
+
"arguments": {
|
|
2975
|
+
"ensemblId": ensemblId,
|
|
2976
|
+
"page": page
|
|
2977
|
+
}
|
|
2978
|
+
})
|
|
2979
|
+
|
|
2980
|
+
|
|
2981
|
+
@mcp.tool()
|
|
2982
|
+
def OpenTargets_get_disease_ancestors_parents_by_efoId(
|
|
2983
|
+
efoId: str
|
|
2984
|
+
) -> dict:
|
|
2985
|
+
return engine.run_one_function({
|
|
2986
|
+
"name": "OpenTargets_get_disease_ancestors_parents_by_efoId",
|
|
2987
|
+
"arguments": {
|
|
2988
|
+
"efoId": efoId
|
|
2989
|
+
}
|
|
2990
|
+
})
|
|
2991
|
+
|
|
2992
|
+
|
|
2993
|
+
@mcp.tool()
|
|
2994
|
+
def OpenTargets_get_disease_descendants_children_by_efoId(
|
|
2995
|
+
efoId: str
|
|
2996
|
+
) -> dict:
|
|
2997
|
+
return engine.run_one_function({
|
|
2998
|
+
"name": "OpenTargets_get_disease_descendants_children_by_efoId",
|
|
2999
|
+
"arguments": {
|
|
3000
|
+
"efoId": efoId
|
|
3001
|
+
}
|
|
3002
|
+
})
|
|
3003
|
+
|
|
3004
|
+
|
|
3005
|
+
@mcp.tool()
|
|
3006
|
+
def OpenTargets_get_disease_locations_by_efoId(
|
|
3007
|
+
efoId: str
|
|
3008
|
+
) -> dict:
|
|
3009
|
+
return engine.run_one_function({
|
|
3010
|
+
"name": "OpenTargets_get_disease_locations_by_efoId",
|
|
3011
|
+
"arguments": {
|
|
3012
|
+
"efoId": efoId
|
|
3013
|
+
}
|
|
3014
|
+
})
|
|
3015
|
+
|
|
3016
|
+
|
|
3017
|
+
@mcp.tool()
|
|
3018
|
+
def OpenTargets_get_disease_synonyms_by_efoId(
|
|
3019
|
+
efoId: str
|
|
3020
|
+
) -> dict:
|
|
3021
|
+
return engine.run_one_function({
|
|
3022
|
+
"name": "OpenTargets_get_disease_synonyms_by_efoId",
|
|
3023
|
+
"arguments": {
|
|
3024
|
+
"efoId": efoId
|
|
3025
|
+
}
|
|
3026
|
+
})
|
|
3027
|
+
|
|
3028
|
+
|
|
3029
|
+
@mcp.tool()
|
|
3030
|
+
def OpenTargets_get_disease_description_by_efoId(
|
|
3031
|
+
efoId: str
|
|
3032
|
+
) -> dict:
|
|
3033
|
+
return engine.run_one_function({
|
|
3034
|
+
"name": "OpenTargets_get_disease_description_by_efoId",
|
|
3035
|
+
"arguments": {
|
|
3036
|
+
"efoId": efoId
|
|
3037
|
+
}
|
|
3038
|
+
})
|
|
3039
|
+
|
|
3040
|
+
|
|
3041
|
+
@mcp.tool()
|
|
3042
|
+
def OpenTargets_get_disease_therapeutic_areas_by_efoId(
|
|
3043
|
+
efoId: str
|
|
3044
|
+
) -> dict:
|
|
3045
|
+
return engine.run_one_function({
|
|
3046
|
+
"name": "OpenTargets_get_disease_therapeutic_areas_by_efoId",
|
|
3047
|
+
"arguments": {
|
|
3048
|
+
"efoId": efoId
|
|
3049
|
+
}
|
|
3050
|
+
})
|
|
3051
|
+
|
|
3052
|
+
|
|
3053
|
+
@mcp.tool()
|
|
3054
|
+
def OpenTargets_get_drug_adverse_events_by_chemblId(
|
|
3055
|
+
chemblId: str,
|
|
3056
|
+
page: dict
|
|
3057
|
+
) -> dict:
|
|
3058
|
+
return engine.run_one_function({
|
|
3059
|
+
"name": "OpenTargets_get_drug_adverse_events_by_chemblId",
|
|
3060
|
+
"arguments": {
|
|
3061
|
+
"chemblId": chemblId,
|
|
3062
|
+
"page": page
|
|
3063
|
+
}
|
|
3064
|
+
})
|
|
3065
|
+
|
|
3066
|
+
|
|
3067
|
+
@mcp.tool()
|
|
3068
|
+
def OpenTargets_get_known_drugs_by_drug_chemblId(
|
|
3069
|
+
chemblId: str
|
|
3070
|
+
) -> dict:
|
|
3071
|
+
return engine.run_one_function({
|
|
3072
|
+
"name": "OpenTargets_get_known_drugs_by_drug_chemblId",
|
|
3073
|
+
"arguments": {
|
|
3074
|
+
"chemblId": chemblId
|
|
3075
|
+
}
|
|
3076
|
+
})
|
|
3077
|
+
|
|
3078
|
+
|
|
3079
|
+
@mcp.tool()
|
|
3080
|
+
def OpenTargets_get_parent_child_molecules_by_drug_chembl_ID(
|
|
3081
|
+
chemblId: str
|
|
3082
|
+
) -> dict:
|
|
3083
|
+
return engine.run_one_function({
|
|
3084
|
+
"name": "OpenTargets_get_parent_child_molecules_by_drug_chembl_ID",
|
|
3085
|
+
"arguments": {
|
|
3086
|
+
"chemblId": chemblId
|
|
3087
|
+
}
|
|
3088
|
+
})
|
|
3089
|
+
|
|
3090
|
+
|
|
3091
|
+
@mcp.tool()
|
|
3092
|
+
def OpenTargets_get_approved_indications_by_drug_chemblId(
|
|
3093
|
+
chemblId: str
|
|
3094
|
+
) -> dict:
|
|
3095
|
+
return engine.run_one_function({
|
|
3096
|
+
"name": "OpenTargets_get_approved_indications_by_drug_chemblId",
|
|
3097
|
+
"arguments": {
|
|
3098
|
+
"chemblId": chemblId
|
|
3099
|
+
}
|
|
3100
|
+
})
|
|
3101
|
+
|
|
3102
|
+
|
|
3103
|
+
@mcp.tool()
|
|
3104
|
+
def OpenTargets_get_drug_description_by_chemblId(
|
|
3105
|
+
chemblId: str
|
|
3106
|
+
) -> dict:
|
|
3107
|
+
return engine.run_one_function({
|
|
3108
|
+
"name": "OpenTargets_get_drug_description_by_chemblId",
|
|
3109
|
+
"arguments": {
|
|
3110
|
+
"chemblId": chemblId
|
|
3111
|
+
}
|
|
3112
|
+
})
|
|
3113
|
+
|
|
3114
|
+
|
|
3115
|
+
@mcp.tool()
|
|
3116
|
+
def OpenTargets_get_drug_synonyms_by_chemblId(
|
|
3117
|
+
chemblId: str
|
|
3118
|
+
) -> dict:
|
|
3119
|
+
return engine.run_one_function({
|
|
3120
|
+
"name": "OpenTargets_get_drug_synonyms_by_chemblId",
|
|
3121
|
+
"arguments": {
|
|
3122
|
+
"chemblId": chemblId
|
|
3123
|
+
}
|
|
3124
|
+
})
|
|
3125
|
+
|
|
3126
|
+
|
|
3127
|
+
@mcp.tool()
|
|
3128
|
+
def OpenTargets_get_drug_trade_names_by_chemblId(
|
|
3129
|
+
chemblId: str
|
|
3130
|
+
) -> dict:
|
|
3131
|
+
return engine.run_one_function({
|
|
3132
|
+
"name": "OpenTargets_get_drug_trade_names_by_chemblId",
|
|
3133
|
+
"arguments": {
|
|
3134
|
+
"chemblId": chemblId
|
|
3135
|
+
}
|
|
3136
|
+
})
|
|
3137
|
+
|
|
3138
|
+
|
|
3139
|
+
@mcp.tool()
|
|
3140
|
+
def OpenTargets_get_drug_approval_status_by_chemblId(
|
|
3141
|
+
chemblId: str
|
|
3142
|
+
) -> dict:
|
|
3143
|
+
return engine.run_one_function({
|
|
3144
|
+
"name": "OpenTargets_get_drug_approval_status_by_chemblId",
|
|
3145
|
+
"arguments": {
|
|
3146
|
+
"chemblId": chemblId
|
|
3147
|
+
}
|
|
3148
|
+
})
|
|
3149
|
+
|
|
3150
|
+
|
|
3151
|
+
@mcp.tool()
|
|
3152
|
+
def OpenTargets_get_chemical_probes_by_target_ensemblID(
|
|
3153
|
+
ensemblId: str
|
|
3154
|
+
) -> dict:
|
|
3155
|
+
return engine.run_one_function({
|
|
3156
|
+
"name": "OpenTargets_get_chemical_probes_by_target_ensemblID",
|
|
3157
|
+
"arguments": {
|
|
3158
|
+
"ensemblId": ensemblId
|
|
3159
|
+
}
|
|
3160
|
+
})
|
|
3161
|
+
|
|
3162
|
+
|
|
3163
|
+
@mcp.tool()
|
|
3164
|
+
def OpenTargets_drug_pharmacogenomics_data(
|
|
3165
|
+
chemblId: str,
|
|
3166
|
+
page: dict
|
|
3167
|
+
) -> dict:
|
|
3168
|
+
return engine.run_one_function({
|
|
3169
|
+
"name": "OpenTargets_drug_pharmacogenomics_data",
|
|
3170
|
+
"arguments": {
|
|
3171
|
+
"chemblId": chemblId,
|
|
3172
|
+
"page": page
|
|
3173
|
+
}
|
|
3174
|
+
})
|
|
3175
|
+
|
|
3176
|
+
|
|
3177
|
+
@mcp.tool()
|
|
3178
|
+
def OpenTargets_get_associated_drugs_by_target_ensemblID(
|
|
3179
|
+
ensemblId: str,
|
|
3180
|
+
size: int,
|
|
3181
|
+
cursor: str
|
|
3182
|
+
) -> dict:
|
|
3183
|
+
return engine.run_one_function({
|
|
3184
|
+
"name": "OpenTargets_get_associated_drugs_by_target_ensemblID",
|
|
3185
|
+
"arguments": {
|
|
3186
|
+
"ensemblId": ensemblId,
|
|
3187
|
+
"size": size,
|
|
3188
|
+
"cursor": cursor
|
|
3189
|
+
}
|
|
3190
|
+
})
|
|
3191
|
+
|
|
3192
|
+
|
|
3193
|
+
@mcp.tool()
|
|
3194
|
+
def OpenTargets_get_associated_diseases_by_drug_chemblId(
|
|
3195
|
+
chemblId: str
|
|
3196
|
+
) -> dict:
|
|
3197
|
+
return engine.run_one_function({
|
|
3198
|
+
"name": "OpenTargets_get_associated_diseases_by_drug_chemblId",
|
|
3199
|
+
"arguments": {
|
|
3200
|
+
"chemblId": chemblId
|
|
3201
|
+
}
|
|
3202
|
+
})
|
|
3203
|
+
|
|
3204
|
+
|
|
3205
|
+
@mcp.tool()
|
|
3206
|
+
def OpenTargets_get_associated_targets_by_drug_chemblId(
|
|
3207
|
+
chemblId: str
|
|
3208
|
+
) -> dict:
|
|
3209
|
+
return engine.run_one_function({
|
|
3210
|
+
"name": "OpenTargets_get_associated_targets_by_drug_chemblId",
|
|
3211
|
+
"arguments": {
|
|
3212
|
+
"chemblId": chemblId
|
|
3213
|
+
}
|
|
3214
|
+
})
|
|
3215
|
+
|
|
3216
|
+
|
|
3217
|
+
@mcp.tool()
|
|
3218
|
+
def OpenTargets_multi_entity_search_by_query_string(
|
|
3219
|
+
queryString: str,
|
|
3220
|
+
entityNames: List[str],
|
|
3221
|
+
page: dict
|
|
3222
|
+
) -> dict:
|
|
3223
|
+
return engine.run_one_function({
|
|
3224
|
+
"name": "OpenTargets_multi_entity_search_by_query_string",
|
|
3225
|
+
"arguments": {
|
|
3226
|
+
"queryString": queryString,
|
|
3227
|
+
"entityNames": entityNames,
|
|
3228
|
+
"page": page
|
|
3229
|
+
}
|
|
3230
|
+
})
|
|
3231
|
+
|
|
3232
|
+
|
|
3233
|
+
@mcp.tool()
|
|
3234
|
+
def OpenTargets_get_gene_ontology_terms_by_goID(
|
|
3235
|
+
goIds: List[str]
|
|
3236
|
+
) -> dict:
|
|
3237
|
+
return engine.run_one_function({
|
|
3238
|
+
"name": "OpenTargets_get_gene_ontology_terms_by_goID",
|
|
3239
|
+
"arguments": {
|
|
3240
|
+
"goIds": goIds
|
|
3241
|
+
}
|
|
3242
|
+
})
|
|
3243
|
+
|
|
3244
|
+
|
|
3245
|
+
@mcp.tool()
|
|
3246
|
+
def OpenTargets_get_target_constraint_info_by_ensemblID(
|
|
3247
|
+
ensemblId: str
|
|
3248
|
+
) -> dict:
|
|
3249
|
+
return engine.run_one_function({
|
|
3250
|
+
"name": "OpenTargets_get_target_constraint_info_by_ensemblID",
|
|
3251
|
+
"arguments": {
|
|
3252
|
+
"ensemblId": ensemblId
|
|
3253
|
+
}
|
|
3254
|
+
})
|
|
3255
|
+
|
|
3256
|
+
|
|
3257
|
+
@mcp.tool()
|
|
3258
|
+
def OpenTargets_get_publications_by_disease_efoId(
|
|
3259
|
+
entityId: str,
|
|
3260
|
+
additionalIds: List[str],
|
|
3261
|
+
startYear: int,
|
|
3262
|
+
startMonth: int,
|
|
3263
|
+
endYear: int,
|
|
3264
|
+
endMonth: int
|
|
3265
|
+
) -> dict:
|
|
3266
|
+
return engine.run_one_function({
|
|
3267
|
+
"name": "OpenTargets_get_publications_by_disease_efoId",
|
|
3268
|
+
"arguments": {
|
|
3269
|
+
"entityId": entityId,
|
|
3270
|
+
"additionalIds": additionalIds,
|
|
3271
|
+
"startYear": startYear,
|
|
3272
|
+
"startMonth": startMonth,
|
|
3273
|
+
"endYear": endYear,
|
|
3274
|
+
"endMonth": endMonth
|
|
3275
|
+
}
|
|
3276
|
+
})
|
|
3277
|
+
|
|
3278
|
+
|
|
3279
|
+
@mcp.tool()
|
|
3280
|
+
def OpenTargets_get_publications_by_target_ensemblID(
|
|
3281
|
+
entityId: str,
|
|
3282
|
+
additionalIds: List[str],
|
|
3283
|
+
startYear: int,
|
|
3284
|
+
startMonth: int,
|
|
3285
|
+
endYear: int,
|
|
3286
|
+
endMonth: int
|
|
3287
|
+
) -> dict:
|
|
3288
|
+
return engine.run_one_function({
|
|
3289
|
+
"name": "OpenTargets_get_publications_by_target_ensemblID",
|
|
3290
|
+
"arguments": {
|
|
3291
|
+
"entityId": entityId,
|
|
3292
|
+
"additionalIds": additionalIds,
|
|
3293
|
+
"startYear": startYear,
|
|
3294
|
+
"startMonth": startMonth,
|
|
3295
|
+
"endYear": endYear,
|
|
3296
|
+
"endMonth": endMonth
|
|
3297
|
+
}
|
|
3298
|
+
})
|
|
3299
|
+
|
|
3300
|
+
|
|
3301
|
+
@mcp.tool()
|
|
3302
|
+
def OpenTargets_get_publications_by_drug_chemblId(
|
|
3303
|
+
entityId: str,
|
|
3304
|
+
additionalIds: List[str],
|
|
3305
|
+
startYear: int,
|
|
3306
|
+
startMonth: int,
|
|
3307
|
+
endYear: int,
|
|
3308
|
+
endMonth: int
|
|
3309
|
+
) -> dict:
|
|
3310
|
+
return engine.run_one_function({
|
|
3311
|
+
"name": "OpenTargets_get_publications_by_drug_chemblId",
|
|
3312
|
+
"arguments": {
|
|
3313
|
+
"entityId": entityId,
|
|
3314
|
+
"additionalIds": additionalIds,
|
|
3315
|
+
"startYear": startYear,
|
|
3316
|
+
"startMonth": startMonth,
|
|
3317
|
+
"endYear": endYear,
|
|
3318
|
+
"endMonth": endMonth
|
|
3319
|
+
}
|
|
3320
|
+
})
|
|
3321
|
+
|
|
3322
|
+
|
|
3323
|
+
@mcp.tool()
|
|
3324
|
+
def OpenTargets_get_target_id_description_by_name(
|
|
3325
|
+
targetName: str
|
|
3326
|
+
) -> dict:
|
|
3327
|
+
return engine.run_one_function({
|
|
3328
|
+
"name": "OpenTargets_get_target_id_description_by_name",
|
|
3329
|
+
"arguments": {
|
|
3330
|
+
"targetName": targetName
|
|
3331
|
+
}
|
|
3332
|
+
})
|
|
3333
|
+
|
|
3334
|
+
|
|
3335
|
+
def run_server():
|
|
3336
|
+
mcp.run(transport='streamable-http', host='127.0.0.1', port=8000)
|
|
3337
|
+
|
|
3338
|
+
def run_claude_desktop():
|
|
3339
|
+
print("Starting ToolUniverse MCP server...")
|
|
3340
|
+
mcp.run(transport='stdio')
|