Skip to main content
Glama

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

Export screening (DEMIL)

check_export
Read-onlyIdempotent

National Stock Number (NSN) / NATO Stock Number export screening from the DoD DEMIL code and DEMIL Integrity Code: "no flag" only for DEMIL A with DEMILI 1 (the DEMIL review found nothing to flag; destination, party and end-use checks still apply), otherwise "export review required". demilIndicates says what DoD's code indicates (B, P = USML item; Q = CCL item; C, D, F, G = USML or CCL military item; A = EAR item, CCL or EAR99; E = pending jurisdiction). DEMIL codes are DoD disposal codes, not an export classification. A screening aid, not a license determination. 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": {
      "nsns": "<nsns>"
    },
    "name": "check_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
nsnsYesNational Stock Numbers (13 characters, e.g. 5305-00-123-4567, dashes optional) or NIINs (9 characters). The caller's plan sets how many per call (Free 5, Developer 25, Business 100).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover readOnly/idempotent/closed-world, yet the description adds substantial behavior: the exact decision rule ('no flag' only for DEMIL A with DEMILI 1, otherwise 'export review required'), a decoding of demilIndicates letter values, an explicit warning that DEMIL codes are disposal codes and not export classifications, the data source (FLIS via NSN Lookup) with dataAsOf freshness, the links.www field, and a 'no bulk storage or republishing' usage term. That is well beyond what the annotations supply.

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?

The purpose and decision rule are front-loaded in the first sentence, and each subsequent clause (code meanings, disclaimer, data source, terms) carries real information. It is dense and long with several inline code enumerations, but none of it is redundant filler given the absence of an output schema.

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

Completeness5/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 explaining results and does so: it defines the possible screening outcomes, decodes the demilIndicates values, names the dataAsOf and links.www fields, and states the licensing disclaimer. An agent has everything needed to call it and interpret the response.

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% and the single nsns parameter already documents the 13-character NSN / 9-character NIIN formats and per-plan call limits. The description only echoes 'National Stock Number (NSN) / NATO Stock Number' without adding new syntax or batch semantics, so the baseline 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 description opens with a specific verb and resource – 'National Stock Number (NSN) / NATO Stock Number export screening from the DoD DEMIL code and DEMIL Integrity Code' – and immediately states the two possible verdicts ('no flag' vs 'export review required'). This is clearly distinguishable from sibling lookups like lookup_nsn or get_trade_codes because it names the DEMIL-specific screening outcome.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It sets clear boundaries on what the result means: 'A screening aid, not a license determination' and 'destination, party and end-use checks still apply,' which tells the agent when the output is sufficient and when it is not. It does not explicitly point to an alternative sibling for jurisdiction/trade-code questions, but the caveats give strong context for correct use.

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