Skip to main content
Glama
AbbottDevelopments

Shopmonkey MCP Server

list_inventory_tires

Retrieve tire inventory data from Shopmonkey with pagination support to manage and track available stock across locations.

Instructions

List tires from Shopmonkey inventory. Supports pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
locationIdNoFilter by location ID. Defaults to SHOPMONKEY_LOCATION_ID env var if set.
limitNoMaximum number of results to return (default: 25)
pageNoPage number for pagination (default: 1)

Implementation Reference

  • Handler function implementation for list_inventory_tires.
    async list_inventory_tires(args) {
      const params: Record<string, string> = {};
      if (args.locationId !== undefined) params.locationId = String(args.locationId);
      if (args.limit !== undefined) params.limit = String(args.limit);
      if (args.page !== undefined) params.page = String(args.page);
      applyDefaultLocation(params);
    
      const data = await shopmonkeyRequest<InventoryTire[]>('GET', '/inventory/tire', undefined, params);
      return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] };
    },
  • Definition and schema for list_inventory_tires.
      name: 'list_inventory_tires',
      description: 'List tires from Shopmonkey inventory. Supports pagination.',
      inputSchema: {
        type: 'object' as const,
        properties: {
          locationId: { type: 'string', description: 'Filter by location ID. Defaults to SHOPMONKEY_LOCATION_ID env var if set.' },
          limit: { type: 'number', description: 'Maximum number of results to return (default: 25)' },
          page: { type: 'number', description: 'Page number for pagination (default: 1)' },
        },
      },
    },

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