Skip to main content
Glama
shaleen-wonder-ent

Simple MCP Server

echo

Returns the exact message you provide, enabling message verification and testing in the Simple MCP Server environment.

Instructions

Echo back the provided message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesThe message to echo back

Implementation Reference

  • The handler logic for the 'echo' tool. Parses input arguments and returns a text response echoing the provided message.
    case 'echo': {
      const parsed = EchoArgsSchema.parse(args);
      return {
        content: [
          {
            type: 'text',
            text: `Echo, from the MCP Server:==> ${parsed.message}`,
          },
        ],
      };
    }
  • Zod schema defining the input for the 'echo' tool: a required 'message' string.
    const EchoArgsSchema = z.object({
      message: z.string().describe('The message to echo back'),
    });
  • src/index.ts:43-56 (registration)
    Registration of the 'echo' tool in the list of available tools, including name, description, and input schema.
    {
      name: 'echo',
      description: 'Echo back the provided message',
      inputSchema: {
        type: 'object',
        properties: {
          message: {
            type: 'string',
            description: 'The message to echo back',
          },
        },
        required: ['message'],
      },
    },
Behavior2/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 of behavioral disclosure. It states the tool 'echoes back' the message, implying a simple read/return operation, but doesn't disclose any behavioral traits such as whether it modifies data, has side effects, requires authentication, or has rate limits. For a tool with zero annotation coverage, this is a significant gap in transparency.

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?

The description is extremely concise and front-loaded with a single, clear sentence: 'Echo back the provided message.' There is zero waste, and every word earns its place by directly explaining the tool's function without unnecessary elaboration.

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

Completeness3/5

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

Given the tool's low complexity (one simple parameter) and high schema coverage (100%), the description is minimally adequate. However, with no annotations and no output schema, it lacks details on behavioral aspects and return values, which could be helpful for an agent. It's complete enough for basic understanding but leaves gaps in operational context.

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

Parameters3/5

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

The description mentions 'the provided message,' which aligns with the single parameter 'message' in the input schema. Since schema description coverage is 100% (the schema already describes 'message' as 'The message to echo back'), the description adds no additional meaning beyond what the schema provides. The baseline score of 3 is appropriate when the schema does the heavy lifting.

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

Purpose4/5

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

The description clearly states the tool's function with a specific verb ('echo back') and resource ('the provided message'), making the purpose immediately understandable. However, it doesn't differentiate this tool from its siblings (calculator, current_time), which are completely different functions, so it doesn't need sibling differentiation but could be more specific about what makes 'echo' unique in this context.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention any context, prerequisites, or comparisons with sibling tools like calculator or current_time, leaving the agent to infer usage based solely on the tool name and basic function.

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

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/shaleen-wonder-ent/simple-mcp-server'

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