Skip to main content
Glama

describe_wav_encoding

Read-onlyIdempotent

Read Hyperwave's actual WAV encoder layout for float32 or pcm16 exports, including format tag, bytes per sample, channel count, and header size.

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": {
      "format": "<format>"
    },
    "name": "describe_wav_encoding"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatYes

Output Schema

NameRequiredDescriptionDefault
formatYes
channelsYes
formatTagYes
bitsPerSampleYes
bytesPerSampleYes
headerByteLengthYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and closed-world scope, so the safety profile is covered. The description adds nothing about the ambiguous word 'actual' — whether the layout is a fixed constant or reflects runtime/session configuration — and says nothing about cost or failure for an unknown format. With annotations carrying safety, a 3 is fair but real gaps remain.

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?

A single front-loaded sentence with no filler; the resource comes first and the returned fields are listed compactly. Slight redundancy in restating the two enum values already in the schema, but it costs nothing.

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?

Low-complexity, single-parameter read tool with an output schema, so return values need not be explained in the description. The remaining shortfall is the unanswered question of whether 'actual' means static constants or configuration-dependent values, which an agent might reasonably need.

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?

There is one required parameter at 0% schema description coverage, so the description must compensate. It does name both enum values and implies the parameter selects which encoder layout is described, but it adds no meaning beyond the enum itself — no note on defaults, invalid values, or format-specific differences in the returned layout.

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 (read) plus a precise resource (Hyperwave's actual WAV encoder layout) and scopes it to the two export formats. It also enumerates the fields the layout covers (format tag, bytes per sample, channel count, header size), which distinguishes it from siblings like calculate_frame_size that compute rather than describe.

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 only implied: an agent can infer this is the diagnostic call to consult when it needs the encoder's byte layout for a given export format. There is no explicit when-to-use, no exclusion, and no pointer to related tools (e.g. calculate_frame_size) that might otherwise be considered for sizing questions.

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