import { z } from 'zod/v4';
import {
getMessageByIdParams,
getMessageByIdQueryParams,
} from '../generated/carbon-voice-api/CarbonVoiceSimplifiedAPI.zod';
// Create a combined schema for get_message_by_id that includes both path and query params
export const getMessageByIdSchema = z.object({
...getMessageByIdParams.shape, // This includes the 'id' field
...getMessageByIdQueryParams.shape, // This includes 'language' and 'fields'
});
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/PhononX/cv-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server