Skip to main content
Glama

NIH NCATS GSRS Pharmaceutical Substances MCP

Get GSRS substance relationships

get_gsrs_substance_relationships
Read-onlyIdempotent

Retrieve active moiety, impurity, metabolite, salt form, and pharmacologic relationships for a GSRS UNII.

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

Input Schema

NameRequiredDescriptionDefault
uniiYesFDA/NCATS Unique Ingredient Identifier (for example "R16CO5Y76E").
limitNoMaximum relationships to return (default 25, max 100).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/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 and repeatability are covered. The description adds the taxonomy of relationship types returned, which is modestly useful behaviorally, but says nothing about pagination behavior, what happens with an unknown or valid-but-sparse UNII, or whether an empty result set is possible for a substance with no relationships.

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?

A single tightly packed sentence with zero filler and the key scope information front-loaded. It is efficient, though the dense comma-separated list of relationship types makes it slightly harder to scan than a two-sentence structure would.

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?

For a small two-parameter read-only lookup with no output schema, the description covers what the tool returns (relationship types) and what identifier it consumes. The remaining gaps — result ordering, empty-result handling, and whether relationship records cross-reference other UNIIs — are minor for this level of complexity and are partly absorbed by the strong annotations and fully documented schema.

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%: the unii parameter documents the identifier format with an example, and limit documents default 25 and max 100. The description adds no semantics beyond the schema — it doesn't explain ordering, truncation behavior, or how to page past the limit — so the baseline of 3 applies.

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?

The definition pairs a specific verb ("Retrieve") with a precise resource (substance relationships for a GSRS UNII) and enumerates the relationship categories returned: active moiety, impurity, metabolite, salt form, and pharmacologic. That enumeration clearly separates it from sibling lookups such as get_gsrs_substance_codes and get_gsrs_substance_names, so an agent can choose without opening a schema.

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 agent can infer it should call this when it needs relationship data for a known UNII. There is no explicit when-to-use framing, no statement about prerequisites (e.g., that a UNII must be resolved first via search_gsrs_substances), and no mention of when a sibling lookup would be the better choice.

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.