EBI Search: get entries from chosen domains
ebi_ebisearch_get_matching_entriesRetrieves entries from selected EMBL-EBI databases in parallel, returning best-match records with IDs, domain fields, and citation links for answering queries from source data.
Instructions
Get entries from chosen EMBL-EBI databases ("domains"), in parallel.
Use ebi_ebisearch_get_matching_domains first to see which domains have results,
then choose the domains relevant to the question by what they contain,
not by how many hits they have. Entries are returned best match first,
each with an ID, the domain's own fields and a link for citing. What
each field means is in that domain's field_descriptions. Long text is
shortened; fields_shortened lists which fields, and
ebi_ebisearch_get_entries_by_id returns the full text.
Results are partial: total_hits is how many entries match and
returned how many are included. If the answer is not in the returned
entries, narrow the search, ask for more with next_start, or try
another domain; do not conclude that nothing exists. Domains that
could not be searched are listed in failures with the reason.
When answering from these entries, name the domain and entry IDs used (e.g. UniProt P42212), with their links.
Limits: up to 10 domains; 10 entries per domain by default, at most 50 (and at most 200 in all, shared between the domains); long text cut to 300 characters; answers up to 30,000 characters: when more entries would not fit, the rest are left out and next_start continues from them; start up to 100,000; search text up to 500 characters; at most 30 tool calls a minute from one caller; above that, wait the seconds the error gives.
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": {
"query": "<query>",
"domains": "<domains>"
},
"name": "ebi_ebisearch_get_matching_entries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search text as typed into EBI Search, e.g. 'brca1'. Field searches narrow results, e.g. 'hemoglobin AND TAXONOMY:9606' (human) in pdbe. Field names differ between domains and are case-sensitive; a domain without a field the search names is listed in `failures`. | |
| start | No | Position of the first entry, for getting more entries: use a domain's `next_start`, with only that domain. | |
| domains | Yes | IDs of the domains to search, as listed by ebi_ebisearch_get_matching_domains, e.g. ['uniprot', 'ensembl_gene']. Choose the few most relevant to the question, usually 1-5 (at most 10). | |
| entries_per_domain | No | Entries to return from each domain (default 10, at most 50). Ask for more only when the question needs it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cite | No | How to cite the entries in this answer, with an example. Null when there are no entries. | |
| notes | Yes | Anything adjusted in the request, or else worth knowing. | |
| query | Yes | The search text that was used. | |
| source | No | Where this answer came from, and when. | |
| status | No | 'ok' when everything asked for is answered; 'partial' when part is missing from this answer: domains in `failures`. Read those before answering. | ok |
| results | Yes | One result per domain searched, in the order requested. | |
| failures | Yes | Domains that could not be searched. Other results are still complete. | |
| entries_per_domain | Yes | Maximum number of entries returned per domain. |