Skip to main content
Glama

Morse Code

MorseCode
Read-only

Morse Code: Morse Code is a Morse code translator and decoder API: it converts plain text to Morse code dots and dashes and translates Morse back into text. It provides character counts, dit and dah totals, and validation status, while paid plans add downloadable audio tones. (Cost: 1 credit)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "MorseCode"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoThe text to encode or decode in Morse code
audioNoSet to true to include an audio file of the Morse code
morseNoThe Morse code to decode

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNoError message, null on success
statusNo"ok" on success

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already establish this is a read-only, non-destructive, open-world operation. The description adds genuinely useful context beyond them: the 1-credit cost and the fact that audio output requires a paid plan. However it does not explain what happens when both 'text' and 'morse' are supplied, or what a validation failure looks like, which matters for a tool with zero required parameters.

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?

One compact sentence block that front-loads the core capability and appends output and cost details. Slight waste in the redundant 'Morse Code: Morse Code is a Morse code translator' opening, which restates the name and title twice before saying anything new.

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?

An output schema exists, so return-value explanation is not required, and the annotations cover the safety profile. The remaining hole is operational: with three optional parameters and two directions of conversion, the description never states how to invoke encode versus decode, which is the main thing an agent needs before calling.

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?

Schema description coverage is 100%, so the schema already documents all three parameters including the default for 'audio'. The description adds only the plan-gating detail for audio; it does not clarify the mutual exclusivity or precedence of 'text' versus 'morse', which is the one piece of semantics the schema does not cover.

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 gives a specific verb pair and resource: converts plain text to Morse dots and dashes and translates Morse back into text. An agent can distinguish it from neighboring encoder tools like Base64EncoderDecoder or PigLatin because the resource is named unambiguously. It stops short of differentiating from siblings explicitly, but the purpose is unmistakable.

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?

Usage is implied by the encode/decode framing, but there is no explicit when-to-use statement, no alternative named, and critically no explanation of how to select encode vs decode mode. Since 'text' and 'morse' are both optional (0 required parameters), the agent is left to infer which field to populate for which direction, which is a real gap.

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.