{"serverId":"mcp-registry/ai.bitroad/bitroad","tools":[{"name":"seller_create_listing","fixed":{"name":"seller_create_listing","description":"Create a product listing. Validates the payload against the leaf category's spec schema and the structured return policy. Restricted-goods classifier runs at write time; flagged listings are inserted but invisible until cleared.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["title","description","category_slug","price_pence","shipping_pence","vat_rate_bp","stock","images","certifications","specs"],"properties":{"slug":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]*$","maxLength":200,"description":"URL slug base (lowercase letters, digits, hyphens); a random suffix is appended. Omit to derive from title."},"specs":{"type":"object","default":{},"description":"Category-specific spec values; must match the category's spec schema.","propertyNames":{"type":"string"},"additionalProperties":{}},"stock":{"type":"integer","default":0,"maximum":9007199254740991,"minimum":0,"description":"Initial units in stock. Defaults to 0."},"title":{"type":"string","maxLength":300,"minLength":1,"description":"Product title shown to buyers (1-300 chars)."},"images":{"type":"array","items":{"type":"string","format":"uri","maxLength":2000},"default":[],"maxItems":12,"description":"Image URLs (https, max 12); the first entry becomes the primary image."},"width_mm":{"type":"integer","maximum":9007199254740991,"minimum":0,"description":"Package width in millimetres."},"height_mm":{"type":"integer","maximum":9007199254740991,"minimum":0,"description":"Package height in millimetres."},"length_mm":{"type":"integer","maximum":9007199254740991,"minimum":0,"description":"Package length in millimetres."},"description":{"type":"string","maxLength":20000,"description":"Full product description (max 20000 chars)."},"price_pence":{"anyOf":[{},{"type":"integer","maximum":9007199254740991,"minimum":0}],"description":"Item price in pence (integer minor units of the seller's currency)."},"vat_rate_bp":{"type":"integer","default":0,"maximum":2500,"minimum":0,"description":"VAT rate in basis points, 0-2500 (2000 = 20%). Defaults to 0."},"weight_grams":{"type":"integer","maximum":9007199254740991,"minimum":0,"description":"Item weight in grams."},"category_slug":{"type":"string","minLength":1,"description":"Slug of a leaf catalog category to list under."},"return_policy":{"description":"Return-policy object; omit to use the seller-country default. Validated against platform floors.","type":"string"},"certifications":{"type":"array","items":{"type":"string"},"default":[],"description":"Certification labels the product holds (free-form strings)."},"shipping_pence":{"anyOf":[{},{"type":"integer","maximum":9007199254740991,"minimum":0}],"default":0,"description":"Shipping charge in pence (integer minor units). Defaults to 0."},"country_of_origin":{"type":"string","maxLength":2,"minLength":2,"description":"ISO 3166-1 alpha-2 country of origin (e.g. GB)."}},"additionalProperties":false},"annotations":{"title":"Seller create listing","readOnlyHint":false,"openWorldHint":false,"idempotentHint":false,"destructiveHint":false},"title":"Seller create listing"},"changes":[{"kind":"schema","detail":"Added \"type\":\"string\" to untyped parameters: return_policy. Change to number/boolean/array where that's what you accept.","verify":true}],"tokensBefore":826,"tokensAfter":830},{"name":"seller_update_listing","fixed":{"name":"seller_update_listing","description":"Patch an existing listing the calling seller owns. Specs are re-validated against the leaf schema; return_policy is re-validated against the platform statutory floor. Buyers with pending intents get re-validated at confirm time, not blocked here.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["product_id"],"properties":{"specs":{"type":"object","description":"Replacement spec values; must match the listing's category spec schema.","propertyNames":{"type":"string"},"additionalProperties":{}},"title":{"type":"string","maxLength":300,"minLength":1,"description":"New product title (1-300 chars)."},"images":{"type":"array","items":{"type":"string","format":"uri","maxLength":2000},"maxItems":12,"description":"Replacement image URL array (https, max 12); the first entry becomes the primary image."},"width_mm":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":0},{"type":"null"}],"description":"New package width in millimetres; null clears it."},"height_mm":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":0},{"type":"null"}],"description":"New package height in millimetres; null clears it."},"length_mm":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":0},{"type":"null"}],"description":"New package length in millimetres; null clears it."},"product_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$","description":"UUID of the listing to update. Omitted fields are left unchanged."},"description":{"type":"string","maxLength":20000,"description":"New product description (max 20000 chars)."},"price_pence":{"anyOf":[{},{"type":"integer","maximum":9007199254740991,"minimum":0}],"description":"New item price in pence (integer minor units)."},"vat_rate_bp":{"type":"integer","maximum":2500,"minimum":0,"description":"New VAT rate in basis points, 0-2500 (2000 = 20%)."},"weight_grams":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":0},{"type":"null"}],"description":"New item weight in grams; null clears it."},"return_policy":{"description":"Replacement return-policy object; validated against platform floors.","type":"string"},"certifications":{"type":"array","items":{"type":"string"},"description":"Replacement list of certification labels."},"shipping_pence":{"anyOf":[{},{"type":"integer","maximum":9007199254740991,"minimum":0}],"description":"New shipping charge in pence (integer minor units)."},"country_of_origin":{"anyOf":[{"type":"string","maxLength":2,"minLength":2},{"type":"null"}],"description":"New ISO 3166-1 alpha-2 country of origin; null clears it."}},"additionalProperties":false},"annotations":{"title":"Seller update listing","readOnlyHint":false,"openWorldHint":false,"idempotentHint":false,"destructiveHint":false},"title":"Seller update listing"},"changes":[{"kind":"schema","detail":"Added \"type\":\"string\" to untyped parameters: return_policy. Change to number/boolean/array where that's what you accept.","verify":true}],"tokensBefore":776,"tokensAfter":780}],"toolsChanged":2,"tokensSaved":0,"todo":[],"note":"Deterministic fixes. Changes marked verify need a human look before shipping (renames, inferred annotations, inferred types, removed text). Parameter descriptions in `todo` need to be written by someone who knows the API."}