Skip to main content
Glama

Morse code to text

morse_to_text
Read-onlyIdempotent

Decodes International Morse code into text. Write dots as "." and dashes as "-"; separate letters with a space and words with " / ", a line break or three spaces. Returns the text in capital letters, lists any groups that are not Morse characters (shown as # in the text), and gives a link to the translator on morsecodetranslator.com with the code filled in.

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": {
      "morse": "<morse>"
    },
    "name": "morse_to_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
morseYesThe Morse code to decode, at most 5000 characters, for example ".... .. / - .... . .-. .".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, not open-world), so the description's contribution is the output contract: uppercase text, non-Morse groups surfaced as #, and a link back to morsecodetranslator.com. That is meaningful behavior beyond the annotations, though it does not mention size limits or failure modes for empty input.

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 is front-loaded in the first sentence, followed by the formatting rules, with the return-value details last. The second sentence is dense but every clause carries information; nothing is padded.

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

Completeness5/5

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

No output schema exists, so the description carries the burden of describing return values, and it does: capitalization, # placeholders for undecodable groups, and the generated link. For a single-parameter pure function this is complete.

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?

Schema coverage is 100% and the schema already shows the 5000-character limit and an example, yet the description still adds real decoding syntax—explicit letter and word separators—that the 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?

States a specific verb and resource ("Decodes International Morse code into text") and the directional semantics make it immediately distinguishable from the sibling text_to_morse without opening either schema.

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?

The description supplies detailed input-format conventions (dots, dashes, space between letters, " / " or line break between words), which tells the agent how to call it, but never states when to use this versus text_to_morse or morse_alphabet, leaving the routing to inference.

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.