Skip to main content
Glama

Agent Data Tools: Utilities

Morse code translator: text to Morse and back

text_morse
Read-only

Translate text to international Morse code (letters separated by spaces, words by /) or Morse code back to text; the direction is detected automatically or set with mode. Letters, digits and common punctuation are supported; anything else is reported, not guessed. Use for puzzles, radio practice and fun messages. Example: text=SOS help. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": "text_morse"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoauto (default), encode or decode
textYesText, or Morse code made of . - spaces and /

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the read-only, non-destructive, non-open-world profile, and the description adds genuinely non-structured behavior: per-call pricing via x402 USDC or a card key, the first 10 calls free, failed calls free, and that repeats are not free because each call is charged. It also discloses error semantics, namely that unsupported characters are reported rather than silently guessed, which matters for correctness expectations.

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?

Purpose and format come first, followed by usage, example, and billing, so the paragraph is front-loaded with the essentials. It is somewhat dense for a single block and 'puzzles, radio practice and fun messages' plus the unexplained 'Example: text=SOS help' are the weakest payload, but nothing is truly wasted given the billing disclosure.

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 two-parameter transform tool with full schema coverage and annotations, the definition covers input formats, direction detection, unsupported-character behavior, and cost. The one gap is that no output schema exists and the description never says what the call returns (e.g., a single translated string) or whether unsupported characters appear inline or in a separate field.

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 100% schema coverage the baseline is 3, but the description earns more by explaining what the two parameters mean operationally: mode takes auto/encode/decode with auto as the detector, and the text parameter accepts either plain text or Morse where '/'-separated words and space-separated letters define the encoding convention, which the terse schema does not spell out.

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 names a specific verb (translate) and resource (international Morse code), states both directions, and encodes the wire format precisely (letters separated by spaces, words by /). No sibling could be confused with it: it is the only Morse/cipher-conversion tool in the catalog, so the resource alone disambiguates it.

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

Usage Guidelines4/5

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

It gives positive use cases (puzzles, radio practice, fun messages) and explains how direction is selected (auto-detected, or forced with mode), which is real routing guidance. It stops short of explicit when-not-to-use or naming an alternative such as a different cipher tool, so it is clear but not exhaustive.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources