Skip to main content
Glama

@arizeai/phoenix-mcp

Official
by Arize-ai
toolSchemas.ts580 B
import z from "zod"; import { schemaMatches } from "../../../utils/schemaMatches"; import { PromptTool } from "../../../types/prompts"; /** * The Phoenix tool definition schema */ export const phoenixToolDefinitionSchema = schemaMatches<PromptTool>()( z.object({ type: z.literal("function"), function: z.object({ name: z.string(), description: z.string().optional(), parameters: z.record(z.unknown()).optional(), strict: z.boolean().optional(), }), }) ); export type PhoenixToolDefinition = z.infer<typeof phoenixToolDefinitionSchema>;

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/Arize-ai/phoenix'

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