import { CommonToolArgs } from "../../types/common.js";
const validateCommonToolArgs = (args: CommonToolArgs): void => {
if (!args.shopDomain) {
throw new Error("Invalid arguments: shopDomain is required");
}
if (!args.prompt) {
throw new Error("Invalid arguments: prompt is required");
}
if (!args.conversationId) {
throw new Error("Invalid arguments: conversationId is required");
}
if (!args.conversationTitle) {
throw new Error("Invalid arguments: conversationTitle is required");
}
};
export { validateCommonToolArgs };
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