Skip to main content
Glama

Lookup UniChem compound xrefs

lookup_unichem_compound_xrefs
Read-onlyIdempotent

Resolve a source compound identifier through UniChem to retrieve its unified compound ID, InChIKey, molecular formula, and cross-references to external chemical databases.

Instructions

Query EMBL-EBI UniChem by source compound identifier to retrieve the unified compound ID (UCI), InChIKey, molecular formula, and external database links.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "lookup_unichem_compound_xrefs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum cross-references to return (default 30, max 150).
source_idNoNumeric UniChem source ID for the input identifier (default 1 for ChEMBL).
compound_idNoSource database compound identifier (default "CHEMBL25").
target_source_idNoOptional numeric source ID to filter output cross-references.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description still adds value by identifying the backing service (EMBL-EBI UniChem) and enumerating the returned fields, which matters because no output schema exists. It says nothing about rate limits, error behavior for unknown identifiers, or behavior when target_source_id matches nothing.

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

Conciseness5/5

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

A single well-formed sentence, front-loaded with the action and source system, followed by the return payload. Every clause carries information; there is no filler or repetition.

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

Completeness4/5

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

For a 4-parameter read-only lookup with no output schema, the description supplies the critical missing piece by naming the returned fields. It is slightly thin on operational context such as discovering valid source IDs or behavior on unmatched identifiers, but nothing required to invoke the tool is absent.

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

Parameters3/5

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

Schema description coverage is 100%, so all four parameters including defaults and the 1-150 limit are already documented. The description only restates the source-identifier concept and adds no detail on source_id semantics or how target_source_id filters output beyond what the schema says. Baseline 3 applies.

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

Purpose4/5

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

States a specific verb and resource ('Query EMBL-EBI UniChem by source compound identifier') and lists exactly what comes back (UCI, InChIKey, formula, external links). The 'by source compound identifier' scope implicitly separates it from lookup_unichem_by_inchikey, but no sibling is named explicitly, so it stops just short of a 5.

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

Usage Guidelines3/5

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

Usage is only implied: the agent can infer this is the lookup path when it holds a source-database compound ID rather than an InChIKey. There is no explicit statement of when to prefer map_chembl_to_drugbank or when to first call list_unichem_sources to discover a source_id, and no exclusions are given.

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