Skip to main content
Glama

echo

Test connectivity and verify message transmission by returning input messages unchanged for validation purposes.

Instructions

Return the input message (for testing)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesMessage to echo back

Implementation Reference

  • src/index.ts:136-148 (registration)
    Registration of the 'echo' tool in the ListToolsRequestSchema handler.
      name: "echo",
      description: "Return the input message (for testing)",
      inputSchema: {
        type: "object",
        properties: {
          message: {
            type: "string",
            description: "Message to echo back",
          },
        },
        required: ["message"],
      },
    },
  • The handler logic for the 'echo' tool inside the CallToolRequestSchema handler.
    case "echo": {
      return {
        content: [
          {
            type: "text",
            text: `Echo: ${args.message}`,
          },
        ],
      };
    }
Install Server

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/loscolmebrothers/zip-mcp'

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