Skip to main content
Glama

Codificar Morse

morse-encode
Read-onlyIdempotent

Codifica texto en código Morse internacional; letras separadas por espacios y palabras por " / ". Cuándo: hay que convertir bytes o texto a esta codificación, o desde ella, con exactitud y sin adivinar. No para: decodificar código Morse internacional (morse-decode). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.

EN: Encodes text in International Morse code: letters separated by spaces, words by " / ". Unsupported characters are reported, not dropped silently. When: bytes or text have to be converted to or from this encoding exactly, without guessing. Not for: decoding International Morse code (morse-decode). Side effects: none (read-only, no network access, no stored state). Deterministic: the same input gives the same output. Limits: JSON input up to 64 KB, 1 s per call, result up to 1 MB.

Input Schema

NameRequiredDescriptionDefault
textYesText (string; required; up to 4096 chars).

Output Schema

NameRequiredDescriptionDefault
morseNo
unsupportedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / text / examples
      Added value: +[
      +  "SOS"
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld=false, and the description still adds real value: unsupported characters are reported rather than dropped, and it gives concrete limits (64 KB input, 1 s per call, 1 MB result). The 'o desde ella' phrasing mildly blurs the encode-only behavior, but nothing contradicts the annotations.

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?

Content is front-loaded: purpose first, then when/not-for, side effects, determinism, limits. It is a full bilingual duplicate, so roughly half the text is redundant, but each block is individually tight and no sentence is 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?

An output schema exists, so return format needn't be explained, and limits plus determinism are covered. The one real gap is the mismatch between the described 64 KB input ceiling and the schema's 4096-character maxLength, which an agent could trip over when sizing input.

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 coverage is 100% and there is only one parameter, so the schema already documents 'text'. The description adds the unsupported-character contract, but its stated 64 KB input limit conflicts with the schema's maxLength of 4096, which is more confusing than clarifying.

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+resource ('Codifica texto en código Morse internacional') plus the exact output convention (letters separated by spaces, words by ' / '). It explicitly names the sibling it is not (morse-decode), so an agent can route 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 Guidelines4/5

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

Has an explicit 'Cuándo' clause and a 'No para' exclusion naming morse-decode, which is strong routing guidance. Slightly weakened by 'convertir bytes o texto a esta codificación, o desde ella', which implies bidirectional conversion while the exclusion says decode belongs elsewhere.

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