Skip to main content
Glama
metabolomics-workbench-nih-mcp

metabolomics-workbench-nih-mcp

Get study experimental factors

get_study_metabolite_factors
Read-onlyIdempotent

Retrieve sample-level experimental factors, sample sources, and Metabolomics Workbench sample IDs for a study by entering its Study ID.

Instructions

Retrieve sample-level experimental factors, sample sources, and Metabolomics Workbench sample IDs for a study.

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": {
      "study_id": "<study_id>"
    },
    "name": "get_study_metabolite_factors"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum sample factor rows to return (default 15).
study_idYesMetabolomics Workbench study ID (e.g. "ST000001").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so safety and idempotency are covered. The description adds value by enumerating the returned data categories, but says nothing about the default row cap, truncation behavior, or what happens when a study has no factors — all relevant for a limited-row read.

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 front-loaded sentence with the verb first and the returned content enumerated; no filler, no redundancy with the title.

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 simple two-parameter read with no output schema, the description covers what comes back but not the shape of that return (fields per row) or the truncation semantics implied by limit. Adequate but leaves gaps an agent may need when interpreting results.

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%, with both study_id format and the limit default/maximum documented inline, so the schema does the heavy lifting. The description only adds the notion that results are per-study, which is already evident from the parameter name.

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?

Uses a specific verb (Retrieve) and names the exact resources returned: sample-level experimental factors, sample sources, and Metabolomics Workbench sample IDs. It is distinguishable from get_metabolomics_study_summary by the sample-level factor focus, though it never explicitly contrasts with that sibling.

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?

There is no when-to-use or when-not-to-use guidance and no mention of the sibling get_metabolomics_study_summary, which an agent would plausibly consider first. Usage is only implied by the resource noun phrase.

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