Skip to main content
Glama

MetExplore

Map a list of metabolite identifiers onto a network

map_metabolites

Maps a list of metabolite identifiers (db_identifier) onto a MetExplore network and produces a report: mapped, not found, or ambiguous entries (several matching metabolites, each with its full name, formula and cross-references so the user can choose), AND a pathway enrichment table (right-tailed Fisher exact test, with Bonferroni and Benjamini-Hochberg corrected p-values, with the numeric pathway id) for the mapped metabolites — this already answers 'which pathways are overrepresented' questions; no other tool or export is needed for that. The target network must first be resolved via search_organisms.

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>",
      "ids": "<ids>"
    },
    "name": "map_metabolites"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesList of metabolite identifiers to map (matched against the network's db_identifier)
id_networkYesId of the MetExplore network to map onto
output_formatNoFormat of the mapping report: markdown table or text. Default: table.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the three outcome categories, that ambiguous hits are expanded with name/formula/cross-references so the user can choose, and the exact statistical method (right-tailed Fisher, Bonferroni and Benjamini-Hochberg correction). It does not state whether the operation is read-only or how ambiguous entries affect the response, leaving a small gap.

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

Conciseness3/5

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

The core information is front-loaded, but the first sentence is a ~90-word run-on joined by a capitalized 'AND', and the closing clause about no other tool being needed is somewhat redundant with the enrichment description. Content earns its place; the packaging does not.

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 complex tool with no annotations and no output schema, the description does substantial work: it describes the report structure, the statistical output, and the network-resolution prerequisite. Remaining gaps are minor — no statement on read-only behavior or on how ambiguous entries are represented in the response.

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 coverage is 100%, so the schema already documents all three parameters. The description adds only the matching semantics (identifiers matched against the network's db_identifier); it says nothing about output_format choices or id_network provenance beyond the search_organisms pointer.

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 ('Maps a list of metabolite identifiers onto a MetExplore network') and enumerates the produced report: mapped/not-found/ambiguous entries plus a pathway enrichment table. This is clearly distinguishable from sibling search tools and from count_reactions_for_metabolite.

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

Usage Guidelines4/5

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

Explicitly states the prerequisite that the target network must first be resolved via search_organisms, and steers the agent away from redundant work by saying the enrichment table already answers 'which pathways are overrepresented' questions. No explicit when-not-to-use condition beyond that, so not a 5.

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.