Skip to main content
Glama

AI SENSE Free Public Tools

Encode data as sound

encode_audio
Read-onlyIdempotent

Turn 1 to 128 bytes into a PCM16 WAV audio block in the AI SENSE audio-v2 format: four-tone symbols that hop between three tone sets, so room echo is ignored, with Reed-Solomon error correction and a CRC. data is UTF-8 text unless input_encoding is base64. Audible tones from 800 to 3000 Hz are the default. high uses experimental tones from 14.0 to 16.2 kHz and ultrasound experimental tones from 18.0 to 20.2 kHz. Both can be audible and depend on the devices. Play the audio near a listening device, then decode its recording. This encoding is unencrypted. Nothing is stored. No API key, no account and no sign up.

Input Schema

NameRequiredDescriptionDefault
dataYesUTF-8 text or standard Base64 representing at most 128 bytes.
modeNoaudible by default. high and ultrasound are experimental and depend on the speakers and microphone.
input_encodingNoutf8 by default. Choose base64 for arbitrary binary bytes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / mode / description
      Previous value: -"audible by default. ultrasound is experimental and depends on the speakers and microphone."New value: +"audible by default. high and ultrasound are experimental and depend on the speakers and microphone."
    • changedInput schema / properties / mode / enum
      Previous value: -[
      -  "audible",
      -  "ultrasound"
      -]New value: +[
      +  "audible",
      +  "high",
      +  "ultrasound"
      +]
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint and closed-world, so safety is covered; the description still adds substantive behavior the annotations cannot express — the encoding is unencrypted, nothing is persisted, no API key or account is required, and high/ultrasound modes are experimental and device-dependent. The 1–128 byte bound and the four-tone/Reed-Solomon/CRC design give the agent realistic expectations about robustness.

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?

Core capability is front-loaded in the first clause, and each following sentence adds a distinct fact (encodings, modes, workflow, privacy). The closing 'Nothing is stored. No API key, no account and no sign up.' is partially redundant with openWorldHint=false and could be compressed into one clause.

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?

With no output schema, the description must carry the return shape, and it does name the artifact (PCM16 WAV audio block) — though it never says whether that comes back as raw bytes, base64, or a reference, which matters for a binary payload. Everything else an agent needs to call it correctly (size bounds, mode tradeoffs, unencrypted nature, no storage) is present.

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%, so the baseline is 3, but the description earns more by adding meaning the enum descriptions lack: concrete frequency ranges for high (14.0–16.2 kHz) and ultrasound (18.0–20.2 kHz), the warning that both can still be audible, and the UTF-8-vs-base64 rule restated with the byte-limit rationale. It does not explain the relationship between the 172-char maxLength and the 128-byte limit, which is the one place a param needs more help.

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 1 to 128 bytes into a PCM16 WAV audio block') plus the named format (AI SENSE audio-v2), which cleanly separates it from the sibling decode_audio. An agent can identify the transform, its input domain, and its output artifact without opening the 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?

Gives explicit operational context: 'Play the audio near a listening device, then decode its recording,' which implies pairing with the decode_audio sibling, and explains when to pick high/ultrasound versus the audible default. It stops short of naming the sibling tool or stating exclusion conditions (e.g., why not use encode_data), so it is clear but not fully routing-grade.

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.