{"name":"com.obriym-crm/mcp","slug":"obriym-crm-mcp","title":"Obriym CRM","description":"Operate Obriym CRM from your AI assistant: leads, deals, orders, catalog, stock, marketplaces.","url":"https://mcp.market/server/obriym-crm-mcp","rating":null,"grade":"C","score":60,"certified":false,"status":"active","category":"ecommerce","tags":["ecommerce","sales","finance"],"presence":{"score":8,"stars":null,"forks":null,"downloads_week":null,"last_push_at":null,"license":null},"claimed":false,"transport":"remote","callable_via_gateway":true,"default_price_micros":0,"repository":null,"website":"https://obriym-crm.com/integrations/mcp","version":"1.8.2","remotes":[{"type":"streamable-http","url":"https://obriym-crm.com/api/mcp"}],"packages":[],"tools":[{"name":"add_order_item","description":"Add a line item to an existing order by its externalId. Recomputes the order total. Use list_orders or create_order for the order externalId, and search_products to quote a real product. The result echoes the operating workspace.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"discount":{"default":0,"description":"Percentage discount on this line (0-100). Default 0.","type":"number","minimum":0,"maximum":100},"productName":{"type":"string","minLength":1,"maxLength":255,"description":"Line item name, snapshotted onto the order. Use search_products to quote a real catalog product's name. Required."},"quantity":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Quantity ordered (integer, at least 1)."},"sku":{"description":"Product SKU snapshot (from search_products). Optional.","type":"string","maxLength":120},"unitPrice":{"anyOf":[{"type":"string","pattern":"^\\d+(\\.\\d{1,2})?$"},{"type":"number","minimum":0}],"description":"Price per unit in the order currency, as a decimal (e.g. 199.99). Snapshotted onto the line."},"externalId":{"type":"string","minLength":1,"description":"The order externalId returned by list_orders or create_order."}},"required":["productName","quantity","unitPrice","externalId"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"adjust_stock","description":"Move a product stock by a relative delta (negative to write off, positive to add) with a reason, and record it in the stock history. This is the correct tool for a correction, a write-off or damage — it never sets an absolute number, so an order committing at the same moment is not overwritten. The reason decides the direction: write_off, damage and return_to_supplier must carry a negative delta, opening_balance a positive one, while correction and other accept either; a delta that contradicts its reason is rejected. Any other word is your own vocabulary and is accepted in either direction. The product must already track inventory; a product that does not returns a conflict rather than having tracking switched on for it. Pass a stable externalId to make a retry idempotent. The new stock is pushed to every connected sales channel. The result echoes the operating workspace.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"delta":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"externalId":{"type":"string","minLength":1,"maxLength":160},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"note":{"type":"string","minLength":1,"maxLength":1000},"productId":{"type":"string","minLength":1},"reason":{"type":"string","minLength":1,"maxLength":120}},"required":["delta","productId","reason"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"assign_lead","description":"Assign a lead to a workspace member by user id, or pass assignedTo=null to unassign. Use search_leads to find the lead id and get_workspace_info to confirm the operating workspace. The result echoes the operating workspace.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"assignedTo":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}],"description":"User id of the workspace member to assign the lead to. Pass null to unassign."},"id":{"type":"string","minLength":1,"description":"The lead id returned by search_leads."}},"required":["assignedTo","id"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"check_channel_readiness","description":"Check locally which products a marketplace will refuse and why — missing price, unusable price, blank name, unmapped category — grouped by what fixes them, without calling the marketplace. The response separates `blocked` (these products do NOT go out) from `warnings` (these DO go out, but probably will not be published as the merchant expects: a price in a currency the platform does not name, no words of their own in a language the channel reads, a placeholder description, characteristics the marketplace does not recognise). Available for prom and rozetka; other platforms report their connection state through get_marketplace instead. This never publishes anything: it reports what would happen.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"platform":{"type":"string","minLength":1,"description":"The marketplace slug returned by list_marketplaces (prom, rozetka, olx, amazon, ebay, shopify, woocommerce)."}},"required":["platform"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"complete_activity","description":"Mark an activity (task, call, or meeting) as completed by its id. Use list_activities first to find the activity id. The result echoes the operating workspace.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"The activity id returned by list_activities."}},"required":["id"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"configure_pipeline","description":"Update an existing pipeline stage's name, default probability, or WIP limit. Provide the stage id (from list_pipeline_stages) and the fields to change. Stage order and terminal behavior are fixed. The result echoes the operating workspace.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"The pipeline stage id returned by list_pipeline_stages."},"patch":{"type":"object","properties":{"defaultProbability":{"type":"integer","minimum":0,"maximum":100,"description":"Default win probability for deals in this stage, 0-100."},"name":{"type":"string","minLength":1,"maxLength":120,"description":"Display name of the pipeline stage."},"wipLimit":{"description":"Work-in-progress limit (max deals allowed in the stage). Null or omit for no limit.","anyOf":[{"type":"integer","minimum":1,"maximum":999},{"type":"null"}]}},"required":["defaultProbability","name"],"additionalProperties":false,"description":"Pipeline stage fields to update: name, default probability, WIP limit or position."}},"required":["id","patch"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"convert_lead","description":"Convert a lead into a contact, company, and/or deal (select at least one via the input flags). Sets the lead status to converted. Use search_leads first to find the lead id. The result echoes the operating workspace.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"The lead id returned by search_leads."},"input":{"type":"object","properties":{"companyName":{"description":"Name for the company to create. Required when createCompany is true.","type":"string","maxLength":255},"contactFirstName":{"description":"First name for the contact to create. Required when createContact is true.","type":"string","maxLength":120},"contactLastName":{"description":"Last name for the contact to create. Optional.","type":"string","maxLength":120},"createCompany":{"default":false,"description":"Create (or link) a company from the lead. Default false.","type":"boolean"},"createContact":{"default":false,"description":"Create (or link) a contact from the lead. Default false.","type":"boolean"},"createDeal":{"default":false,"description":"Create an open pipeline deal from the lead. Default false.","type":"boolean"},"dealAmount":{"description":"Deal amount, as a decimal string. Used when createDeal is true.","type":"string","pattern":"^\\d+(\\.\\d{1,2})?$"},"dealNextActionDate":{"description":"ISO 8601 next-action date for the created deal. Used when createDeal is true.","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"dealNextActionNote":{"description":"Next-action note for the created deal. Used when createDeal is true.","type":"string","maxLength":500},"dealTitle":{"description":"Title for the created deal. Required when createDeal is true.","type":"string","maxLength":255}},"additionalProperties":false,"description":"Conversion options that decide whether to create/link contact, company and deal records."}},"required":["id","input"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"create_activity","description":"Create an activity (task, call, meeting, email, or note). Must link to at least one lead, contact, company, or deal — use search_leads/search_contacts/search_companies/search_deals to get the entity id. The result echoes the operating workspace.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"assignedTo":{"description":"User id of the workspace member to assign the activity to; null/omit for unassigned.","anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"companyId":{"description":"Company id to link the activity to (from search_companies). Link at least one entity.","anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"contactId":{"description":"Contact id to link the activity to (from search_contacts). Link at least one entity.","anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"dealId":{"description":"Deal id to link the activity to (from search_deals). Link at least one entity.","anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"description":{"description":"Detailed description or notes. Optional.","anyOf":[{"description":"Detailed description or notes. Optional.","type":"string","maxLength":5000},{"type":"null"}]},"dueDate":{"description":"Due date/time, ISO 8601. Optional.","anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"leadId":{"description":"Lead id to link the activity to (from search_leads). Link at least one entity.","anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"priority":{"description":"Priority. Optional. One of: low, medium, high.","type":"string","enum":["low","medium","high"]},"recurrenceEndsAt":{"description":"When recurrence stops, ISO 8601. Optional; only meaningful with recurrenceRule.","anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"recurrenceRule":{"description":"Recurrence rule: daily, weekly, or monthly. Optional (one-off if omitted).","anyOf":[{"type":"string","enum":["daily","weekly","monthly"],"description":"Recurrence rule: daily, weekly, or monthly. Optional (one-off if omitted)."},{"type":"null"}]},"title":{"type":"string","minLength":1,"maxLength":255,"description":"Short title of the activity. Required."},"type":{"type":"string","enum":["task","call","meeting","email","note"],"description":"Activity type. One of: task, call, meeting, email, note."}},"required":["title","type"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"create_company","description":"Create a company (B2B account). The company name must be unique in the workspace. Enforces the workspace plan limit; the result echoes the operating workspace. Use search_companies first to avoid creating a duplicate.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"industry":{"description":"The company's industry. Optional.","anyOf":[{"description":"The company's industry. Optional.","type":"string","maxLength":120},{"type":"null"}]},"name":{"type":"string","minLength":1,"maxLength":255,"description":"The company name. Required and unique within the workspace."},"ownerId":{"description":"User id of the workspace member who owns this company. Optional.","anyOf":[{"type":"string","description":"User id of the workspace member who owns this company. Optional."},{"type":"null"}]},"size":{"description":"Company size band. Optional. One of: solo, small, medium, large, enterprise.","type":"string","enum":["solo","small","medium","large","enterprise"]},"status":{"description":"Relationship status. Optional. One of: prospect, active, inactive.","type":"string","enum":["prospect","active","inactive"]},"website":{"description":"The company website URL. Optional.","anyOf":[{"description":"The company website URL. Optional.","type":"string","maxLength":255,"format":"uri"},{"type":"null"}]}},"required":["name"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"create_contact","description":"Create a contact (person). Use search_companies for the companyId to link an employer. Enforces the workspace plan limit and validates the company/owner links; the result echoes the operating workspace.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"companyId":{"description":"Company id to link this contact to (from search_companies). Optional.","anyOf":[{"type":"string","description":"Company id to link this contact to (from search_companies). Optional."},{"type":"null"}]},"email":{"description":"The contact's email address. Optional.","anyOf":[{"description":"The contact's email address. Optional.","type":"string","maxLength":255,"format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"null"}]},"firstName":{"type":"string","minLength":1,"maxLength":120,"description":"The contact's first name. Required."},"jobTitle":{"description":"The contact's job title. Optional.","anyOf":[{"description":"The contact's job title. Optional.","type":"string","maxLength":160},{"type":"null"}]},"lastName":{"description":"The contact's last name. Optional.","anyOf":[{"description":"The contact's last name. Optional.","type":"string","maxLength":120},{"type":"null"}]},"ownerId":{"description":"User id of the workspace member who owns this contact. Optional.","anyOf":[{"type":"string","description":"User id of the workspace member who owns this contact. Optional."},{"type":"null"}]},"phone":{"description":"The contact's phone number. Optional.","anyOf":[{"description":"The contact's phone number. Optional.","type":"string","maxLength":50},{"type":"null"}]},"tags":{"description":"Tags for segmentation. Optional.","default":[],"type":"array","items":{"type":"string","maxLength":80}}},"required":["firstName"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"create_deal","description":"Create a pipeline deal. Requires a stageId, title, and next-action note. Use list_pipeline_stages for the stageId, and search_companies/search_contacts to link a company or contact. Enforces the workspace plan limit; the result echoes the operating workspace.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"amount":{"description":"Deal value as a decimal string, e.g. 1500.00. Optional.","type":"string","pattern":"^\\d+(\\.\\d{1,2})?$"},"companyId":{"description":"Company id to link the deal to (from search_companies); null/omit for none.","anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"contactId":{"description":"Contact id to link the deal to (from search_contacts); null/omit for none.","anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"expectedCloseDate":{"description":"Expected close date, ISO 8601. Optional.","anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"nextActionDate":{"description":"Next-action date, ISO 8601. Required.","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"lostReason":{"description":"Reason the deal was lost. Optional (required only for Closed-lost stages).","anyOf":[{"description":"Reason the deal was lost. Required only when moving to a Closed-lost stage.","type":"string","maxLength":500},{"type":"null"}]},"nextActionNote":{"type":"string","minLength":1,"maxLength":500,"description":"What the next action on this deal is. Required."},"notes":{"description":"Free-text notes on the deal. Optional.","anyOf":[{"description":"Free-text notes on the deal. Optional.","type":"string","maxLength":5000},{"type":"null"}]},"ownerId":{"description":"User id of the workspace member to own the deal; null/omit for none.","anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"probability":{"description":"Win probability percent, 0-100. Optional (defaults from the stage).","type":"integer","minimum":0,"maximum":100},"stageId":{"type":"string","description":"Pipeline stage id for the deal (from list_pipeline_stages). Required."},"title":{"type":"string","minLength":1,"maxLength":255,"description":"Deal title. Required."}},"required":["nextActionDate","nextActionNote","stageId","title"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"create_lead","description":"Create a lead. Idempotent by externalId (re-sending the same externalId returns the existing lead). Requires an email or phone. Enforces the workspace plan limit; the result echoes the workspace it landed in. Use update_lead to change it afterward.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"companyName":{"description":"The lead's company name, if known. Optional.","type":"string","maxLength":255},"email":{"description":"The lead's email. Provide email or phone (at least one).","type":"string","maxLength":255,"format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"externalId":{"type":"string","minLength":1,"maxLength":160,"description":"A stable unique id for this lead in your system — the idempotency key. Re-sending the same externalId returns the existing lead instead of creating a duplicate (e.g. 'mcp-<uuid>')."},"name":{"type":"string","minLength":1,"maxLength":255,"description":"The lead's full name or label. Required."},"notes":{"description":"Free-text notes about the lead. Optional.","type":"string","maxLength":2000},"phone":{"description":"The lead's phone number. Provide email or phone (at least one).","type":"string","maxLength":50},"source":{"default":"website","description":"Lead source; fixed to \"website\" for MCP-created leads.","type":"string","const":"website"}},"required":["externalId","name"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"create_order","description":"Create an order with line items. Idempotent by externalId — use a stable unique id such as 'mcp-<uuid>' (re-sending returns the existing order). Enforces the workspace plan limit; the result echoes the operating workspace. Items snapshot productName/sku/unitPrice; use search_products first to quote real products.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"currency":{"default":"UAH","description":"ISO 4217 currency code for the order (uppercase, e.g. UAH). Default UAH.","type":"string","minLength":3,"maxLength":3,"pattern":"^[A-Z]{3}$"},"customer":{"description":"Optional buyer snapshot (name/email/phone, or a storefront customer externalId). Omit for an anonymous order.","type":"object","properties":{"email":{"type":"string","maxLength":255,"format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"externalId":{"type":"string","minLength":1,"maxLength":160},"firstName":{"type":"string","minLength":1,"maxLength":120},"lastName":{"type":"string","minLength":1,"maxLength":120},"phone":{"type":"string","minLength":1,"maxLength":50},"shippingAddress":{"type":"object","properties":{"city":{"type":"string","minLength":1,"maxLength":120},"country":{"type":"string","minLength":2,"maxLength":2},"line1":{"type":"string","minLength":1,"maxLength":255},"line2":{"type":"string","minLength":1,"maxLength":255},"postalCode":{"type":"string","minLength":1,"maxLength":32},"region":{"type":"string","minLength":1,"maxLength":120}},"required":["city","country","line1"],"additionalProperties":false}},"additionalProperties":false},"delivery":{"description":"How the buyer asked to receive the order: carrier, branch/courier/pickup, branch text, recipient, cash-on-delivery and a delivery note. This is the buyer's choice at checkout — it does not dispatch anything. Record what actually ships with POST /orders/{externalId}/shipments.","type":"object","properties":{"branch":{"description":"Branch or parcel locker as the buyer named it, e.g. \"відділення №5\" or \"поштомат 12345\". Free text: the CRM resolves it against the live branch list of the carrier when creating a waybill.","type":"string","maxLength":200},"carrier":{"description":"Carrier slug the buyer chose, from GET /capabilities (e.g. \"nova_poshta\", \"ukrposhta\", \"pickup\"). This is a preference, not a dispatch — the shipment endpoint still records what actually ships.","type":"string","maxLength":120},"cod":{"description":"True when the buyer pays on delivery (cash on delivery).","type":"boolean"},"comment":{"description":"Delivery note from the buyer, e.g. \"дзвонити після 18:00\". Not the order notes.","type":"string","maxLength":1000},"method":{"description":"How the parcel reaches the buyer: \"branch\" (carrier office/locker), \"courier\" (to the address) or \"pickup\" (buyer collects from you).","type":"string","enum":["branch","courier","pickup"]},"phone":{"description":"Recipient phone, when it differs from the buyer's own contact phone.","type":"string","maxLength":50},"recipientName":{"description":"Who receives the parcel, when that is not the buyer (a gift, an office).","type":"string","maxLength":200}},"additionalProperties":false},"externalId":{"type":"string","minLength":1,"maxLength":160,"description":"A stable unique id for this order in your system — the idempotency key. Re-sending the same externalId returns the existing order instead of creating a duplicate (e.g. 'mcp-<uuid>')."},"items":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"discount":{"default":0,"description":"Percentage discount on this line (0-100). Default 0.","type":"number","minimum":0,"maximum":100},"productName":{"type":"string","minLength":1,"maxLength":255,"description":"Line item name, snapshotted onto the order. Use search_products to quote a real catalog product's name. Required."},"quantity":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Quantity ordered (integer, at least 1)."},"sku":{"description":"Product SKU snapshot (from search_products). Optional.","type":"string","maxLength":120},"unitPrice":{"anyOf":[{"type":"string","pattern":"^\\d+(\\.\\d{1,2})?$"},{"type":"number","minimum":0}],"description":"Price per unit in the order currency, as a decimal (e.g. 199.99). Snapshotted onto the line."}},"required":["productName","quantity","unitPrice"],"additionalProperties":false},"description":"Order line items (1-100). Each snapshots productName/sku/unitPrice."},"notes":{"description":"Internal note stored on the order. For a delivery instruction from the buyer use delivery.comment instead.","type":"string","maxLength":5000},"promoCode":{"description":"The promo code the storefront applied to this order, recorded as-is. The CRM never validates or computes it — the cart owns that — but storing it is what makes 'did that campaign pay for itself?' answerable later.","type":"string","maxLength":64},"discountAmount":{"description":"Money taken off by the promo code, in the order currency. A sum, not a percent: a percent at order level is ambiguous (before or after line discounts, with shipping or without). Does NOT change total — send the total the buyer actually paid.","type":"number","minimum":0}},"required":["externalId","items"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"create_product","description":"Create a catalog product. Defaults to draft status — publish it by sending status 'active' once it is complete. Use list_categories, list_brands and list_warehouses for the ids; SKU is generated when omitted and must be unique in the workspace. Set trackInventory with an opening stock to start counting units, which is recorded as the first movement in the product stock history. If the target warehouse is set to list new products on the marketplaces, this product joins those channels. Enforces the workspace plan limit; the result echoes the operating workspace.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"brandId":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"bundleItems":{"default":[],"type":"array","items":{"type":"object","properties":{"productId":{"type":"string","minLength":1,"maxLength":160},"quantity":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["productId","quantity"],"additionalProperties":false}},"categoryId":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"compareAtPrice":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","minLength":1}]},{"type":"null"}]},"condition":{"anyOf":[{"type":"string","enum":["new","used","refurbished"]},{"type":"null"}]},"ageGroup":{"anyOf":[{"type":"string","enum":["newborn","infant","toddler","kids","adult"]},{"type":"null"}]},"color":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"gender":{"anyOf":[{"type":"string","enum":["male","female","unisex"]},{"type":"null"}]},"material":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}]},"pattern":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"productGroupId":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}]},"size":{"anyOf":[{"type":"string","minLength":1,"maxLength":60},{"type":"null"}]},"sizeSystem":{"anyOf":[{"type":"string","enum":["AU","BR","CN","DE","EU","FR","IT","JP","MEX","UK","US"]},{"type":"null"}]},"sizeType":{"anyOf":[{"type":"string","minLength":1,"maxLength":40},{"type":"null"}]},"costPrice":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","minLength":1}]},{"type":"null"}]},"depth":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","minLength":1}]},{"type":"null"}]},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"dimensionUnit":{"anyOf":[{"type":"string","enum":["cm","mm","in"]},{"type":"null"}]},"ean":{"description":"GTIN/EAN-8/12/13/14 barcode. Presence-and-shape validation only, no checksum.","example":"4006381333931","anyOf":[{"type":"string","pattern":"^[0-9]{8,14}$"},{"type":"null"}]},"height":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","minLength":1}]},{"type":"null"}]},"images":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"contentType":{"type":"string","enum":["image/jpeg","image/png","image/webp"]},"name":{"type":"string","minLength":1,"maxLength":255},"pathname":{"type":"string","minLength":1},"size":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"uploadedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"url":{"type":"string","format":"uri"}},"required":["url"],"additionalProperties":false}},"videos":{"default":[],"description":"Video links for the product page (YouTube, Vimeo or a direct file), https only, at most 5. Links, not uploads. On update, sending the field replaces the whole list.","example":[{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}],"maxItems":5,"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"name":{"type":"string","minLength":1,"maxLength":255},"price":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","minLength":1}]},{"type":"null"}]},"sku":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}]},"status":{"default":"draft","type":"string","enum":["draft","active","archived"]},"stock":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"supplierId":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"tags":{"default":[],"type":"array","items":{"type":"string","minLength":1,"maxLength":80}},"trackInventory":{"default":false,"type":"boolean"},"type":{"default":"simple","type":"string","enum":["simple","bundle"]},"unit":{"anyOf":[{"type":"string","minLength":1,"maxLength":40},{"type":"null"}]},"warehouseId":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"weight":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","minLength":1}]},{"type":"null"}]},"weightUnit":{"anyOf":[{"type":"string","enum":["kg","g","lb","oz"]},{"type":"null"}]},"width":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","minLength":1}]},{"type":"null"}]}},"required":["name"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"get_activity","description":"Fetch one CRM activity in the selected workspace by activity id, including type, due date, completion state, assignee and linked entity. Use list_activities first when you only know the related lead/deal/contact.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"The activity id returned by list_activities."}},"required":["id"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"get_company","description":"Fetch one CRM company in the selected workspace by company id, including status, industry, owner and contact links when present. Use search_companies first when you only know the company name.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"The company id returned by search_companies."}},"required":["id"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"get_contact","description":"Fetch one CRM contact in the selected workspace by contact id, including company, owner, tags and communication fields when present. Use search_contacts first when you only know a name, email or phone.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"The contact id returned by search_contacts."}},"required":["id"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"get_customer","description":"Fetch one CRM customer summary in the selected workspace by company id, including health, lifetime value and won-deal metrics. Use list_customers first when you only know the company name.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"companyId":{"type":"string","minLength":1,"description":"The company/customer id returned by list_customers."}},"required":["companyId"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"get_dashboard_overview","description":"Return the operational 'what needs attention today' snapshot for this workspace: active/qualified/stale lead counts, pipeline value, weighted forecast and overdue activities. Takes no arguments. Use get_report for period trend analytics instead.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{}}},{"name":"get_deal","description":"Fetch one pipeline deal in the selected workspace by deal id, including stage, value, probability and linked company/contact data when present. Use search_deals first when you only know the title or related customer.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"The deal id returned by search_deals."}},"required":["id"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"get_lead","description":"Fetch one CRM lead in the selected workspace by lead id, including status, source, assignee, tags, custom fields, score, notes and next action. Use search_leads first when you only know a name, email, phone or company.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"The lead id returned by search_leads."}},"required":["id"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"get_marketplace","description":"Fetch one connected marketplace in detail: every adapter on it with its setup state, last poll, last poll error, last catalog-sync outcome and last product import, plus the channel sales, leads and product counts. Use list_marketplaces first to see which platforms are connected. Use list_channel_products for the products on the channel and check_channel_readiness for what would be refused.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"platform":{"type":"string","minLength":1,"description":"The marketplace slug returned by list_marketplaces (prom, rozetka, olx, amazon, ebay, shopify, woocommerce)."}},"required":["platform"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"get_order","description":"Fetch full order detail in the selected workspace by externalId, including line items, payments, shipments and returns. Use list_orders first when you only know the customer or date.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"externalId":{"type":"string","minLength":1,"description":"The order externalId returned by list_orders."}},"required":["externalId"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"get_product","description":"Fetch one catalog product in the selected workspace by product id or SKU — returned in any status (draft, active, or archived; check the status field), including price, stock, category and brand fields. Provide exactly one known identifier; use search_products first when unsure (search covers active products only).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"The product id returned by search_products."},"sku":{"type":"string","minLength":1,"description":"The product SKU returned by search_products."}},"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"get_report","description":"Return one aggregated analytics report over a period for this workspace, selected by the report parameter: lead_source_conversion, pipeline_velocity, team_performance, or revenue_trend. Each returns aggregated rows (no per-record data); days tunes the look-back for conversion/team reports and months the span for revenue_trend. Use get_dashboard_overview for today's operational snapshot instead.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"days":{"description":"Look-back window for conversion/team reports (default 90/30).","anyOf":[{"type":"number","const":30},{"type":"number","const":90},{"type":"number","const":365}]},"months":{"description":"Number of months for the revenue-trend report (default 6).","type":"integer","minimum":1,"maximum":24},"report":{"type":"string","enum":["lead_source_conversion","pipeline_velocity","team_performance","revenue_trend","product_sales","stock_valuation"],"description":"Which analytics report to return. lead_source_conversion: leads and conversion rate per source (uses days). pipeline_velocity: average time deals spend in each stage. team_performance: revenue and activity per member (uses days). revenue_trend: won revenue by month (uses months). product_sales: units, revenue and gross margin per brand, category and SKU, plus a trend (uses days). stock_valuation: units on hand and their value at weighted-average cost, per warehouse (takes no period)."}},"required":["report"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"get_workspace_info","description":"Show which account and workspace this connection operates: signed-in name/email (OAuth only), workspace name, plan, connection type, and granted scopes. Call this when the user asks 'which account or workspace am I connected to?'. Sign-in connections can use list_workspaces and select_workspace to see or change the bound workspace.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{}}},{"name":"list_activities","description":"List this workspace's activities (tasks, calls, meetings, emails, notes), filtered by type/assignee/overdue/completion/linked-entity and paginated. Returns summary rows (id, type, title, priority, dueDate, completed, assignee, linked lead/contact/company/deal, isOverdue) plus pagination { page, perPage, total }. Use get_activity to fetch one activity's full detail by id.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"assignedTo":{"description":"Filter to activities assigned to this workspace member's user id.","type":"string","minLength":1,"maxLength":160},"companyId":{"description":"Filter to activities linked to this company id (from search_companies).","type":"string"},"completed":{"description":"Filter by completion: \"true\" only completed, \"false\" only open. Omit for both.","type":"string","enum":["true","false"]},"contactId":{"description":"Filter to activities linked to this contact id (from search_contacts).","type":"string"},"dealId":{"description":"Filter to activities linked to this deal id (from search_deals).","type":"string"},"leadId":{"description":"Filter to activities linked to this lead id (from search_leads).","type":"string"},"overdue":{"description":"Set \"true\" to return only overdue activities (past due date, not completed).","type":"string","enum":["true","false"]},"page":{"default":1,"description":"1-based page number of results to return. Default 1.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"perPage":{"default":20,"description":"Number of activities per page (1-100). Default 20.","type":"integer","minimum":1,"maximum":100},"q":{"description":"Free-text search over the activity title. Omit for no text filter.","type":"string","maxLength":255},"type":{"description":"Filter by activity type. Omit for any. Allowed: task, call, meeting, email, note.","type":"string","enum":["task","call","meeting","email","note"]}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"list_brands","description":"List this workspace catalog brands with id, name, description and website. Use a brand id here as the brandId for create_product/update_product, or as the search_products brand filter.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{}}},{"name":"list_categories","description":"List this workspace catalog categories as a flat array, each with id, name, slug and parentId (null for a root category). Categories are workspace-global, not per warehouse. Use a category id here as the categoryId for create_product/update_product, or as the search_products category filter.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{}}},{"name":"list_channel_products","description":"List the products that are on one marketplace, with each listing external id, what the marketplace last reported about it (`presence`, valid only when `observedAt` is set — null `observedAt` means the marketplace has never been asked about that listing, not that it is absent; Prom is reconciled every 15 minutes, other channels only when a sync or publish runs), whether the workspace paused syncing it, its price and stock. Also returns the honest totals over the whole channel and the ACTIVE products that have no listing there at all (the 'did not match by SKU' list), which is usually the answer when a push updated fewer products than expected. Use check_channel_readiness for why a product would be refused.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"platform":{"type":"string","minLength":1,"description":"The marketplace slug returned by list_marketplaces (prom, rozetka, olx, amazon, ebay, shopify, woocommerce)."}},"required":["platform"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"list_customers","description":"List CRM customers (companies with a won deal or delivered order), filtered by health/lifetime-value/won-deal count, sorted and paginated. Returns summary rows (companyId, name, health, lifetimeValue, wonDeals, lastActivity, owner) plus pagination { page, perPage, total }. Use get_customer to fetch one customer's detail by company id.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"health":{"description":"Filter by customer health. Omit for any. Allowed: healthy, at_risk, churned.","type":"string","enum":["healthy","at_risk","churned"]},"ltv":{"description":"Filter by lifetime-value bucket. Omit for any. Allowed: lt10k, 10k50k, gt50k.","type":"string","enum":["lt10k","10k50k","gt50k"]},"ownerId":{"description":"Filter to customers owned by this workspace member's user id.","type":"string","minLength":1,"maxLength":160},"page":{"default":1,"description":"1-based page number of results to return. Default 1.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"perPage":{"default":25,"description":"Number of customers per page (1-100). Default 25.","type":"integer","minimum":1,"maximum":100},"q":{"description":"Free-text search over the customer company name. Omit for no text filter.","type":"string","maxLength":255},"sortDir":{"default":"desc","description":"Sort direction by lifetime value. Default desc (highest first).","type":"string","enum":["asc","desc"]},"wonDealsMin":{"description":"Only customers with at least this many won deals.","type":"integer","minimum":1,"maximum":9007199254740991}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"list_lead_sources","description":"List this workspace's lead sources (built-in plus custom), with each source's key, label and active state. Pass includeInactive to also return archived sources. Use set_lead_sources to add or archive a source; use a source key here as the source filter for search_leads.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"includeInactive":{"description":"Set true to include archived/inactive lead sources.","type":"boolean"}},"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"list_marketplaces","description":"List every marketplace connected to this workspace with its setup state, health, last activity, any current sync error, orders revenue per currency, leads, product counts on the channel and how many imported products are waiting to be reviewed. Answers 'which channels do I sell on and is anything broken'. Takes no arguments. Use get_marketplace for one channel in detail, list_channel_products for what is on it, and check_channel_readiness for what it will refuse.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{}}},{"name":"list_orders","description":"List this workspace's orders, filtered by status/customer/created-date and paginated. Returns summary rows (externalId, status, currency, totalAmount, itemCount, timestamps) plus pagination { page, perPage, total }, newest first. Use get_order to fetch one order's full detail (line items, payments, shipments, returns) by externalId.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"page":{"default":1,"description":"1-based page number of results to return. Default 1.","type":"integer","minimum":1,"maximum":9007199254740991},"perPage":{"default":20,"description":"Number of results per page (1-100). Default 20.","type":"integer","minimum":1,"maximum":100},"customerExternalId":{"description":"Filter to one storefront customer by their externalId (the id from the source system). Omit to list all customers' orders.","type":"string","minLength":1,"maxLength":160},"from":{"description":"Only orders created at or after this ISO 8601 timestamp (e.g. 2026-01-31T00:00:00Z).","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"description":"Filter by order status. Omit to return every status. Allowed: pending, confirmed, processing, shipped, delivered, cancelled, refunded.","type":"string","enum":["pending","confirmed","processing","shipped","delivered","cancelled","refunded"]},"to":{"description":"Only orders created at or before this ISO 8601 timestamp (e.g. 2026-02-28T23:59:59Z).","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"list_pipeline_stages","description":"List this workspace's pipeline stages in order, with each stage's id, name, kind, default probability, WIP limit and position. Use configure_pipeline to change a stage, and the stage id here as the stageId for create_deal / transition_deal.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{}}},{"name":"list_warehouses","description":"List this workspace warehouses with id, name, address and phone. A product lives in at most one warehouse, and the warehouse decides the inventory-tracking default and which sales channels new products are listed on. Use a warehouse id here as the warehouseId for create_product.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{}}},{"name":"list_workspaces","description":"List every workspace the connected user belongs to (id, name, role) and mark which one this connection currently operates. OAuth sign-in connections only. Use select_workspace to switch.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{}}},{"name":"remove_order_item","description":"Remove a line item from an order. Recomputes the order total. Use get_order to find the order's externalId and the item's itemId. The result echoes the operating workspace.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"externalId":{"type":"string","minLength":1,"description":"The order externalId returned by list_orders or create_order."},"itemId":{"type":"string","minLength":1,"description":"The order item id returned by get_order."}},"required":["externalId","itemId"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"search_companies","description":"List and search this workspace's companies, filtered by industry/status/owner, sorted and paginated. Returns summary rows (id, name, industry, size, status, owner, contactCount) plus pagination { page, perPage, total }. Use get_company to fetch one company's full detail by id.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"industry":{"description":"Filter to companies in this industry. Omit for any industry.","type":"string","minLength":1,"maxLength":120},"ownerId":{"description":"Filter to companies owned by this workspace member's user id.","type":"string","minLength":1,"maxLength":160},"page":{"default":1,"description":"1-based page number of results to return. Default 1.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"perPage":{"default":25,"description":"Number of companies per page (1-100). Default 25.","type":"integer","minimum":1,"maximum":100},"q":{"description":"Free-text search over the company name. Omit for no text filter.","type":"string","maxLength":255},"sortDir":{"default":"asc","description":"Sort direction by name. Default asc.","type":"string","enum":["asc","desc"]},"status":{"description":"Filter by relationship status. Omit for any. Allowed: prospect, active, inactive.","type":"string","enum":["prospect","active","inactive"]}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"search_contacts","description":"List and search this workspace's contacts, filtered by company/owner/tag, sorted and paginated. Returns summary rows (id, firstName, lastName, email, phone, jobTitle, company, owner, tags) plus pagination { page, perPage, total }. Use get_contact to fetch one contact's full detail by id.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"companyId":{"description":"Filter to contacts at this company id (from search_companies).","type":"string","minLength":1,"maxLength":160},"ownerId":{"description":"Filter to contacts owned by this workspace member's user id.","type":"string","minLength":1,"maxLength":160},"page":{"default":1,"description":"1-based page number of results to return. Default 1.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"perPage":{"default":25,"description":"Number of contacts per page (1-100). Default 25.","type":"integer","minimum":1,"maximum":100},"q":{"description":"Free-text search over name, email and company. Omit for no text filter.","type":"string","maxLength":255},"sortBy":{"default":"name","description":"Field to sort by. Default name. Allowed: name, email, createdAt.","type":"string","enum":["name","email","createdAt"]},"sortDir":{"default":"asc","description":"Sort direction. Default asc.","type":"string","enum":["asc","desc"]},"tag":{"description":"Filter to contacts carrying this tag. Omit for any tag.","type":"string","minLength":1,"maxLength":80}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"search_deals","description":"List and search pipeline deals, filtered by stage/owner/company/contact/stale and paginated. Returns summary rows (id, title, stage, amount, probability, owner, company, contact, next-action, isStale) plus pagination { page, perPage, total }. Use get_deal to fetch one deal's full detail by id.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"companyId":{"description":"Filter to deals linked to this company id (from search_companies).","type":"string","minLength":1,"maxLength":160},"contactId":{"description":"Filter to deals linked to this contact id (from search_contacts).","type":"string","minLength":1,"maxLength":160},"ownerId":{"description":"Filter to deals owned by this workspace member's user id.","type":"string","minLength":1,"maxLength":160},"page":{"default":1,"description":"1-based page number of results to return. Default 1.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"perPage":{"default":25,"description":"Number of deals per page (1-100). Default 25.","type":"integer","minimum":1,"maximum":100},"q":{"description":"Free-text search over the deal title. Omit for no text filter.","type":"string","maxLength":255},"stageId":{"description":"Filter to deals in this pipeline stage id (from list_pipeline_stages).","type":"string","minLength":1,"maxLength":160},"stale":{"description":"Set \"true\" to return only stale deals (past their next-action date or long untouched).","type":"string","enum":["true","false"]}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"search_leads","description":"List and search this workspace's leads, filtered by text/status/source/created-date/stale and paginated. Returns summary rows (id, name, contact, company, status, source, assignee, tags, next-action, isStale, timestamps) plus pagination { page, perPage, total }, newest first. Use get_lead to fetch notes, position and score for one lead by id.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"page":{"default":1,"description":"1-based page number of results to return. Default 1.","type":"integer","minimum":1,"maximum":9007199254740991},"perPage":{"default":20,"description":"Number of results per page (1-100). Default 20.","type":"integer","minimum":1,"maximum":100},"from":{"description":"Only leads created at or after this ISO 8601 timestamp (e.g. 2026-01-31T00:00:00Z).","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"q":{"description":"Free-text search over lead name, email, phone, or company. Omit for no text filter.","type":"string","maxLength":255},"source":{"description":"Filter by lead source key (e.g. website, referral, telegram). Use list_lead_sources to see the workspace's keys. Omit for all sources.","type":"string","maxLength":80},"status":{"description":"Filter by lead status. Omit to return every status. Allowed: new, contacted, qualified, unqualified, converted.","type":"string","enum":["new","contacted","qualified","unqualified","converted"]},"stale":{"description":"Set true to return only stale leads: not unqualified/converted and either past their next-action date or untouched for more than 7 days.","anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]},"to":{"description":"Only leads created at or before this ISO 8601 timestamp (e.g. 2026-02-28T23:59:59Z).","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"search_products","description":"List and search active catalog products, filtered by category/brand/collection/model (productGroupId — the other colours and sizes of one model)/size/color/price/stock/tag/type, sorted by name, price, newest or popularity (units sold in the last 90 days), and paginated. Returns summary rows (id, name, sku, type, price, currency, unit, stock, category, brand) plus pagination { page, perPage, total }. Use get_product to fetch one product's full detail by id or SKU.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"brandId":{"default":"","description":"Filter to one brand by its id. Empty string means any brand.","type":"string","maxLength":40},"categoryId":{"default":"","description":"Filter to one category by its id. Empty string means any category.","type":"string","maxLength":40},"collection":{"default":"","description":"Filter to the products of one collection, by its slug from GET /collections. Only a collection that is visible and in season matches — an unknown, hidden or out-of-season slug is reported as not found, exactly like GET /collections/{slug}. Empty means no collection filter.","type":"string","maxLength":120},"color":{"default":"","description":"Filter to products whose color equals this value, ignoring letter case (the product's own color field, not a free-form attribute). Empty means any color.","type":"string","maxLength":80},"inStock":{"default":"","description":"Set \"true\" to return only products with stock available. Empty means include out-of-stock.","type":"string","enum":["","true"]},"maxPrice":{"description":"Only products priced at or below this amount (workspace currency).","type":"number","minimum":0},"minPrice":{"description":"Only products priced at or above this amount (workspace currency).","type":"number","minimum":0},"page":{"default":1,"description":"1-based page number of results to return. Default 1.","type":"integer","minimum":1,"maximum":9007199254740991},"perPage":{"default":20,"description":"Number of products per page (1-100). Default 20.","type":"integer","minimum":1,"maximum":100},"q":{"default":"","description":"Free-text search over product name and SKU. Empty for no text filter.","type":"string","maxLength":200},"productGroupId":{"default":"","description":"Filter to the variants of one model: products whose productGroupId equals this value exactly. It is the merchant's (or supplier's) own model code, so letter case is part of it. Use it to render the other colours and sizes of the product a buyer is looking at. Empty means any model.","type":"string","maxLength":120},"size":{"default":"","description":"Filter to products whose size equals this value, ignoring letter case (the product's own size field). Empty means any size.","type":"string","maxLength":60},"sort":{"default":"","description":"Sort order. Empty sorts by name. Allowed: name_asc, name_desc, price_asc, price_desc, newest, popular — popular ranks by units sold in confirmed, processing, shipped or delivered orders over the last 90 days. Ties break by name.","type":"string","enum":["","name_asc","name_desc","price_asc","price_desc","newest","popular"]},"status":{"default":"","description":"Filter by catalog status. Empty keeps the storefront default of active only. Use \"draft\" to find products waiting to be reviewed (marketplace imports and unknown SKUs from orders land there), or \"any\" for every status.","type":"string","enum":["","draft","active","archived","any"]},"stockState":{"default":"","description":"Filter by stock state, for products that track inventory. \"low\" returns products at or under their reorder threshold; \"out\" returns products with nothing left. Empty applies no stock-state filter.","type":"string","enum":["","low","out"]},"tag":{"default":"","description":"Filter to products carrying this tag. Empty means any tag.","type":"string","maxLength":100},"type":{"default":"","description":"Filter by product type. Empty for any; \"simple\" or \"bundle\".","type":"string","enum":["","simple","bundle"]},"warehouseId":{"default":"","description":"Filter to products in one warehouse by its id, from the warehouse list. Use \"none\" for products assigned to no warehouse — they match no id, so nothing else surfaces them. Empty means any warehouse. An id absent from this workspace is reported as an error, never as an empty result.","type":"string","maxLength":40}},"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"select_workspace","description":"Re-bind this OAuth connection to the workspace selected by the user. Takes effect on the next tool call. Use the organizationId returned by list_workspaces or by WORKSPACE_SELECTION_REQUIRED; never invent or guess it.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"organizationId":{"type":"string","minLength":1,"description":"The workspace organizationId chosen by the user from list_workspaces or WORKSPACE_SELECTION_REQUIRED."}},"required":["organizationId"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"set_lead_sources","description":"Create or update a workspace lead source: set its label and active state by key (built-in or custom, lowercase_with_underscores). Idempotent — re-sending the same key updates it. Archiving the fallback 'other' source is not allowed. Use list_lead_sources to see current sources. The result echoes the operating workspace.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"isActive":{"type":"boolean","description":"Whether the source is selectable for new leads. Set false to archive it (the fallback 'other' source cannot be archived)."},"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z0-9]+(?:_[a-z0-9]+)*$","description":"Stable source key, lowercase_with_underscores (built-in or custom)."},"label":{"type":"string","minLength":1,"maxLength":120,"description":"Human-readable label shown for this source in the UI."}},"required":["isActive","key","label"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"transition_deal","description":"Move a deal to a pipeline stage by its id. Closed-lost stages require a lostReason. Use search_deals for the deal id and list_pipeline_stages for the target stageId. The result echoes the operating workspace.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"lostReason":{"description":"Reason the deal was lost. Required when the target stage is a Closed-lost stage; otherwise omit.","anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"stageId":{"type":"string","minLength":1,"maxLength":160,"description":"The target pipeline stage id to move the deal to (from list_pipeline_stages)."},"id":{"type":"string","minLength":1,"description":"The deal id returned by search_deals."}},"required":["stageId","id"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"update_company","description":"Update fields on a company by id. Provide a patch with at least one field. Use search_companies first to find the company id. The result echoes the operating workspace.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"The company id returned by search_companies."},"patch":{"type":"object","properties":{"industry":{"description":"The company's industry. Optional.","anyOf":[{"description":"The company's industry.","type":"string","maxLength":120},{"type":"null"}]},"name":{"description":"The company name (unique within the workspace).","type":"string","minLength":1,"maxLength":255},"ownerId":{"description":"User id of the workspace member who owns this company. Optional.","anyOf":[{"type":"string","description":"User id of the workspace member who owns this company."},{"type":"null"}]},"size":{"description":"Company size band. Optional. One of: solo, small, medium, large, enterprise.","type":"string","enum":["solo","small","medium","large","enterprise"]},"status":{"description":"Relationship status. Optional. One of: prospect, active, inactive.","type":"string","enum":["prospect","active","inactive"]},"website":{"description":"The company website URL. Optional.","anyOf":[{"description":"The company website URL.","type":"string","maxLength":255,"format":"uri"},{"type":"null"}]}},"additionalProperties":false,"description":"The company fields to update; include at least one changed field."}},"required":["id","patch"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"update_contact","description":"Update fields on a contact by id. Provide a patch with at least one field. Use search_contacts first to find the contact id. The result echoes the operating workspace.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"The contact id returned by search_contacts."},"patch":{"type":"object","properties":{"companyId":{"description":"Company id to link this contact to (from search_companies). Optional.","anyOf":[{"type":"string","description":"Company id to link this contact to (from search_companies)."},{"type":"null"}]},"email":{"description":"The contact's email address. Optional.","anyOf":[{"description":"The contact's email address.","type":"string","maxLength":255,"format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"null"}]},"firstName":{"description":"The contact's first name.","type":"string","minLength":1,"maxLength":120},"jobTitle":{"description":"The contact's job title. Optional.","anyOf":[{"description":"The contact's job title.","type":"string","maxLength":160},{"type":"null"}]},"lastName":{"description":"The contact's last name. Optional.","anyOf":[{"description":"The contact's last name.","type":"string","maxLength":120},{"type":"null"}]},"ownerId":{"description":"User id of the workspace member who owns this contact. Optional.","anyOf":[{"type":"string","description":"User id of the workspace member who owns this contact."},{"type":"null"}]},"phone":{"description":"The contact's phone number. Optional.","anyOf":[{"description":"The contact's phone number.","type":"string","maxLength":50},{"type":"null"}]},"tags":{"description":"Tags for segmentation. Optional.","type":"array","items":{"type":"string","maxLength":80}}},"additionalProperties":false,"description":"The contact fields to update; include at least one changed field."}},"required":["id","patch"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"update_lead","description":"Update fields on an existing lead by id. Provide a patch with at least one field. Use search_leads first to find the lead id. The result echoes the operating workspace.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"The lead id returned by search_leads."},"patch":{"description":"The lead fields to update; include at least one changed field.","type":"object","properties":{"assignedTo":{"description":"User id of the workspace member to own the lead; null to unassign.","anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"companyName":{"description":"The lead's company name; null to clear.","anyOf":[{"type":"string","minLength":1,"maxLength":255},{"type":"null"}]},"email":{"description":"The lead's email; null to clear.","anyOf":[{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"null"}]},"name":{"description":"The lead's full name or label.","type":"string","minLength":1,"maxLength":255},"nextActionDate":{"description":"ISO 8601 timestamp of the next action; null to clear.","anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"nextActionNote":{"description":"What the next action is; null to clear.","anyOf":[{"type":"string","minLength":1,"maxLength":500},{"type":"null"}]},"notes":{"description":"Free-text notes; null to clear.","anyOf":[{"type":"string","maxLength":5000},{"type":"null"}]},"phone":{"description":"The lead's phone number; null to clear.","anyOf":[{"type":"string","minLength":1,"maxLength":50},{"type":"null"}]},"position":{"description":"The lead's job title/position; null to clear.","anyOf":[{"type":"string","minLength":1,"maxLength":255},{"type":"null"}]},"score":{"description":"Lead quality score, 0-100.","type":"integer","minimum":0,"maximum":100},"source":{"description":"Lead source key (see list_lead_sources).","type":"string","minLength":1,"maxLength":80},"status":{"description":"Lead status: new, contacted, qualified, unqualified, or converted.","type":"string","enum":["new","contacted","qualified","unqualified"]},"tags":{"description":"Tags for segmentation (replaces the existing set; max 30).","maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":80}}},"additionalProperties":false}},"required":["id","patch"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"update_order_item","description":"Update a line item on an order (quantity, unit price, discount, name, or SKU). Recomputes the order total. Use get_order to find the order's externalId and the item's itemId. The result echoes the operating workspace.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"externalId":{"type":"string","minLength":1,"description":"The order externalId returned by list_orders or create_order."},"itemId":{"type":"string","minLength":1,"description":"The order item id returned by get_order."},"patch":{"type":"object","properties":{"discount":{"default":0,"description":"Percentage discount on this line (0-100). Default 0.","type":"number","minimum":0,"maximum":100},"productName":{"type":"string","minLength":1,"maxLength":255,"description":"Line item name, snapshotted onto the order. Use search_products to quote a real catalog product's name. Required."},"quantity":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Quantity ordered (integer, at least 1)."},"sku":{"description":"Product SKU snapshot (from search_products). Optional.","type":"string","maxLength":120},"unitPrice":{"anyOf":[{"type":"string","pattern":"^\\d+(\\.\\d{1,2})?$"},{"type":"number","minimum":0}],"description":"Price per unit in the order currency, as a decimal (e.g. 199.99). Snapshotted onto the line."}},"additionalProperties":false,"description":"The order item fields to update; include at least one changed field."}},"required":["externalId","itemId","patch"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"update_order_status","description":"Move an order to a new status by externalId. Only valid transitions from the current status are allowed. Use list_orders to find the externalId and get_order to see the current status. The result echoes the operating workspace.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"status":{"type":"string","enum":["pending","confirmed","processing","shipped","delivered","cancelled","refunded"],"description":"The new order status. Only valid transitions from the current status are accepted. Allowed values: pending, confirmed, processing, shipped, delivered, cancelled, refunded."},"externalId":{"type":"string","minLength":1,"description":"The order externalId returned by list_orders or create_order."}},"required":["status","externalId"],"$schema":"https://json-schema.org/draft/2020-12/schema"}},{"name":"update_product","description":"Update fields on an existing catalog product by id — including status, to publish a draft or archive a product. Provide a patch with at least one field; use get_product first to see the current values. A changed stock number is applied as a relative movement and recorded in the product stock history; prefer adjust_stock when the intent is a correction with a reason. A change to price, stock, tracking or status is pushed to every connected sales channel. The result echoes the operating workspace.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"The product id returned by search_products."},"patch":{"type":"object","properties":{"brandId":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"bundleItems":{"default":[],"type":"array","items":{"type":"object","properties":{"productId":{"type":"string","minLength":1,"maxLength":160},"quantity":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["productId","quantity"],"additionalProperties":false}},"categoryId":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"compareAtPrice":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","minLength":1}]},{"type":"null"}]},"condition":{"anyOf":[{"type":"string","enum":["new","used","refurbished"]},{"type":"null"}]},"ageGroup":{"anyOf":[{"type":"string","enum":["newborn","infant","toddler","kids","adult"]},{"type":"null"}]},"color":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"gender":{"anyOf":[{"type":"string","enum":["male","female","unisex"]},{"type":"null"}]},"material":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}]},"pattern":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"productGroupId":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}]},"size":{"anyOf":[{"type":"string","minLength":1,"maxLength":60},{"type":"null"}]},"sizeSystem":{"anyOf":[{"type":"string","enum":["AU","BR","CN","DE","EU","FR","IT","JP","MEX","UK","US"]},{"type":"null"}]},"sizeType":{"anyOf":[{"type":"string","minLength":1,"maxLength":40},{"type":"null"}]},"costPrice":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","minLength":1}]},{"type":"null"}]},"depth":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","minLength":1}]},{"type":"null"}]},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"dimensionUnit":{"anyOf":[{"type":"string","enum":["cm","mm","in"]},{"type":"null"}]},"ean":{"description":"GTIN/EAN-8/12/13/14 barcode. Presence-and-shape validation only, no checksum.","example":"4006381333931","anyOf":[{"type":"string","pattern":"^[0-9]{8,14}$"},{"type":"null"}]},"height":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","minLength":1}]},{"type":"null"}]},"images":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"contentType":{"type":"string","enum":["image/jpeg","image/png","image/webp"]},"name":{"type":"string","minLength":1,"maxLength":255},"pathname":{"type":"string","minLength":1},"size":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"uploadedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"url":{"type":"string","format":"uri"}},"required":["url"],"additionalProperties":false}},"videos":{"default":[],"description":"Video links for the product page (YouTube, Vimeo or a direct file), https only, at most 5. Links, not uploads. On update, sending the field replaces the whole list.","example":[{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}],"maxItems":5,"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri"}},"required":["url"]}},"name":{"type":"string","minLength":1,"maxLength":255},"price":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","minLength":1}]},{"type":"null"}]},"sku":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}]},"status":{"default":"draft","type":"string","enum":["draft","active","archived"]},"stock":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"supplierId":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"tags":{"default":[],"type":"array","items":{"type":"string","minLength":1,"maxLength":80}},"trackInventory":{"default":false,"type":"boolean"},"type":{"default":"simple","type":"string","enum":["simple","bundle"]},"unit":{"anyOf":[{"type":"string","minLength":1,"maxLength":40},{"type":"null"}]},"warehouseId":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"weight":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","minLength":1}]},{"type":"null"}]},"weightUnit":{"anyOf":[{"type":"string","enum":["kg","g","lb","oz"]},{"type":"null"}]},"width":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","minLength":1}]},{"type":"null"}]}},"additionalProperties":false,"description":"The product fields to update; include at least one changed field."}},"required":["id","patch"],"$schema":"https://json-schema.org/draft/2020-12/schema"}}],"scan":{"score":60,"grade":"C","scanned_at":"2026-09-19T00:30:29.220Z","report":{"scannerVersion":"0.1.3","scannedAt":"2026-09-19T00:30:29.163Z","components":{"code":{"score":-1,"max":25,"notes":["remote-only server, no package to scan"]},"reliability":{"score":20,"max":20,"notes":["remote reachable in 1381ms"]},"poisoning":{"score":15,"max":15,"notes":["52 tool descriptions checked"]},"auth":{"score":3,"max":15,"notes":["open endpoint exposes 22 write-action tools with no auth"]},"maintenance":{"score":3,"max":15,"notes":["no repository listed"]},"identity":{"score":4,"max":10,"notes":["verified namespace with website, no repo"]}},"findings":[{"id":"auth.open-write","severity":"high","component":"auth","title":"Write-action tools reachable without authentication"},{"id":"maint.no-repo","severity":"low","component":"maintenance","title":"No source repository listed"}],"inputs":{"probes":[{"url":"https://obriym-crm.com/api/mcp","reachable":true,"authRequired":false,"latencyMs":1381,"serverInfo":{"name":"obriym-crm","version":"1.8.2"}}],"packages":[],"repo":{"found":false},"icon":{"url":"https://obriym-crm.com/icons/icon-512","source":"registry","width":512,"height":512},"presence":{"stars":null,"forks":null,"downloadsWeek":null,"license":null,"lastPushAt":null,"score":8}}}},"grade_history":[],"reviews":[]}