Skip to main content
Glama
openfda-substance-registry-mcp

openfda-substance-registry-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_substancesA

Search OpenFDA Global Substance Registration System (GSRS) chemical and biologic substances by name, UNII, external code, or substance class.

get_substance_by_uniiA

Fetch full FDA GSRS substance record including preferred names, synonyms, chemical structure, and external regulatory codes by 10-character UNII.

get_substance_statsB

Aggregate FDA GSRS substance counts grouped by substance class, external code system, name type, or definition type.

search_substances_by_codeB

Look up FDA GSRS substance records by external identifier such as CAS Registry Number, EINECS, RxNorm, or PubChem.

search_substances_by_formulaA

Search FDA GSRS chemical substances matching an exact molecular formula (e.g. "C9H8O4", "C8H9NO2").

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 5 tools

Disambiguation4/5

Most tools have distinct roles: direct fetch by UNII, general text search, stats aggregation, formula search, and code-based lookup. The only real overlap is that search_substances already claims to accept external codes and UNIIs, making search_substances_by_code partially redundant. Formula search is clearly separable and the boundaries are well described.

Naming Consistency4/5

Names follow a predictable verb_noun pattern (get_substance_by_unii, search_substances, get_substance_stats, search_substances_by_code, search_substances_by_formula). The 'get_*' vs 'search_*' distinction maps cleanly to fetch vs query semantics. Minor inconsistency: get_substance_stats doesn't take a 'by_X' suffix like the other narrowed tools.

Tool Count5/5

Five tools is well-scoped for a focused substance registry lookup server. Each tool earns its place: a primary fetch, a general search, two specialized searches (formula, code), and an aggregation endpoint. No filler tools.

Completeness4/5

The surface covers the core lifecycle for a read-only registry: fetch by ID, search by name/code/formula, and aggregate stats. Gaps are minor — no browse/list-all or bulk retrieval and no weight/structure-based searching, but these are edge cases an agent can work around via search_substances and search_substances_by_formula.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues