Skip to main content
Glama

RegDataLab – FDA Compliance Data

Search NDC SPL data elements (NSDE)

fda_search_nsde
Read-onlyIdempotent

Find FDA NDC SPL Data Element (NSDE) records. Returns available package and marketing details. A listing does not establish FDA approval. Requires at least one of proprietary_name, application_number or package_ndc; a call with only offset and limit is rejected.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "fda_search_nsde"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results to return (1-500)
offsetNoResult offset for pagination (0-10000)
package_ndcNoPackage NDC (exact match)
proprietary_nameNoBrand/proprietary name (fuzzy match)
application_numberNoApplication number (exact match)

Output Schema

NameRequiredDescriptionDefault
dataYesTool result including records, provenance, freshness and matching limits when available

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / offset / description
      Previous value: -"Result offset for pagination"New value: +"Result offset for pagination (0-10000)"
    • changedInput schema / properties / offset / maximum
      Previous value: -9007199254740991New value: +10000
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "additionalProperties": {},
      +      "description": "Tool result including records, provenance, freshness and matching limits when available",
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "data"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the description's added value is the validation behavior (bare pagination rejected) and the interpretive caveat that 'a listing does not establish FDA approval'. That caveat is meaningful context an agent could not derive from the schema or annotations.

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?

Three short sentences, no redundancy: identity of the resource, what comes back, the approval disclaimer, then the calling constraint. The rejection rule is front-loaded alongside the requirement it belongs to.

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?

An output schema exists, so the brief note about returned package and marketing details is sufficient rather than required. The one remaining gap is that nothing helps an agent disambiguate this from fda_search_ndc, which has a nearly identical name and plausibly overlapping coverage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents each field including match modes (exact vs fuzzy). The description still adds value by imposing a cross-parameter rule the schema does not express — the schema lists zero required parameters, yet the description says at least one of three must be supplied. That resolves a real ambiguity rather than restating field docs.

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?

States a specific verb and resource ('Find FDA NDC SPL Data Element (NSDE) records') and adds what the results contain ('package and marketing details'). It does not, however, distinguish this from the closely named sibling fda_search_ndc, so an agent must infer which of the two to pick.

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?

The description gives a hard precondition ('Requires at least one of proprietary_name, application_number or package_ndc; a call with only offset and limit is rejected'), which is genuinely actionable calling guidance. It stops short of saying when to choose NSDE over fda_search_ndc or the other NDC-related siblings.

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.