Skip to main content
Glama

WithSeismic MCP

echo.ts836 B
// ---------- Imports ---------- import { z } from "zod"; import { Tool } from "../core"; // ---------- Schemas ---------- /** * Input schema for the echo tool */ const EchoToolInputSchema = z.object({ message: z.string().describe("Message to echo"), }); /** * Output schema for the echo tool */ const EchoToolOutputSchema = z.object({ message: z.string().describe("The echoed message"), }); type EchoToolInput = z.infer<typeof EchoToolInputSchema>; type EchoToolOutput = z.infer<typeof EchoToolOutputSchema>; /** * Echo tool implementation */ export const echoTool = new Tool<EchoToolInput, EchoToolOutput>( { name: "echo", description: "Echoes back the input", inputSchema: EchoToolInputSchema, outputSchema: EchoToolOutputSchema, }, async (args) => { return { message: args.message }; }, );

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/dougwithseismic/withseismic-mcp'

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