clinpgx
Fetch PharmGKB pharmacogenomic summary annotations by gene and optional drug, returning evidence levels, phenotypes, guidelines, diseases, labels, and scores.
Instructions
Fetch ClinPGx (PharmGKB) pharmacogenomic summary annotations.
gene is a gene symbol ("CYP2C19"); drug is optional ("clopidogrel").
Returns the annotation accession, level of evidence, gene, drug,
allele phenotypes, related guidelines/diseases/labels and score.
ClinPGx is public read-only and asks for at most 2 requests/second.
An annotation is not an individualized dosing recommendation; only
upstream fields are returned, missing fields omitted. Failures
return an error dict (error, source).
Args: gene: Gene symbol. drug: Optional drug/chemical name. limit: Annotations to return, 1-50 (default 10).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"gene": "<gene>"
},
"name": "clinpgx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drug | No | ||
| gene | Yes | ||
| limit | No |