Skip to main content
Glama
echo.ts697 B
import type { ToolMetadata, ToolImplementation } from '../types.js'; /** * Echoツールのメタデータ */ export const echoMetadata: ToolMetadata = { name: 'echo', description: '入力されたメッセージをそのまま返します', parameters: [ { name: 'message', type: 'string', description: '返すメッセージ', required: true } ] }; /** * Echoツールの実装 */ export const echoImplementation: ToolImplementation = async (parameters) => { const { message } = parameters; if (!message) { throw new Error('message parameter is required'); } return { echo: message, timestamp: new Date().toISOString() }; };

Latest Blog Posts

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/krtw00/search-mcp'

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