Skip to main content
Glama

echo

Send a message and receive it back to verify connectivity and functionality with the Algorand MCP Server for blockchain interactions.

Instructions

Echo back the provided message

Input Schema

NameRequiredDescriptionDefault
messageYesThe message to echo back

Input Schema (JSON Schema)

{ "properties": { "message": { "description": "The message to echo back", "type": "string" } }, "required": [ "message" ], "type": "object" }

Implementation Reference

  • The handler function for the 'echo' tool. It parses the input arguments using EchoArgsSchema and returns a text response echoing the provided message.
    case 'echo': { const parsed = EchoArgsSchema.parse(args); return { content: [ { type: 'text', text: `Echo: ${parsed.message}`, }, ], }; }
  • Zod schema definition for validating the 'echo' tool's input arguments (message: string). Used in the handler for parsing.
    const EchoArgsSchema = z.object({ message: z.string(), });
  • src/index.ts:100-113 (registration)
    Registration of the 'echo' tool in the TOOLS array, defining its name, description, and JSON input schema for MCP protocol.
    { name: 'echo', description: 'Echo back the provided message', inputSchema: { type: 'object', properties: { message: { type: 'string', description: 'The message to echo back', }, }, required: ['message'], }, },
  • JSON schema in the tool registration matching the expected input for the 'echo' tool.
    inputSchema: { type: 'object', properties: { message: { type: 'string', description: 'The message to echo back', }, }, required: ['message'], },

Other Tools

Related 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/Jake-loranger/algorand-mcp-server'

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