Skip to main content
Glama

NSN Lookup: National Stock Number (NSN) / NATO Stock Number data

Look up an NSN

lookup_nsn
Read-onlyIdempotent

National Stock Number (NSN) / NATO Stock Number look-up: the U.S. federal catalog (FLIS) record for one NSN: item name, FSC, codes (DEMIL, criticality, HMIC and more; HMIC is a US FLIS catalog flag for whether DoD HMIRS holds hazard data, not a UN number or DOT hazard class, see hmicMeaning and hccMeaning; the FLIS record holds no UN numbers or safety data sheets; the makers' safety data sheets, when available, come from get_safety_documents) and, on request, manufacturer part numbers with CAGE codes, management and pricing data, characteristics, freight and packaging. Data: FLIS as loaded by NSN Lookup; see dataAsOf for freshness. Each item includes links.www, its page on www.nsnlookup.com. Terms: no bulk storage or republishing.

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": {
      "nsn": "<nsn>",
      "include": "<include>"
    },
    "name": "lookup_nsn"
  }
}

Input Schema

NameRequiredDescriptionDefault
nsnYesThe NSN: 13 characters with or without dashes (5305-00-123-4567), or a 9-character NIIN.
includeYesComma-separated sections to add: references, management, moeRules, standardization, cancellations, freight, characteristics, packaging, or all. Default: references.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and closed-world, but the description adds real context beyond them: the upstream source (FLIS as loaded by NSN Lookup), freshness via dataAsOf, the licensing constraint ('no bulk storage or republishing'), the inclusion of links.www, and an explicit negative scope (no UN numbers, no safety data sheets in FLIS). The HMIC clarification is useful but borders on return-field documentation.

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?

The core purpose is front-loaded, but the body is one long run-on sentence with a deep parenthetical about HMIC/hccMeaning that interrupts the enumeration of returned data. The HMIC tangent and the repeated catalog/field explanations could be trimmed or moved to field documentation.

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 carries the burden of describing returns and does so thoroughly, including data source, freshness field, and item links. Gaps remain around behavior for an unknown/invalid NSN, response size, and how the include sections combine, but an agent has enough to invoke it correctly.

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 baseline is 3; the description earns an extra point by explaining what the include sections actually yield (manufacturer part numbers with CAGE codes, management/pricing, characteristics, freight and packaging) and by clarifying what HMIC means and does not mean. It does not, however, state the default behavior of include or the cost of 'all'.

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?

Opens with a specific verb and resource ('National Stock Number (NSN) / NATO Stock Number look-up') and scopes it to 'one NSN', which implicitly separates it from search_nsn and find_nsn_by_part_number. It then enumerates the record contents (item name, FSC, DEMIL/criticality/HMIC codes, part numbers with CAGE, pricing, freight, packaging). It stops short of naming the sibling tools an agent should use instead, so a 4 rather than a 5.

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: 'on request' signals that the include parameter expands the response, and get_safety_documents is named as the route for SDS data. There is no explicit when-to-use/when-not guidance or statement that this tool requires a known NSN and that search_nsn should be used to find one.

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