Skip to main content
Glama

MetExplore

Map a list of gene identifiers onto a network

map_genes

Maps a list of gene identifiers (db_identifier, exact or regular expression) onto a MetExplore network and produces a report: mapped, not found, or ambiguous entries (several matching genes), 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 genes — 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_genes"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesList of gene identifiers to map, matched against the whole db_identifier of the network genes (exact match, or a regular expression such as 'b00.*')
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.3/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 much of it: it discloses the report categories, the statistical method (right-tailed Fisher exact test with Bonferroni and Benjamini-Hochberg correction) and that numeric pathway ids are returned. It does not state the read-only/side-effect profile or any size/perf limits on the identifier list, which is the remaining gap.

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 main capability and the return contents are front-loaded, and the prerequisite sentence is clean. The middle sentence is dense — a long em-dash aside stacking the test name, corrections, and a usage caveat — but every clause carries information.

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?

Since there is no output schema, the description rightly explains the return payload (mapping report plus enrichment table with corrected p-values), which is what an agent needs. Minor gaps: no note on behavior for empty result sets or reasonable limits on the identifier list length.

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 all three parameters are already documented, including the regex matching mode and the id_network type. The description reinforces that matching is against whole db_identifier values and explains the 'ambiguous' outcome, but adds no format or sizing detail beyond the schema, so baseline 3 applies.

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 description names a specific verb and resource ('Maps a list of gene identifiers ... onto a MetExplore network') and enumerates the concrete outputs: mapped, not found, ambiguous entries, plus a pathway enrichment table. This clearly separates it from sibling map_metabolites, which handles a different identifier type.

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 states the prerequisite explicitly ('The target network must first be resolved via search_organisms') and rules out redundant follow-up work ('this already answers which pathways are overrepresented; no other tool or export is needed for that'). Both when-to-use and when-not-to-use are covered.

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.