Skip to main content
Glama

AI SENSE Free Public Tools

Encode text as a blinking signal

encode_blink
Read-onlyIdempotent

Turn text of up to 128 bytes into an on and off signal in Morse timing, for a screen, a lamp, a smart bulb, shades or a buzzer: a dot is one unit on and a dash three, the gap inside a letter one unit off, between letters three and between words seven. Answers the Morse code, bits (one character per unit, 1 on and 0 off), timing (the on and off lengths in milliseconds, the first one on), unit_ms, duration_ms and the characters skipped for having no Morse code. Nothing is stored. No API key, no account and no sign up.

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

Input Schema

NameRequiredDescriptionDefault
textYesThe text, at most 128 bytes of UTF-8.
unit_msNoThe length of one unit in milliseconds, 100 by default, which a camera at 30 frames per second reads. 5 suits an LED that a light sensor reads at 1 kHz or more, 2000 window shades.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / unit_ms / description
      Previous value: -"The length of one unit in milliseconds, 100 by default, which a camera at 30 frames per second reads. 20 suits a light sensor, 2000 window shades."New value: +"The length of one unit in milliseconds, 100 by default, which a camera at 30 frames per second reads. 5 suits an LED that a light sensor reads at 1 kHz or more, 2000 window shades."
    • changedInput schema / properties / unit_ms / minimum
      Previous value: -20New value: +5
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and closed-world, so the safety bar is low; the description still adds real value by stating that nothing is stored and that no API key or account is needed, which matters for an agent deciding whether side effects exist. It also discloses two non-obvious behaviors: characters with no Morse code are skipped and reported, and the timing array always starts with an on segment.

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 clause, followed by the encoding rules and then the return fields. The single dense sentence is efficient but the return-field list runs long without punctuation structure, making it harder to parse than it needs to be.

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?

There is no output schema, so the description correctly carries the burden of naming every returned field (Morse code, bits, timing, unit_ms, duration_ms, skipped characters) and explains the semantics of the timing array. Combined with a fully documented input schema and explicit annotations, an agent has everything needed to call it correctly.

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%, with both parameters fully documented in-schema including the unit_ms default and its camera/LED/shade guidance, so the baseline of 3 applies. The description's dot-one-unit/dash-three explanation of Morse timing adds conceptual framing that supports choosing unit_ms, but it adds no parameter detail the schema lacks.

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 ('Turn text of up to 128 bytes into an on and off signal in Morse timing') and immediately names the supported sinks (screen, lamp, smart bulb, shades, buzzer). The encode direction is unambiguous against decode_blink even without naming it, and the 128-byte bound plus the enumerated outputs pin down the transformation.

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?

Usage context is concrete: the tool is for driving a visible or audible emitter, and the enumerated device list tells an agent which real-world scenario fits. It does not explicitly state when not to use it or point at decode_blink for the inverse operation, which is the one remaining routing 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.