Skip to main content
Glama
LwXLabs.Mcp.Template.NodeJs

LwXLabs.Mcp.Template.NodeJs

by lwxlabs

example.echo

Read-onlyIdempotent

Returns supplied text unchanged to echo input for testing and validation, supporting up to 4096 characters.

Instructions

Returns the supplied text unchanged (maximum 4096 characters).

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": "example.echo"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesText to echo.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile carries the bulk of disclosure. The description's useful addition is the return-value guarantee (input comes back unchanged), which matters because there is no output schema. It does not say whether input over 4096 characters is rejected or truncated, leaving one behavioral ambiguity.

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?

A single front-loaded sentence that names the operation, its invariance property, and the size bound. Every clause earns its place and there is no filler.

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?

For a one-parameter utility with full annotation coverage, the description is nearly complete and even compensates for the missing output schema by stating that the text is returned unchanged. The only gap is the behavior on oversize input, which is meaningful given the 4096 limit.

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 one parameter at 100% schema description coverage, the schema already documents both the type and the maxLength. The description repeats the same 4096 limit, adding no format or encoding guidance beyond what the structured field provides.

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?

"Returns the supplied text unchanged" gives a specific verb and resource plus the key behavioral trait (no transformation), and the character cap is stated inline. It is unmistakably distinct from example.add and example.status, so no sibling differentiation is needed.

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

Usage Guidelines3/5

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

There is no explicit when-to-use statement or named alternative, but the tool's purpose is narrow and self-evident, so usage is implied rather than documented. Nothing misleads, but nothing routes the agent either.

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