Skip to main content
Glama
live-agent-bridge

live-agent-bridge

by huaidj

sample_analyze

Analyze audio samples in a separate process without touching Live. Queue files or batches, track job status, resume after interruption, and read cached measurements or semantic results.

Instructions

Analyze actual audio in a separate process, without touching Live. Files must be in indexed sample roots. Jobs persist and resume after interruption. result reads cached measurements; start queues a file or a bounded batch. semantic needs an existing local CLAP model and optional dependencies.

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

Input Schema

NameRequiredDescriptionDefault
pathNo
limitNo
actionNostatus
job_idNo
semanticNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only give the generic profile (readOnly false, destructive false, not idempotent), so the description adds real value: work happens out-of-process, the Live set is untouched, jobs persist and resume after interruption, and result reads cached measurements rather than recomputing. That is meaningful behavioral context beyond structured fields, though it stops short of describing what a measurement result contains or how long jobs take.

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

Conciseness4/5

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

Four tight sentences, front-loaded with the core behavior and the 'without touching Live' scoping claim, with every clause carrying information. The semicolon-packed middle sentence compresses multiple ideas together, which is slightly dense but not wasteful.

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 five-parameter, non-idempotent job tool with no output schema and no per-parameter documentation, the description covers the essentials of starting and reading jobs but leaves gaps: status/cancel/resume semantics and the shape of returned measurements are unexplained. Adequate to call correctly in the common case, but not complete.

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%, so the description must carry all five parameters and only partially does. It implies path constraints (indexed sample roots), hints at limit via 'bounded batch', and explains semantic's dependency, plus the job model behind job_id, but it never enumerates the action enum's five values or their individual requirements.

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 states a clear verb and resource: it analyzes actual audio in a separate process, and explicitly says it does not touch Live, which distinguishes it from in-session tools like load_sample or clip_edit. It falls short of a 5 because it never names a sibling alternative or defines the scope boundary against sample_search/batch in so many words.

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?

It gives useful preconditions (files must live in indexed sample roots; semantic requires a local CLAP model and optional dependencies) and sketches the action model: result reads cached measurements, start queues a file or bounded batch. However, guidance is only partial: cancel, status, and resume are never explained except in the generic 'jobs persist and resume' line, and there is no explicit statement of when to prefer this over sample_search or batch.

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