Skip to main content
Glama
ebi-search

ebi-search

Official
by ebi-wp

EBI Search: follow links to other domains

ebi_ebisearch_get_cross_references
Read-onlyIdempotent

Follow links from EMBL-EBI entries to related records in other databases, such as a protein's InterPro domains or AlphaFold model, or list which domains an entry links to first.

Instructions

Follow links from EMBL-EBI entries to related entries in other domains.

Use this for questions about how entries are connected across databases, e.g. a protein's InterPro domains, AlphaFold model or the same protein in other species. Without target_domain, it lists the domains each entry links to, with counts; call again with one of them as target_domain to get the linked entries, each with an ID, the domain's own fields and a link for citing. Long text is shortened; ebi_ebisearch_get_entries_by_id returns the full text.

Links are stored in one direction only, so a domain that is not listed may still have entries linking to these ones. When an entry has no links to target_domain, entries there that mention its ID are returned in mentioned_in instead: likely related, but not confirmed links. Do not conclude that nothing is related. IDs that do not exist are listed in not_found.

When answering from these entries, name the domain and entry IDs used (e.g. UniProt P42212), with their links.

Limits: up to 10 IDs; with target_domain, 10 linked entries per entry by default, at most 50 (and at most 200 in all); answers up to 30,000 characters: when more entries would not fit, the rest are left out and next_start continues from them; 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": {
      "domain": "<domain>",
      "ids": "<ids>"
    },
    "name": "ebi_ebisearch_get_cross_references"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesEntry IDs in that domain, e.g. ['P38398'], at most 10. Prefixed IDs for the domain work too, e.g. 'uniprot:P38398'.
startNoWith target_domain: position of the first linked entry, for getting more: use `next_start`, with only that ID.
domainYesDomain ID the entries are in, e.g. 'uniprot'.
target_domainNoDomain to follow the links into, e.g. 'interpro7_domain'. Leave out to see which domains the entries link to, and how many entries in each.
entries_per_pageNoWith target_domain: linked entries to return per entry (default 10, at most 50).

Output Schema

NameRequiredDescriptionDefault
citeNoHow to cite the entries in this answer, with an example. Null when there are no entries.
notesYesAnything adjusted in the request, or else worth knowing.
domainYesDomain the entries are in.
sourceNoWhere this answer came from, and when.
statusNo'ok' when everything asked for is answered; 'partial' when part is missing from this answer: IDs in `not_found`, entries in `failures`. Read those before answering.ok
resultsYesOne result per entry ID found, in the order requested.
failuresYesEntries whose links could not be fetched. Other results are still complete.
not_foundYesIDs that do not exist in the domain.
target_domainYesDomain the links were followed into, if one was given.
target_releaseNoWhich release of the target domain's data was searched, its date, and the database's home page (for its licence and citation); null when EBI Search gives none.
field_descriptionsYesWhat each field of the returned entries means, as described by EBI Search.
target_domain_nameYesIts readable name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, the description discloses the two-phase response shape, text shortening, the unidirectional-link caveat, the mentioned_in fallback for unconfirmed relations, a not_found list for bad IDs, and the instruction not to conclude nothing is related. It also states concrete rate limits (30 calls/minute) and answer-size truncation with next_start continuation.

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?

The description is front-loaded with purpose and workflow, then caveats, then a compact 'Limits:' block, and nearly every sentence carries operational information. It is on the long side, but the length is justified by the multi-step semantics and rate-limit details rather than padding.

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?

For a 5-parameter open-world lookup with an output schema, the description covers everything an agent needs: the retrieval strategy, edge cases (mentioned_in, not_found), pagination, size ceilings, and rate limits. Return-value structure is correctly left to the output schema.

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 already 100%, so the baseline is 3; the description adds genuine meaning by explaining target_domain's two modes and how start/next_start chains across calls, plus the 10-ID and 50-per-entry caps. It doesn't add syntax detail beyond the schema, keeping it at a 4.

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?

The opening line states a specific verb and resource ('Follow links from EMBL-EBI entries to related entries in other domains') and immediately scopes it to cross-database connectivity questions. It also implicitly separates itself from ebi_ebisearch_get_entries_by_id by noting that tool returns full text.

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?

It gives an explicit two-step workflow: omit target_domain to list linked domains with counts, then call again with one of them as target_domain to fetch entries. It also names the alternative (ebi_ebisearch_get_entries_by_id) for full text, so the agent knows when not to use this tool.

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