Skip to main content
Glama

echo

Send messages to receive identical responses for testing communication protocols or verifying message transmission in MCP server environments.

Instructions

Echo back the input message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesMessage to echo back

Implementation Reference

  • server.js:84-92 (handler)
    Handler for the 'echo' tool that echoes back the input message prefixed with 'Echo: ' in a text content block.
    case 'echo': return { content: [ { type: 'text', text: `Echo: ${args.message}`, }, ], };
  • Input schema for the 'echo' tool, requiring a 'message' string.
    inputSchema: { type: 'object', properties: { message: { type: 'string', description: 'Message to echo back', }, }, required: ['message'], },
  • server.js:30-43 (registration)
    Registration of the 'echo' tool in the ListTools response, including name, description, and input schema.
    { name: 'echo', description: 'Echo back the input message', inputSchema: { type: 'object', properties: { message: { type: 'string', description: 'Message to echo back', }, }, required: ['message'], }, },

Other Tools

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/balajidommeti/MCP'

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