biobtree_search
Search 70+ biological databases.
SYNTAX: biobtree_search(terms="entity")
BEFORE SEARCHING - Use your training knowledge to plan:
What type of entity is this? (disease, process, drug, gene, protein)
What is the query asking for? (drugs, genes, function, etc.)
What equivalent terms might give better results? (e.g., "temperature homeostasis" is a process → related condition is "fever")
Choose best entry point for query type (disease terms for drug queries)
WORKFLOW:
Search WITHOUT dataset filter first (discover where entity exists)
Use IDs from results with biobtree_map
QUERY PATTERNS (choose based on question):
"DRUG FOR DISEASE/CONDITION X":
Prefer disease terms (mesh/mondo/efo) over GO terms for drug queries
If search only returns GO term, search for the related CONDITION instead (e.g., "temperature homeostasis" → search "fever" instead)
Search disease → mondo → clinical_trials → chembl_molecule
OR search drug class directly (e.g., "antipyretic", "NSAID", "antibiotic")
Verify mechanism for top 2-3 drugs only (don't enumerate all proteins!)
"DRUG TARGETS" (use BOTH paths for complete picture):
chembl: >>chembl_molecule>>chembl_target>>uniprot (mechanism-level)
pubchem: >>pubchem>>pubchem_activity>>uniprot (protein-level, often 50+ targets)
Filter approved: >>chembl_molecule[highestDevelopmentPhase==4]
"DISEASE GENES":
Search disease → mondo/hpo → gencc/clinvar/orphanet → hgnc
"PROTEIN FUNCTION":
Search protein → uniprot → go/reactome
"MECHANISM QUERIES" (drug-disease):
Use biobtree_entry to see what's connected (xrefs)
Check EDGES to see where each xref leads
Follow connections relevant to your question
Build chain: Drug → Target → [connections] → Disease
PAGINATION: if pagination.has_next is true there are more hits — call again
with page=<pagination.next_token>. stats.total is the number of hits in THIS
response, not the total number of matches.
IDENTIFIER-SHAPED QUERIES: matched_namespace names the dataset of the best hit.
If peripheral_match is true, only peripheral namespaces (e.g. vega transcripts,
interaction rows) matched and no core gene/protein/disease/drug entity did — do
not retry the same term; filter by dataset if you need the remaining rows.
more_results counts rows omitted by the relevance cap.
TRUNCATION: if truncated is true, data holds returned of total rows (cut at
a whole-element boundary). The continuation token is invalidated because it
refers to the untruncated page; narrow the query instead of paginating.
NOT_FOUND: for identifier-shaped terms (e.g. CTB-180A7.6, RP11-476M19.1) the
response may carry not_found plus a hint when no gene/protein/disease/drug
entry matched. The rows are interaction/annotation records; do not retry the
same term. If you expected a gene, it may be absent from this database version.
RETURNS: id | dataset | name | xref_count
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": {
"terms": "<terms>"
},
"name": "biobtree_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Pagination token | |
| terms | Yes | Comma-separated identifiers to search | |
| dataset | No | Filter to specific dataset (omit for discovery) |