Skip to main content
Glama
openfda-nsde-drug-packages-mcp

openfda-nsde-drug-packages-mcp

Search FDA NSDE drug packages

search_nsde_packages
Read-onlyIdempotent

Search FDA National Drug Code SPL data elements by proprietary name, dosage form, application number, product type, or active status to locate matching drug packages.

Instructions

Search OpenFDA National Drug Code SPL Data Elements (NSDE) by proprietary name, dosage form, application number, product type, or active status.

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

Input Schema

NameRequiredDescriptionDefault
fieldNoTarget field: "any" (default), "proprietary_name", "dosage_form", or "application_number_or_citation".
limitNoMax packages to return (default 5).
queryYesProprietary drug name, dosage form, or application number (e.g. "Ozempic", "TABLET", "NDA020963").
active_onlyNoWhen true, return only packages without a marketing_end_date.
product_typeNoOptional FDA product type filter (e.g. "HUMAN PRESCRIPTION DRUG", "HUMAN OTC DRUG").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety and idempotency profile is fully covered without prose. The description adds no behavioral context beyond that—nothing about result caps (the 25-item maximum lives only in the schema), pagination, or what an empty result means—so it meets but does not exceed the lower bar set by the annotations.

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 front-loaded sentence with the verb and resource stated immediately and no filler. It is efficient, though it spends its limited space restating searchable fields rather than adding routing or behavioral value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only, idempotent search with full schema coverage and no output schema, the definition is adequate to call the tool correctly. It is nonetheless thin on how it relates to the four sibling search/get tools and on what the results contain, which an agent selecting among near-identical search endpoints would want.

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%, with all five parameters, including the enum for field and the max-25 limit, documented directly in the schema. The description merely echoes the searchable fields already enumerated there, adding no syntax, format, or combination guidance beyond the schema.

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 ("Search") and resource ("OpenFDA National Drug Code SPL Data Elements") plus the searchable fields, which is far more informative than the title alone. However, it does not distinguish itself from the sibling search_nsde_by_application, even though the description explicitly includes application-number searching, leaving overlap ambiguous.

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 list of searchable fields implies the situations in which the tool applies, but there is no explicit when-to-use guidance, no mention of when a sibling such as search_nsde_by_application or get_nsde_by_package_ndc would be preferable, and no stated exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.