Skip to main content
Glama

Add or reprice a SKU

sku_set

Add a catalogue line or reprice one: a code, a name, a unit, an optional VAT rate, and price_minor in whole minor units for one currency, tier and valid_from. A repriced line keeps its old rows. Free: 25 SKUs, one tier.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
skuYesThe code, e.g. WEB-AUDIT. Upper case, no spaces. This is what an invoice line is filed under
nameYesWhat it is on the customer's document, e.g. Website audit
noteNo
tierNoPrice tier, e.g. trade or list. Default standard. A second tier is Pro
unitNoWhat one of it is: each, hour, month, 1000 words. Default each. Required the first time
currencyNoISO code this price is in. Defaults to the shared business profile's currency
vat_rateNoVAT percent for this product, overriding the shared profile's default on a resolved line
valid_fromNoThe first day this price applies, YYYY-MM-DD. Default today
price_minorYesThe price of ONE, in whole minor units. 45000 is EUR 450.00. Never a decimal
duplicate_okNoAdd it even though another code already carries the same product at the same price. Default false

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations carry only false hints and no real behavioral signal, so the description must carry the burden. It does disclose the key non-obvious behavior that 'a repriced line keeps its old rows' and states the 25-SKU free limit. It does not mention auth or response shape, but neither is essential for invoking a write operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Three sentences with no filler: the first states purpose and key fields, the second adds the crucial versioning side effect, and the third gives the quota. Everything earns its place and the most important information is front-loaded.

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?

For a 10-parameter tool with no output schema and weak annotations, the description covers the purpose, pricing dimensions, history behavior, and a usage limit. The schema documents the remaining parameter details. A small gap is the lack of any note about return values, but that is not required given the schema already documents fields.

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 90%, but the description adds the compound-key nuance that price_minor is set 'for one currency, tier and valid_from'. This is real meaning beyond individual schema field descriptions, clarifying how the SKU's price matrix is structured.

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 action and resource: 'Add a catalogue line or reprice one'. It also names the core inputs, making it unambiguous that this tool creates or updates SKU pricing, distinct from siblings like sku_get, sku_list, or sku_delete.

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?

The description implies the tool is for adding or repricing catalogue lines, and the free-tier note gives a constraint, but it never explicitly says when to prefer sku_set over a sibling or when not to use it. The 'keeps its old rows' fact is behavioral, not an exclusion or alternative.

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.