Skip to main content
Glama
AbbottDevelopments

Shopmonkey MCP Server

get_inventory_part

Retrieve detailed information about a specific inventory part using its ID to access stock details, specifications, and availability data within Shopmonkey's shop management system.

Instructions

Get detailed information about a single inventory part by its ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe inventory part ID

Implementation Reference

  • The handler implementation for get_inventory_part, which performs a GET request to the Shopmonkey API for a specific part ID.
    async get_inventory_part(args) {
      if (!args.id) return { content: [{ type: 'text', text: 'Error: id is required' }], isError: true };
      const data = await shopmonkeyRequest<InventoryPart>('GET', `/inventory/part/${sanitizePathParam(String(args.id))}`);
      return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] };
    },
  • The MCP tool definition (schema) for get_inventory_part.
    {
      name: 'get_inventory_part',
      description: 'Get detailed information about a single inventory part by its ID.',
      inputSchema: { type: 'object' as const, properties: { id: { type: 'string', description: 'The inventory part 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