Skip to main content
Glama

AI SENSE Free Public Tools

Decode data from sound

decode_audio
Read-onlyIdempotent

Read the bytes back from a recording of a sound made by encode_audio, the audio-v2 format or the earlier v1: a PCM16 WAV at 44100 or 48000 Hz, mono or stereo, at most 40 seconds, checked by its checksum. Give storage_id for a WAV of at most 4 MiB uploaded through REST Storage first, since recordings exceed the inline MCP request limit; REST accepts files up to 8 MiB. storage_id must name an ordinary 24-hour file, without a max_downloads limit. Answers data_base64, byte_length and text when the bytes are valid UTF-8. This decodes data sent as sound, not speech. The decoded result is not stored, and stored input keeps its original lifetime. 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": {
      "storage_id": "<storage_id>"
    },
    "name": "decode_audio"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoauto tries all three bands within one shared time limit, and the earlier v1 format only in audible. Pick audible, high or ultrasound when known.
storage_idYesA storage_id from store_file, from a previous tool result, or from REST /storage. Objects expire 24 hours after they were stored.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / mode / description
      Previous value: -"auto tries all three bands within one shared time limit. Pick audible, high or ultrasound when known."New value: +"auto tries all three bands within one shared time limit, and the earlier v1 format only in audible. Pick audible, high or ultrasound when known."
  2. Changed2 schema fields changed
    • changedInput schema / properties / mode / description
      Previous value: -"auto detects either tone range. Pick audible or ultrasound when known."New value: +"auto tries all three bands within one shared time limit. Pick audible, high or ultrasound when known."
    • changedInput schema / properties / mode / enum
      Previous value: -[
      -  "auto",
      -  "audible",
      -  "ultrasound"
      -]New value: +[
      +  "auto",
      +  "audible",
      +  "high",
      +  "ultrasound"
      +]
  3. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/idempotent, but the description adds substantial behavior beyond them: checksum verification, 40-second and 4 MiB ceilings, the upload-first workaround for the inline request limit, the fact that decoded results are not stored, that stored input keeps its original lifetime, and that no API key is needed. That is exactly the extra context annotations cannot carry.

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?

Front-loaded with the core action, then limits, then preconditions, then return fields — a sensible order. It is dense and slightly run-on, and the closing 'No API key, no account and no sign up' is promotional filler rather than invocation guidance.

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 correctly compensates by naming the return fields (data_base64, byte_length, text on valid UTF-8), and it covers size, format, and checksum constraints. The only real gap is that mode's band behavior is left entirely to the schema.

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%, so both storage_id and mode are documented structurally. The description adds one genuine constraint not in the schema (storage_id must be an ordinary file without a max_downloads limit), but says nothing about the mode parameter's band selection, so it only marginally exceeds the baseline.

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 ('read the bytes back from a recording of a sound') and names its counterpart encode_audio plus the supported formats (audio-v2, v1 PCM16 WAV). An agent can distinguish this from encode_audio and from nearby audio tools without reading 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 concrete conditions: use storage_id for WAVs over the inline MCP limit (recordings up to 40 s), REST accepts up to 8 MiB, and storage_id must be an ordinary 24-hour file without max_downloads. It also excludes a whole use case ('not speech'). It stops short of naming an alternative tool for speech or blink decoding, so not a 5.

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.