We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Arize-ai/phoenix'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import z from "zod";
/**
* Vercel AI SDK Tool Choice Schema
*/
export const vercelAIToolChoiceSchema = z.union([
z.literal("auto"),
z.literal("none"),
z.literal("required"),
z.object({
type: z.literal("tool"),
toolName: z.string(),
}),
]);
export type VercelAIToolChoice = z.infer<typeof vercelAIToolChoiceSchema>;