Skip to main content
Glama

Final POS – Custom POS Builder

Link, re-price or unlink supplier items

hub_link_supplier_items
Destructive

Change what a supplier carries and what it charges, in one call: add new items, update the cost or part number of items already linked, remove items it no longer sells. variantId comes from get_linkable_items for add and from get_supplier_items for update / remove. unitCost is what the merchant PAYS per unit, as a human amount like "12.50" in the company currency — never the selling price, and never cents. It is only the DEFAULT that prefills new order lines: changing it does not re-price purchase orders already placed. Adding an item that is already linked is refused, so read the current list first rather than re-adding blindly. REMOVING is the destructive half — confirm it with the merchant, and tell them it also EDITS ORDERS THAT ARE ALREADY WRITTEN: the item’s line is dropped from every suggested and draft order from this supplier, which changes their totals. Orders already sent keep their lines, the item stays in the catalogue, but it can no longer be added to a new order from this supplier, and any auto-reorder rule pointing at this supplier for it stops producing suggestions.

Input Schema

NameRequiredDescriptionDefault
addNoItems to start buying from this supplier
removeNoItem ids from get_supplier_items to stop buying from this supplier
updateNoAlready-linked items to re-price or re-code
supplierIdYesSupplier id from get_suppliers — not a name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare destructiveHint=true; the description adds far more: unitCost is a default that never re-prices placed purchase orders, and removal also drops the line from every suggested and draft order (changing totals) while leaving sent orders intact. It even states the side effects on auto-reorder rules and catalogue membership, which no annotation conveys.

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 three operations are front-loaded in the first clause and every sentence carries needed information, but the passage is long and the removal warning is a dense, clause-heavy run-on. It is appropriately sized for a three-mode destructive tool, though slightly more structure would help.

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?

For a destructive multi-mode mutation with no output schema, the description covers prerequisites, parameter sourcing, semantic traps, idempotency behavior on re-adding, and downstream order/reorder consequences. Nothing an agent needs to invoke it safely is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so baseline is 3, but the description adds genuine disambiguation the schema lacks: unitCost is what the merchant PAYS per unit, is a human-format amount in company currency, and is 'never the selling price, and never cents'. That resolves the most likely mis-invocation (passing cents or retail price).

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 names a specific verb set (add/update/remove) against a specific resource (supplier items) and states the scope as 'what a supplier carries and what it charges, in one call'. Each of the three mutation modes is distinguished by what it does, so an agent can pick the right array without opening the schema.

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

Usage Guidelines5/5

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

It explicitly routes parameter sourcing: variantId comes from get_linkable_items for `add` and get_supplier_items for `update`/`remove`. It also gives an operational precondition ('read the current list first rather than re-adding blindly') and a usage warning to confirm removals with the merchant, which is exactly when-to-use/when-to-be-careful guidance.

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.