Skip to main content
Glama

Molecule Lineage

Resolve package NDC

resolve_ndc
Read-onlyIdempotent

Resolve a US package NDC (hyphenated 10-digit or 11-digit, always a string) to its FDA NDC Directory listing: package name, application number and file-and-row citations. Free trial: no key needed.

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

Input Schema

NameRequiredDescriptionDefault
ndcYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description still adds real context: the accepted input shapes, the exact fields returned, and the auth situation ('no key needed' for the free trial). It does not mention rate limits or behavior on an unknown NDC, which keeps it off a 5.

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?

A single dense sentence with the accepted input format front-loaded and the return payload enumerated after. Every clause carries information; nothing is padding.

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 one-parameter read-only lookup with no output schema, the description covers input format, return fields and auth. Only edge cases (invalid or non-existent NDC handling) are unaddressed, a minor gap for this complexity.

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 0% and the only parameter is a bare string with length bounds, so the description must carry the semantics — and it does, specifying hyphenated 10-digit or 11-digit formats and that the value is always passed as a string. It stops short of showing a concrete example NDC.

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?

Specific verb (Resolve) plus a precisely scoped resource (a US package NDC) and a named result set (FDA NDC Directory listing with package name, application number, file-and-row citations). It is clearly distinct from siblings like find_drug or verify_receipt, though it never explicitly contrasts itself with them.

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: an agent can infer this is the lookup to use when it already has a package NDC string. There is no explicit statement of when to prefer this over find_drug or get_equivalents, and no stated prerequisites beyond the free-trial note.

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.