Skip to main content
Glama

vaultix_create_product

Add new products to your catalog by specifying name, price in cents, description, stock quantity, and SKU code.

Instructions

Create a new product in the catalog. Price is in cents.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesProduct name
priceYesPrice in cents
descriptionNoProduct description
stock_quantityNoStock quantity
skuNoSKU code

Implementation Reference

  • The handler implementation for 'vaultix_create_product' tool, which creates a new product by posting the arguments to the '/products' API endpoint using the VaultixClient.
    case 'vaultix_create_product': return client.post('/products', { name: args.name, price: args.price, description: args.description, stock_quantity: args.stock_quantity, sku: args.sku, })
  • The input schema defining the parameters for the 'vaultix_create_product' tool, including required fields name and price.
    inputSchema: { type: 'object', properties: { name: { type: 'string', description: 'Product name' }, price: { type: 'number', description: 'Price in cents' }, description: { type: 'string', description: 'Product description' }, stock_quantity: { type: 'number', description: 'Stock quantity' }, sku: { type: 'string', description: 'SKU code' }, }, required: ['name', 'price'], },
  • The tool registration object added to the exported 'tools' array, defining name, description, and input schema for MCP.
    name: 'vaultix_create_product', description: 'Create a new product in the catalog. Price is in cents.', inputSchema: { type: 'object', properties: { name: { type: 'string', description: 'Product name' }, price: { type: 'number', description: 'Price in cents' }, description: { type: 'string', description: 'Product description' }, stock_quantity: { type: 'number', description: 'Stock quantity' }, sku: { type: 'string', description: 'SKU code' }, }, required: ['name', 'price'], },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/VautlixDevelopment/mcpVaultix'

If you have feedback or need assistance with the MCP directory API, please join our Discord server