Skip to main content
Glama

MetExplore

Match ChEBI identifiers to network metabolites using the ChEBI ontology

match_chebi

Matches one or several ChEBI identifiers to the metabolites of a MetExplore network using the ChEBI ontology: besides exact matches, it finds related metabolites (more generic or more specific ChEBI classes, conjugate acid/base, tautomers, enantiomers), each with its relation and distance in the ontology. Use it when the user asks for metabolites related/close to a ChEBI, when search_metabolites_by_external_id finds no exact match for a ChEBI, or to match a list of ChEBI identifiers (e.g. from metabolomics) onto a network. Requires an id_network (see search_organisms); the network must contain ChEBI cross-references.

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": {
      "id_network": "<id_network>",
      "chebi_ids": "<chebi_ids>"
    },
    "name": "match_chebi"
  }
}

Input Schema

NameRequiredDescriptionDefault
chebi_idsYesChEBI identifiers to match, e.g. ['CHEBI:17234', 'CHEBI:15377'] (the 'CHEBI:' prefix is optional)
id_networkYesId of the MetExplore network (obtained via search_organisms)
output_formatNoFormat of the result: markdown table or text. Default: table.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full load, and it does disclose key preconditions: an id_network is required, obtainable via search_organisms, and the network must contain ChEBI cross-references. It also describes the shape of the answer (each hit carries a relation type and ontology distance). It stops short of covering failure behavior when the network lacks cross-references or result limits, which keeps it below 5.

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?

Front-loaded with the core verb and the expanded matching semantics, followed by a compact usage sentence. The parenthetical relation list is dense but genuinely informative; the only cost is that the first sentence runs long, which is minor.

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?

No output schema exists, so the description must convey return values and it does: matched metabolites annotated with their relation type and distance in the ontology. Combined with the network prerequisite and ontology background, an agent has everything needed to invoke this correctly.

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%, so the baseline is 3; the description earns above that by explaining that chebi_ids accepts a list (metabolomics-scale input) and that id_network must come from search_organisms and must actually carry ChEBI cross-references — a substantive constraint the schema does not express. output_format is left to the schema and enum, which is acceptable.

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 ('matches ChEBI identifiers to the metabolites of a MetExplore network') and immediately enumerates what matching means beyond exact identity: broader/narrower classes, conjugate acid/base, tautomers, enantiomers with relation and distance. This is clearly distinct from search_metabolites_by_external_id, which the description names directly.

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?

Gives three explicit trigger conditions ('when the user asks for metabolites related/close to a ChEBI', 'when search_metabolites_by_external_id finds no exact match', 'to match a list of ChEBI identifiers from metabolomics') and names the fallback sibling. Usage is not left to inference.

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.