Skip to main content
Glama

echo

Verify MCP server functionality by sending a message and receiving an immediate echo response. A simple test tool to ensure server communication is working correctly.

Instructions

Simple test tool that echoes back your input. Use to verify the MCP server is responding correctly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYes

Implementation Reference

  • The handler function that implements the 'echo' tool. It validates the input message and returns an MCP-formatted response with 'Echo: ' prefixed to the message.
    async function internalHandleEcho(args) {
        if (!args || typeof args.message !== 'string') {
            throw new Error("Invalid input. 'message' (string) is required.");
        }
        return { content: [{ type: "text", text: `Echo: ${args.message}` }] };
    }
  • The schema definition for the 'echo' tool, including input schema requiring a 'message' string, used in tools/list response.
        name: "echo",
        description: "Simple test tool that echoes back your input. Use to verify the MCP server is responding correctly.",
        inputSchema: { type: "object", properties: { message: { type: "string"}}, required: ["message"], additionalProperties: false },
    },
  • index.js:793-793 (registration)
    Registration of the 'echo' tool handler in the INTERNAL_TOOL_HANDLERS map, which is used to dispatch tools/call requests to the correct handler.
    "echo": internalHandleEcho,
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It describes the core behavior ('echoes back your input') and purpose ('test tool'), but doesn't disclose potential behavioral traits like whether it modifies data, has rate limits, or requires specific permissions. For a simple test tool with no annotations, this is adequate but not comprehensive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Perfectly concise with two sentences that each earn their place: the first explains what the tool does, the second explains when to use it. No wasted words, and the information is front-loaded appropriately.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (one parameter, no output schema, no annotations), the description is nearly complete. It explains the purpose, usage, and parameter semantics effectively. The only minor gap is the lack of explicit behavioral details like whether it's read-only or has side effects, but for a test tool, this is acceptable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage and only one parameter ('message'), the description adds meaningful context by explaining that the tool 'echoes back your input,' which clarifies that the 'message' parameter is the content to be returned. This compensates well for the lack of schema documentation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with a specific verb ('echoes back') and resource ('your input'), and distinguishes it from siblings by specifying it's a 'test tool' for verification purposes. It goes beyond the name 'echo' by explaining the testing context.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use this tool: 'Use to verify the MCP server is responding correctly.' This provides clear guidance on the tool's intended purpose versus its sibling tools, which appear to be IDE/server management functions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Related Tools

  • @piebro/echo-mcp-server-for-testing
  • @jar285/mcp-discord
  • @currentspace/bootstrap_mcp
  • @SAGAAIDEV/mcp-ahrefs
  • @shaleen-wonder-ent/simple-mcp-server
  • @nictuku/py-mcp-server-template

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/avi892nash/purescript-mcp-tools'

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