Skip to main content
Glama

echo

Test and validate messaging functionality by returning the exact input message. Use this tool to ensure communication systems are working as expected on the ZIP-MCP server.

Instructions

Return the input message (for testing)

Input Schema

NameRequiredDescriptionDefault
messageYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "message": { "type": "string" } }, "required": [ "message" ], "type": "object" }

Implementation Reference

  • The execute handler for the 'echo' tool, which returns the input message along with the current timestamp.
    execute: async (args) => { return { content: [ { type: "text", text: args.message }, { type: "text", text: new Date().toISOString() }, ], }; },
  • Zod schema defining the input parameter 'message' as a string.
    parameters: z.object({ message: z.string(), }),
  • src/index.ts:346-360 (registration)
    Registration of the 'echo' tool using server.addTool, including name, description, schema, and handler.
    server.addTool({ name: "echo", description: "Return the input message (for testing)", parameters: z.object({ message: z.string(), }), execute: async (args) => { return { content: [ { type: "text", text: args.message }, { type: "text", text: new Date().toISOString() }, ], }; }, });

Other Tools

Related Tools

  • @avi892nash/purescript-mcp-tools
  • @SAGAAIDEV/mcp-ahrefs
  • @srafi26/mcp-server
  • @epicweb-dev/epic-me-mcp
  • @balajidommeti/MCP
  • @shaleen-wonder-ent/simple-mcp-server

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

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