Skip to main content
Glama
AbbottDevelopments

Shopmonkey MCP Server

create_vehicle

Add a new vehicle to Shopmonkey, optionally linking it to a customer. Specify details like year, make, model, VIN, and mileage to create a vehicle record.

Instructions

Add a new vehicle to Shopmonkey, optionally linked to a customer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
customerIdNoCustomer ID to associate with the vehicle
yearNoVehicle model year
makeNoVehicle make (e.g., Toyota, Ford)
modelNoVehicle model (e.g., Camry, F-150)
vinNoVehicle Identification Number
licensePlateNoLicense plate number
colorNoVehicle color
mileageNoCurrent mileage

Implementation Reference

  • The `create_vehicle` handler function, which takes the provided arguments, filters them using `pickFields` and `ALLOWED_FIELDS`, and makes a POST request to `/vehicle`.
    async create_vehicle(args) {
      const body = pickFields(args, ALLOWED_FIELDS);
      const data = await shopmonkeyRequest<Vehicle>('POST', '/vehicle', body);
      return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] };
    },
  • The definition of the `create_vehicle` tool, including its name, description, and input schema.
      name: 'create_vehicle',
      description: 'Add a new vehicle to Shopmonkey, optionally linked to a customer.',
      inputSchema: {
        type: 'object' as const,
        properties: {
          customerId: { type: 'string', description: 'Customer ID to associate with the vehicle' },
          year: { type: 'number', description: 'Vehicle model year' },
          make: { type: 'string', description: 'Vehicle make (e.g., Toyota, Ford)' },
          model: { type: 'string', description: 'Vehicle model (e.g., Camry, F-150)' },
          vin: { type: 'string', description: 'Vehicle Identification Number' },
          licensePlate: { type: 'string', description: 'License plate number' },
          color: { type: 'string', description: 'Vehicle color' },
          mileage: { type: 'number', description: 'Current mileage' },
        },
      },
    },

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/AbbottDevelopments/shopmonkey-mcp-server'

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