Skip to main content
Glama

Metabolite heatmap / 代谢组热图

metabolite_heatmap
Read-only

Metabolite heatmap / 代谢组热图 | USE WHEN: clustered heatmap of metabolites | ALIASES: 代谢热图, 聚类热图, heatmap, metabolite heatmap | RETURNS: 聚类热图

Input Schema

NameRequiredDescriptionDefault
data_jsonYes必填。数据对象(不是字符串)。矩阵形式:{"matrix": [[行1各列数值...], [行2...]], "rows": ["基因/特征名"], "cols": ["样本名"]};组学结果另可带 {"groups": ["组A","组A","组B"...]}(与 cols 一一对应)、{"p_values": [...], "log2fc": [...]}(若已有差异结果)。实测缺此字段会被拒:Field required: data_json

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds nothing beyond that: 'RETURNS: 聚类热图' merely repeats the tool name, and it never says whether the result is an image, an HTML widget, or a JSON payload with cluster ordering, nor whether clustering method/distance is configurable or fixed. With annotations doing the heavy lifting, this is close to zero incremental behavioral value.

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 pipe-delimited tag format is compact and front-loaded, and an agent can parse the USE WHEN and ALIASES segments quickly. There is mild redundancy: the title is repeated in the first token and 'RETURNS: 聚类热图' duplicates the tool name, and the mixed English/Chinese duplication inflates length without adding meaning.

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

Completeness3/5

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

For a single-parameter tool with a fully documented schema and no output schema, the essentials for invocation are present. What is missing is the return contract — image versus data, and how cluster labels are surfaced — which an agent needs to decide whether to call this tool or a downstream plotting step, and no output schema exists to compensate.

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% and the data_json property description is unusually rich, spelling out the matrix/rows/cols shape, optional groups, p_values and log2fc arrays, and the exact validation error. The description mentions no parameters at all, so it contributes nothing beyond the schema; the baseline 3 applies because the schema itself does the work.

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

Purpose3/5

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

The description names the resource ('metabolite' / '聚类热图') and adds the qualifier 'clustered', which is more informative than the bare title. However, there is no verb ('generates', 'renders', 'plots') and no hint at what the output artifact is, so the agent must infer that this produces a clustered heatmap figure rather than, say, clustering assignments. Siblings such as metabolite_pca, metabolite_plsda and metabolite_volcano are not referenced at all.

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

Usage Guidelines2/5

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

'USE WHEN: clustered heatmap of metabolites' restates the tool's own function instead of describing a scenario, so it gives no real selection signal. There are no exclusions and no routing to sibling metabolite tools (e.g. PCA for dimensionality reduction, volcano for differential results), which is a notable gap given the dense metabolite_* family.

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.

Resources