Skip to main content
Glama

Reverse

echo__reverse

Reverses a text string and returns its characters in opposite order.

Instructions

Return the text reversed.

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__reverse"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It implies a pure, non-mutating string transformation (nothing is created, stored, or rate-limited), which is useful, but it says nothing about edge cases such as empty strings, whitespace, or multi-byte/Unicode grapheme handling, and does not explicitly state that the operation is side-effect free.

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

Conciseness4/5

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

A single four-word sentence with zero waste and the outcome front-loaded. It is efficient, though it is at the edge of being under-specified rather than merely concise.

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 trivial one-input, deterministic string tool with no output schema and no nested objects, the description covers the essential contract: take text, get reversed text. Only minor edge-case behavior for the string input is left unstated, which is a small gap given the tool's low complexity.

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

Parameters2/5

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

Schema description coverage is 0% for the single required parameter, so the description must compensate and barely does. Saying 'the text' only echoes the parameter name 'text'; it adds no meaning about expected content, length, encoding, or whether the full string including whitespace is reversed.

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 states a concrete transformation: 'Return the text reversed.' An agent can distinguish it from sibling echo__echo (identity), echo__shout (case change), and echo__countdown without opening any schema, because 'reversed' names a distinct verb-like operation on a distinct resource. It stops short of 5 only because it never explicitly contrasts itself with those siblings.

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 when-to-use guidance, no when-not-to-use guidance, and no alternatives named. The description does not tell an agent whether to reach for reverse vs. shout or echo when preprocessing text, leaving selection to be inferred entirely from the tool name.

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