Skip to main content
Glama

SKU Normalize and Duplicate Check

sku_normalize
Read-onlyIdempotent

Normalize a batch of SKUs and find the ones that collide. Send skus (up to 200) and choose: case (upper, lower or keep), separators (hyphen: every run of space . _ / - becomes one hyphen; remove: they are dropped; keep: left as typed) and strip_leading_zeros (true or false). Get back each SKU's normalized form, and the collision groups: SKUs that become the same code, split into exact duplicates (typed identically) and different spellings of one code (AB-001, ab 001, AB001 under the remove option). Use it to clean a product feed or merge two catalogs before import. Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO's key (check it at https://llpro.ai/sku-normalize). Not legal, tax or financial advice.

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": {
      "skus": "<skus>"
    },
    "name": "sku_normalize"
  }
}

Input Schema

NameRequiredDescriptionDefault
caseNoupper (default), lower, or keep.upper
skusYesThe SKUs to normalize, up to 200, in the order you want positions reported.
separatorsNohyphen (default): each run of space . _ / - becomes one hyphen and leading or trailing ones go; remove: all dropped; keep: as typed.hyphen
strip_leading_zerosNotrue: in each part between separators, zeros at the start of a leading run of digits are dropped, keeping one digit (007A becomes 7A, 000 becomes 0). Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, closed-world and non-destructive, and the description layers on genuinely new behavior: no model, no network, nothing stored, answers signed with LLPRO's key, plus explicit error modes (bad input, too large, hourly limit). That rate-limit and privacy disclosure is exactly the context annotations cannot convey.

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 intent is front-loaded, but the prose is dense and run-on, and the tail (answer-field list, signature boilerplate, 'not legal, tax or financial advice') is largely unrelated to SKU normalization and dilutes the useful content.

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 compensates by naming the answer fields and error shape, and all four parameters are explained; it stops short of defining what each answer field means, leaving mild ambiguity about 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 coverage is 100%, so the baseline is 3; the description re-explains case, separators and strip_leading_zeros in prose and adds an illustrative collision example, but adds little semantics the schema does not already carry.

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 opening sentence gives a specific verb and resource - normalize SKUs and find collisions - and the description makes clear this is a batch canonicalization-plus-dedup operation, distinct from sibling validators like gtin_check_digit or csv_check.

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 states the concrete scenario for use: 'clean a product feed or merge two catalogs before import.' That gives clear context, but there is no explicit when-not guidance or named alternative for single-SKU or validation-only needs.

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