Skip to main content
Glama

calc_digital_audio_latency

Calculate Nyquist limit, PCM signal-to-noise ratio, and round-trip ASIO buffer latency from bit depth, sample rate, and buffer size to assess digital audio performance.

Instructions

Nyquist limit, PCM SNR, and round-trip ASIO buffer latency.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "calc_digital_audio_latency"
  }
}

Input Schema

NameRequiredDescriptionDefault
bit_depthNo
sample_rateNo
buffer_samplesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and says nothing about purity, side effects, units, or what the returned values look like. The only behavioral hint is the list of computed quantities, which implies a pure calculation but never states it. For a 3-parameter tool with no annotation coverage this leaves a large gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is short but structured as a bare noun-phrase fragment with no verb, so the brevity comes from under-specification rather than efficiency. There is no front-loaded statement of action and nothing after the list to orient the agent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, and zero parameter description coverage, the description would need to explain both inputs and outputs to be usable on its own. It alludes to the output quantities but omits units, parameter meanings, and any statement of determinism, so an agent must guess at half the call contract.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so all three parameters (bit_depth, sample_rate, buffer_samples) reach the agent with only titles and defaults. The description hints at a mapping (bit depth drives SNR, sample rate drives Nyquist, buffer samples drive latency) but never states it, nor gives units (Hz vs kHz, bits vs bytes) or valid ranges.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The fragment names three specific computed quantities (Nyquist limit, PCM SNR, round-trip ASIO buffer latency), which tells an agent roughly what the tool returns, but there is no verb and no scope statement, so the "what it does" is inferred from the name rather than stated. It is distinguishable from siblings like calc_comb_filter or calc_bpm_timing by subject matter, but only weakly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use guidance, no preconditions, and no mention of what to do instead when the question is about another audio domain. At best the audio-engineering vocabulary implies a domain of applicability, which is not real routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.