Skip to main content
Glama

Measure voice quality

measure_voice_quality

Measure the quality of a voice/VoIP path to a destination and return the estimated MOS (ITU-T G.107 E-model) plus live network metrics (RTT, jitter, packet loss). Useful before routing or starting a voice-agent call. The MOS is an objective estimate, not a perceptual measurement.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromNoOptional probe location selectors, e.g. ['eu-west','us-east']
codecNoNarrowband codec to modelG711
targetYesIP, host, or media endpoint to measure toward

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It does disclose key behavioral facts: return values and the important caveat that MOS is an objective estimate, not a perceptual measurement. However, it does not mention potential side effects such as whether test traffic is sent, or any access/rate limitations, leaving some behavioral uncertainty.

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?

Three sentences with no redundancy: the first states the core action and outputs, the second gives usage context, and the third adds a necessary caveat. Information is front-loaded and every sentence earns its place.

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?

Given no output schema, the description adequately explains what will be returned and includes a relevant use case. The schema covers all parameter semantics. The only missing elements are explicit statements about side effects or prerequisites, but these are not critical for a moderate-complexity measurement tool.

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 description coverage is 100%, with clear descriptions for all three parameters. The description adds no parameter-specific details, so the baseline of 3 is appropriate.

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 uses a specific verb ('Measure') and resource ('quality of a voice/VoIP path to a destination') and explicitly lists the outputs (MOS, RTT, jitter, packet loss). It is unambiguous and self-contained, with no confusion about what the tool does.

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?

It clearly states when to use the tool: 'Useful before routing or starting a voice-agent call.' There are no alternative tools or exclusion cases, but the context is specific enough to guide an agent's decision.

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.

TDQS

A4.1/5.0
Disambiguation5/5

With only a single tool, there is no possibility of ambiguity or misselection. The tool's purpose is clearly defined and distinct.

Naming Consistency5/5

The sole tool uses a clear verb_noun pattern (measure_voice_quality), consistent with conventional naming and easily understandable.

Tool Count3/5

A single tool is borderline thin, but for a narrowly scoped voice-quality measurement API it is acceptable. The count feels minimal yet not egregiously inadequate.

Completeness4/5

The tool covers the core measurement task with output including MOS and network metrics. Minor gaps exist such as lack of historical data retrieval or multiple measurement configurations, but the primary intent is fulfilled.