Skip to main content
Glama

MCP Server Chart

Official
path-map.ts982 B
import { z } from "zod"; import { zodToJsonSchema } from "../utils"; import { MapHeightSchema, MapTitleSchema, MapWidthSchema, POIsSchema, } from "./base"; const schema = { title: MapTitleSchema, data: z .array( z.object({ data: POIsSchema }).describe("The route and places along it."), ) .nonempty("At least one route is required.") .describe( 'Routes, each group represents all POIs along a route. For example, [{ "data": ["西安钟楼", "西安大唐不夜城", "西安大雁塔"] }, { "data": ["西安曲江池公园", "西安回民街"] }]', ), width: MapWidthSchema, height: MapHeightSchema, }; // https://modelcontextprotocol.io/specification/2025-03-26/server/tools#listing-tools const tool = { name: "generate_path_map", description: "Generate a route map to display the user's planned route, such as travel guide routes.", inputSchema: zodToJsonSchema(schema), }; export const pathMap = { schema, tool, };

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/antvis/mcp-server-chart'

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