Skip to main content
Glama

fda_substance

Read-only

Substance identity lookup (FDA UNII / GSRS) — Resolves a drug, ingredient or chemical to its FDA UNII identity record from the Global Substance Registration System: preferred name, substance class, molecular formula and weight, stereochemistry, SMILES, official and brand names, synonyms, cross-reference codes (CAS, RxCUI, PubChem, DrugBank, ChEBI, ChEMBL, MeSH, NCI, EPA CompTox, WHO-ATC), active moiety and related salts, metabolites and impurities. Look up by exact name=, unii=, cas= or any listed code=. Price: $0.003 USDC (Base, via x402).

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

Input Schema

NameRequiredDescriptionDefault
nameYesexact substance name, e.g. ibuprofen or acetylsalicylic acid (or use unii=, cas= or code= instead)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds material context beyond them: the full returned field set (cross-reference codes, active moiety, salts, metabolites) and a paid-access trait — $0.003 USDC on Base via x402 — which is critical for an agent to know before calling. No rate limits or failure behavior, but the value added is substantial.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and the x402 price are front-loaded, which is good, but the middle is one very long enumeration of returned fields that reads like a dump rather than prioritized information. Useful, but it could be tightened, and the name=/unii=/cas= syntax sits awkwardly against a schema whose only property is `name`.

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?

With no output schema, the description compensates well by enumerating what comes back (preferred name, class, formula/weight, SMILES, cross-reference codes, metabolites). The one residual gap is the tension between four advertised lookup keys and a single `name` field, which an agent may have to guess how to format.

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 there is a single parameter, so the schema already documents `name`. The description restates the same key=value alternatives (unii=, cas=, code=) that already appear in the schema's own property description, adding little new semantics such as matching strictness or fallback behavior.

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?

Specific verb and resource: 'Resolves a drug, ingredient or chemical to its FDA UNII identity record from the Global Substance Registration System'. The substance-identity scope is clearly distinct from siblings such as fda_ndc, fda_drug_label or fda_drug_approvals, and the enumerated returned fields pin down exactly what 'identity record' means.

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

Usage Guidelines4/5

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

The description gives clear context for when to use it: resolving a drug, ingredient or chemical to its UNII identity, and it names the accepted lookup keys (name=, unii=, cas=, code=). It stops short of explicit exclusions or naming a sibling to use instead when the agent wants labeling, approvals or NDC data.

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