Skip to main content
Glama
AbbottDevelopments

Shopmonkey MCP Server

get_customer

Retrieve detailed customer information by ID to access shop management data for work orders, vehicles, and inventory within the Shopmonkey system.

Instructions

Get detailed information about a single customer by their ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe customer ID

Implementation Reference

  • The handler function for get_customer, which fetches customer details from Shopmonkey using the provided ID.
    async get_customer(args) {
      if (!args.id) return { content: [{ type: 'text', text: 'Error: id is required' }], isError: true };
      const data = await shopmonkeyRequest<Customer>('GET', `/customer/${sanitizePathParam(String(args.id))}`);
      return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] };
    },
  • The tool definition for get_customer, including its input schema.
    {
      name: 'get_customer',
      description: 'Get detailed information about a single customer by their ID.',
      inputSchema: {
        type: 'object' as const,
        properties: {
          id: { type: 'string', description: 'The customer ID' },
        },
        required: ['id'],
      },
    },

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