Skip to main content
Glama

EBI Search

EBI Search: where are the results?

ebi_ebisearch_get_matching_domains
Read-onlyIdempotent

Find which EMBL-EBI databases ("domains") have results, and how many.

Search even when the text looks misspelt, unusual or meaningless: it may be a name or ID you do not know, and only EBI Search can tell whether it exists.

Use this first, to see where data exists across EMBL-EBI resources (e.g. UniProt, Europe PMC, PDBe, Ensembl) before searching specific domains with ebi_ebisearch_get_matching_entries. It returns hit counts per domain, with each domain's name, description and category, not the entries themselves. Domains that are not listed have no results, except those in unavailable_domains, which EBI Search could not count this time and may have results. Each domain's id is the name to use when searching that domain.

If EBI Search cannot count hits this time, counts_available is false, the counts are null and unavailable_domains lists every domain. That does not mean there are no results, and searching domains may still work: choose the relevant domains by their descriptions and search them with ebi_ebisearch_get_matching_entries.

Limits: search text up to 500 characters; answers up to 30,000 characters: when longer, domain descriptions are shortened (every domain is still listed); 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>"
    },
    "name": "ebi_ebisearch_get_matching_domains"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesSearch text as typed into EBI Search, e.g. 'brca1' or 'insulin AND human'.

Output Schema

NameRequiredDescriptionDefault
notesYesAnything else to know about this answer.
queryYesThe search text that was used.
sourceNoWhere this answer came from, and when.
statusNo'ok' when everything asked for is answered; 'partial' when part is missing from this answer: domains EBI Search could not count, in `unavailable_domains`. Read those before answering.ok
domainsYesEvery domain with results, most hits first. Domains that are not listed here or in unavailable_domains have no results for this query.
total_hitsYesTotal matching entries across the domains that were counted; null when hits could not be counted.
counts_availableYesFalse when EBI Search could not count hits this time. That does not mean there are no results: `unavailable_domains` then lists every domain, to choose from by description and search with ebi_ebisearch_get_matching_entries.
domains_with_hitsYesNumber of domains with results; null when hits could not be counted.
unavailable_domainsYesDomains EBI Search could not count this time. They may have results: search them directly or try again later.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Goes well beyond the readOnly/openWorld/idempotent annotations: it describes the return shape (hit counts per domain with name, description, category, no entries), how to interpret absent domains versus `unavailable_domains`, the `counts_available` false case, and operational limits (500-char query, 30,000-char answer with description shortening, 30 calls/minute with error-driven wait).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the first line, with usage, return semantics and limits following in a logical order. A few sentences restate the same idea (unavailable counts do not mean no results), so it is slightly longer than necessary.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A single-parameter tool with an output schema still gets its return semantics and failure modes explained, which is exactly what an agent needs to decide whether to proceed to a domain search. No material gap remains.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for the single `query` parameter, and the description still adds meaning by telling the agent to submit suspect spellings or unknown IDs anyway, plus a 500-character length limit that the schema does not state. It stops short of syntax detail such as boolean operators, though the schema example covers that.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: find which EMBL-EBI databases (domains) have results, and how many. It explicitly contrasts with ebi_ebisearch_get_matching_entries, so an agent can pick the right tool without inspecting schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says to use this first, before searching specific domains with ebi_ebisearch_get_matching_entries, and explains why (misspelt or unknown-looking text may be a real name/ID). It also tells the agent to search anyway when counts are unavailable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.