Skip to main content
Glama
AbbottDevelopments

Shopmonkey MCP Server

get_canned_service

Retrieve detailed information about a specific service template using its ID to access predefined service configurations for automotive repair shops.

Instructions

Get detailed information about a single canned service template by its ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe canned service ID

Implementation Reference

  • The handler function implementation for the 'get_canned_service' tool, which fetches details of a canned service by its ID from the Shopmonkey API.
    async get_canned_service(args) {
      if (!args.id) return { content: [{ type: 'text', text: 'Error: id is required' }], isError: true };
      const data = await shopmonkeyRequest<CannedService>('GET', `/canned_service/${sanitizePathParam(String(args.id))}`);
      return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] };
    },
  • The definition and input schema for the 'get_canned_service' tool, specifying that it requires an 'id' parameter.
    {
      name: 'get_canned_service',
      description: 'Get detailed information about a single canned service template by its ID.',
      inputSchema: { type: 'object' as const, properties: { id: { type: 'string', description: 'The canned service 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