Skip to main content
Glama

vocametrix_calculate_hnr

Calculate multi-band Harmonics-to-Noise Ratio (HNR) from a sustained vowel audio file. Compare results against age- and gender-specific norms to evaluate voice quality.

Instructions

Calculate multi-band Harmonics-to-Noise Ratio (HNR) across frequency bands (80–8000 Hz) with age- and gender-specific norms. Higher HNR = cleaner voice. Normal HNR (500 Hz band): > 20 dB. Requires a sustained vowel.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sustainedVowelPathYesAbsolute path to a WAV audio file on the local filesystem
patientAgeYesSpeaker age in years (0–120)
patientGenderYesSpeaker gender: 1 = Male, 2 = Female, 3 = Other
Behavior4/5

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

With no annotations, the description carries the full burden. It explains the meaning of HNR (higher = cleaner voice) and provides a normal reference value (>20 dB for 500 Hz band). It also notes age/gender norms, which are relevant. No side effects or destructive actions are mentioned, but the tool is a read-only analysis.

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?

The description consists of two sentences, front-loading the core purpose and adding a normal value and requirement in the second. No unnecessary information is present.

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?

The description lacks information about the return format (e.g., a map of frequency bands to HNR values). Given no output schema, the output should be described to ensure the agent knows what to expect. While the description is adequate for a simple metric, it is incomplete without output details.

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?

The schema coverage is 100%, and the description adds value by connecting patientAge and patientGender to age- and gender-specific norms, which justifies their inclusion. It does not provide additional format details beyond the schema.

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?

The description clearly states the verb 'Calculate' and the specific metric 'multi-band Harmonics-to-Noise Ratio (HNR)' across frequency bands with norms. It distinguishes from sibling tools like vocametrix_calculate_avqi or vocametrix_calculate_cpp, which focus on different voice metrics.

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?

The description mentions the requirement for a sustained vowel, which provides context for when to use the tool. However, it does not explicitly state when to use this tool versus alternatives, nor does it specify when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pmarmaroli/vocametrix-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server