Skip to main content
Glama
AbbottDevelopments

Shopmonkey MCP Server

create_order

Create a new work order in Shopmonkey by specifying customer, vehicle, status, and location details to initiate automotive service management.

Instructions

Create a new work order in Shopmonkey.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
customerIdNoCustomer ID to associate with the order
vehicleIdNoVehicle ID to associate with the order
statusNoInitial order status (e.g., estimate, work_order)
locationIdNoLocation ID for multi-location shops. Defaults to SHOPMONKEY_LOCATION_ID env var if set.

Implementation Reference

  • The handler implementation for create_order tool.
    async create_order(args) {
      const body = pickFields(args, CREATE_FIELDS);
      if (!body.locationId) {
        const defaultId = getDefaultLocationId();
        if (defaultId) body.locationId = defaultId;
      }
      const data = await shopmonkeyRequest<Order>('POST', '/order', body);
      return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] };
    },
  • The MCP tool definition for create_order, including the input schema.
      name: 'create_order',
      description: 'Create a new work order in Shopmonkey.',
      inputSchema: {
        type: 'object' as const,
        properties: {
          customerId: { type: 'string', description: 'Customer ID to associate with the order' },
          vehicleId: { type: 'string', description: 'Vehicle ID to associate with the order' },
          status: { type: 'string', description: 'Initial order status (e.g., estimate, work_order)' },
          locationId: { type: 'string', description: 'Location ID for multi-location shops. Defaults to SHOPMONKEY_LOCATION_ID env var if set.' },
        },
      },
    },

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