Skip to main content
Glama

The Power Contractor — Genuine OEM Industrial Parts & Iraq/MENA Sourcing

Validate & Normalize Multi-SKU Industrial Bill of Materials (<500ms)

validate_bom_list
Read-onlyIdempotent

Synchronously normalize up to 200 industrial BOM lines across all 21,975 catalog handles & 34,505 variants, repair OCR O/0 and I/1 typos, classify sourcing tiers, flag obsolete parts with replacements, and return destination freight lanes.

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": {
      "items": "<items>"
    },
    "name": "validate_bom_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes
destination_city_or_portNoOptional city or entry port, e.g. Basra, Umm Qasr, Baghdad, Erbil, Dammam, Jebel Ali
destination_country_iso2No2-letter ISO destination country code, e.g. IQ, SA, AE, KW, OM, QA, EGIQ

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / destination_city_or_port
      Added value: +{
      +  "description": "Optional city or entry port, e.g. Basra, Umm Qasr, Baghdad, Erbil, Dammam, Jebel Ali",
      +  "type": "string"
      +}
  2. 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, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely new behavior: it is synchronous, bounded at 200 lines, runs against a stated catalog size, and produces specific side outputs (tier classification, obsolete flags with replacements, freight lanes). It does not say what happens to unmatched MPNs or whether failures are partial, which keeps it from 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence that opens with the synchronous normalize action and then stacks the concrete outputs. Every clause carries information, though the exact catalog counts (21,975 handles, 34,505 variants) are closer to marketing than decision-relevant detail and make the sentence dense.

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 does the work of describing returns by naming tier classification, obsolete flags with replacements, and freight lanes. It stops short of describing the response shape or error/partial-success behavior for a 200-row batch, which is the main residual gap for a tool of this complexity.

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 67%, so the schema carries most parameter meaning; the baseline of 3 applies. The description does add value by tying the destination fields to freight-lane output and by implying the 200-line cap that matches maxItems. It says nothing about how uom, brand, or notes affect normalization (e.g., whether brand disambiguates a collision), which is the semantic gap the schema leaves open.

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?

The description names a specific verb and resource ('normalize up to 200 industrial BOM lines') and enumerates concrete outcomes: OCR typo repair, sourcing-tier classification, obsolete-part flagging with replacements, and destination freight lanes. That is far more than a restatement of the name. It stops short of naming a sibling such as cross_reference_oem_sku, so the batch-versus-single-SKU distinction must be inferred from the 'BOM lines' scope.

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 implied by the batch framing (BOM lines, up to 200, destination lanes), which tells an agent this is the bulk path rather than a single-SKU lookup. However, there is no explicit when-to-use/when-not-to-use statement and no routing to cross_reference_oem_sku for one-off MPNs or to submit_structured_rfq once validation completes. The agent must infer the workflow boundaries.

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