Skip to main content
Glama

NIH Metabolomics Workbench Studies & Compounds MCP

Lookup metabolite by PubChem CID

lookup_metabolite_by_pubchem_cid
Read-onlyIdempotent

Retrieve chemical formula, exact mass, InChIKey, SMILES, HMDB, KEGG, and ChEBI mappings for a PubChem compound ID.

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": {
      "pubchem_cid": "<pubchem_cid>"
    },
    "name": "lookup_metabolite_by_pubchem_cid"
  }
}

Input Schema

NameRequiredDescriptionDefault
pubchem_cidYesNumeric PubChem CID (e.g. "2244" for Aspirin, "5793" for Glucose).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so safety is covered structurally. The description adds useful context about what data is returned (cross-database mappings), but says nothing about behavior for an unknown or invalid CID, partial mappings, or external-lookup latency.

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 a clear verb, resource, and field list; no filler, no redundancy, and the returned data is named up front.

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?

Because there is no output schema, the description usefully enumerates the returned fields, which is the key informational need for a lookup tool. It falls slightly short on what happens when a CID has no HMDB/KEGG/ChEBI mapping, but for a one-parameter read this is close to complete.

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 parameter itself is documented with worked examples ("2244" for Aspirin, "5793" for Glucose); the description only restates "PubChem compound ID". Baseline 3 is appropriate since the schema carries the semantic load.

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?

Names a specific verb ("Retrieve") and resource (chemical properties of a PubChem compound) and enumerates exactly which fields come back (formula, exact mass, InChIKey, SMILES, HMDB/KEGG/ChEBI mappings). It doesn't distinguish itself from lookup_compound_exact_mass, which also returns exact mass, so an agent may hesitate between the two for a mass-only query.

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

Usage Guidelines3/5

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

Usage is only implied: the description makes clear the tool applies when you have a PubChem CID, but it offers no explicit when-to-use/when-not guidance and doesn't mention when a narrower alternative (e.g., lookup_compound_exact_mass) would be preferable.

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.