Skip to main content
Glama

Inspect audio levels in one or two video clips

inspect_audio_levels
Read-onlyIdempotent

Measure decoded sample levels in a selected 1–30 second section of one video, optionally comparing another video. Reports RMS, peaks, near-full-scale sample counts and one-second windows for listening review. Does not identify a voice, prove clipping, measure perceptual loudness or verify lip sync. Video audio includes music and effects. An interval may be shorter than requested; check examinedSeconds. Never approves a paid render.

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": {
      "renderVideoUrl": "<renderVideoUrl>"
    },
    "name": "inspect_audio_levels"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromSecondsNo
renderVideoUrlYes
durationSecondsNo
comparisonVideoUrlNo
comparisonFromSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds real behavioral context beyond them: audio includes music and effects, an examined interval may be shorter than requested, and the caller should check examinedSeconds. The 'never approves a paid render' note usefully signals workflow boundary, though return shape is only partially characterized.

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?

Five short sentences, front-loaded with the core action, then limitations, then the reviewed caveat about examinedSeconds. Nothing is redundant and each clause carries distinct information.

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?

There is no output schema, so the description carries the return burden and does reasonably well by naming RMS, peaks, near-full-scale sample counts, and one-second windows. It still lacks detail on result structure and how comparison results are paired, which a caller would want for a five-parameter 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 0% across 5 parameters, so the description must carry that load. It does clarify the 1–30 second window and the optional comparison video, but leaves fromSeconds, comparisonFromSeconds, defaults for omitted duration, and whether the two clips must be time-aligned unexplained — partial compensation only.

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 opens with a specific verb and resource ('Measure decoded sample levels') plus scope ('1–30 second section of one video, optionally comparing another video'), which separates it from siblings like compare_reference_audio or check_video_export without needing their schemas.

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 establishes context ('for listening review') and explicitly rules out adjacent tasks — voice identification, clipping proof, perceptual loudness, lip sync verification — which is strong negative guidance. It does not name a specific alternative tool for those excluded cases, so it stops short of a 5.

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.