Skip to main content
Glama

TailorKit MCP

Official
by sellersmith
getListTemplates.ts810 B
import { GetListTemplatesArgs } from "../../../types/index.js"; import { ServiceManager } from "../../services/index.js"; import { createHandler } from "../handlerFactory.js"; import { validateCommonToolArgs } from "../common.js"; /** * Validate getListTemplates arguments */ function validateGetListTemplatesArgs(args: GetListTemplatesArgs): void { validateCommonToolArgs(args); } /** * Service method for getListTemplates */ async function getListTemplatesServiceMethod( serviceManager: ServiceManager, args: GetListTemplatesArgs ) { return serviceManager.templateService.getListTemplates(args); } /** * Handler for get_list_templates tool */ export const getListTemplatesHandler = createHandler<GetListTemplatesArgs, any>( validateGetListTemplatesArgs, getListTemplatesServiceMethod );

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/sellersmith/tailorkit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server