Skip to main content
Glama

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

Add or change lines in my seller inventory

seller_inventory_update
Idempotent

National Stock Number (NSN) / NATO Stock Number seller inventory on NSN Lookup's Seller Center: adds lines or changes quantity, price, NSN, CAGE, unit, description or lead time on the seller's own lines (100 lines at most per call; a line is named by part number and condition). Only the values sent change. With confirmed=false it returns a summary and changes nothing; with confirmed=true it saves the change. confirmed=true should reflect the person's approval of that summary. Every change is saved as a version the seller can restore in Seller Center. Works only for the signed-in seller's own inventory.

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": {
      "lines": "<lines>",
      "confirmed": "<confirmed>"
    },
    "name": "seller_inventory_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
linesYesThe lines. Each has partNumber and condition (NE, NS, OH, SV, AR or RM), and any of quantity, price (a number, POR, EX or Rental), nsn, cage, unitOfMeasure, description, leadTimeDays. A new line needs a quantity. Empty text clears a value.
confirmedYestrue to save the change; false (default use) to preview.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / confirmed / description
      Previous value: -"true only after the person has seen the summary and said to make the change."New value: +"true to save the change; false (default use) to preview."
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the preview/commit protocol, that 'Only the values sent change' (partial update semantics), the 100-line cap, and that every change is versioned and restorable in Seller Center. These are the exact traits an agent needs for a mutation tool and none are inferable from readOnlyHint=false / destructiveHint=false / idempotentHint=true.

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?

Front-loaded with the domain and action, then the cap, then the confirm protocol, then persistence guarantees — a sensible order with no filler. The opening clause stacking (NSN / NATO Stock Number, Seller Center naming) is slightly dense, but every sentence contributes a distinct fact.

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?

No output schema exists, and the description covers the key return behavior (preview yields a summary) plus the side effects (a restorable version per change). It does not address failure handling, such as what happens if only some of the batched lines are invalid — the one meaningful gap for a 100-line batch mutation.

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 still adds meaning by explaining that a line is identified by part number and condition and that unsent values are untouched. The confirmed parameter's guidance ('should reflect the person's approval of that summary') is genuinely semantic guidance rather than a restatement, though several other details duplicate the schema verbatim.

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?

Specific verb+resource: 'adds lines or changes quantity, price, NSN, CAGE, unit, description or lead time on the seller's own lines.' It also states the scope boundary ('Only the signed-in seller's own inventory') and the per-call cap (100 lines), which separates it cleanly from seller_inventory_remove and seller_inventory_search without naming them.

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?

Clear operational guidance for the two-phase flow: confirmed=false returns a summary and changes nothing, confirmed=true saves, and confirmed=true 'should reflect the person's approval of that summary.' What is missing is explicit routing to siblings (e.g. removal or lookup), but the when-to-use context for the confirmed flag is unusually clear.

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