Skip to main content
Glama

test_microphone

Record a short mic sample to check dBFS peak, detect clipping, and get input-level advice.

Instructions

Record a short live mic sample and report dBFS peak, clipping, and advice.

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

Input Schema

NameRequiredDescriptionDefault
device_idNo
duration_secNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior3/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. It does disclose the returned metrics (dBFS peak, clipping, advice) and that capture is live and 'short', but says nothing about whether the recording is persisted or discarded, what happens if no mic is present, or whether capture blocks.

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

Conciseness5/5

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

A single tight sentence that front-loads the action and then the reported results. No filler, no restatement of the tool name, and every clause carries information.

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

Completeness3/5

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

For a simple capture tool the core contract (live sample in, peak/clipping/advice out) is present, and no output schema exists to defer to. However, with no annotations and zero parameter coverage, the missing device selection and retention semantics leave real gaps for correct invocation.

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 the description must compensate and does not. 'Short' hints at duration_sec but gives no units or bounds, and device_id — plainly the key parameter for selecting an input — is never mentioned or explained.

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

Purpose4/5

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

The description names a specific verb and resource ('Record a short live mic sample') and states exactly what is reported back (dBFS peak, clipping, advice). It is clearly distinguishable from file-analysing siblings like analyze_audio_file, though it does not explicitly name any alternative.

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 guidance on when to call this versus analyze_audio_file or calc_mic_physics, nor any prerequisites such as whether a live input device must be available or permission granted. The agent must infer that this is for live capture rather than file analysis.

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