Skip to main content
Glama
mcp-server-boilerplate

mcp-server-boilerplate

by Co-Ventech

Echo

echo
Read-onlyIdempotent

Returns the supplied text unchanged, letting developers verify request and response handling in Model Context Protocol servers.

Instructions

Returns the text you send it. Replace this with your first real tool.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "echo"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesText to echo back

Output Schema

NameRequiredDescriptionDefault
textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint and idempotentHint, so the safety profile is covered. The description adds nothing beyond restating the return behavior, and the 'Replace this...' sentence reads as scaffolding rather than behavioral context such as size limits on the echoed text or how the value is returned.

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

Conciseness3/5

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

It is brief and front-loaded, but the second sentence earns no place in an agent-facing description and is purely template boilerplate. Removing it would make the definition tighter without losing information.

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 a one-parameter tool with an output schema and annotations covering read-only and idempotent behavior, the functional gap is small. The description still reads as an unfinished template, which undermines confidence that the definition is complete.

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?

With a single parameter at 100% schema description coverage, the schema already documents that 'text' is the text to echo back. The description adds no format, length, or encoding detail beyond that, so the baseline of 3 applies.

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

Purpose3/5

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

The first sentence states a specific action and resource ('Returns the text you send it'), which is clear on its own. The second sentence ('Replace this with your first real tool') is a developer-facing placeholder note rather than a description of the tool, which introduces doubt about whether the tool is a real, stable capability an agent should select.

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?

There is no indication of when an agent should call this versus an alternative, nor any exclusions. The sibling 'add' is not referenced, and the description gives no scenario in which echoing text is the right choice over another tool.

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

Deploy Server

Other Tools