Skip to main content
Glama

Extract audio to JSON

claix.extract.audio
Read-onlyIdempotent

Extract structured JSON from spoken audio (MP3, WAV, M4A, OGG; max 12 MB / 10 minutes) using a Claix audio-json schema. Returns log_id. If source verification is enabled on the schema, each field is {value, source}. Unintelligible audio returns HTTP 422. Use for calls, meetings, voice notes, or dictations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoAPI key secreta de Claix. Ejemplo: claix_sk_abc123.... Opcional si la conexión MCP envía x-api-key en cabecera HTTP (recomendado en Smithery/Cursor).
filenameNoNombre original del archivo con extensión. Ejemplo: factura-2026-03.pdf. Ayuda a inferir el MIME cuando envías file_base64.
space_idNoOpcional. UUID del espacio de conocimiento donde agrupar el documento guardado. Ejemplo: 5b9e2c14-7d3a-4f8b-9e1c-6a0d4b8f2e7c. Debe pertenecer a la misma cuenta de la API key. Solo tiene efecto si el schema tiene la ventana de contexto activada, que es cuando el documento se guarda. Después puedes preguntar a todo el espacio con claix.space_context.ask.
file_pathNoURL HTTPS pública del archivo a procesar. Ejemplo: https://cdn.example.com/factura.pdf. No uses rutas locales del PC del usuario.
schema_idYesUUID del schema creado en el dashboard de Claix. Ejemplo: 550e8400-e29b-41d4-a716-446655440000. Llama a claix.schemas.list primero si no lo conoces.
file_base64NoArchivo codificado en Base64. Acepta data URLs (data:application/pdf;base64,...) o Base64 puro. Ejemplo de uso: adjunta el PDF/imagen del chat como Base64 antes de llamar a extract_*.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoJSON payload from the Claix API (extracted records, schema list, or Excel export metadata).
errorNoHuman-readable error message when success is false.
successYesTrue when Claix returned a successful response. False when isError is set on the tool result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds genuinely useful behavior beyond them: 12 MB / 10 minute ceilings, the log_id return, per-field {value, source} shape under source verification, and HTTP 422 for unintelligible audio. It does not cover auth expectations or how to retrieve results after log_id.

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?

Roughly four dense sentences, front-loaded with verb+resource and then limits, return shape, error case, and usage. No sentence is filler; each adds a constraint or a routing cue.

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?

With an output schema present, return values need not be explained, yet the description still surfaces log_id and the source-verification field shape. Formats, limits, error behavior, and usage contexts are all covered; the missing piece is differentiation from claix.agent.audio and any async/retrieval guidance.

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?

Schema description coverage is 100%, so the baseline is 3. The description still adds meaning the schema lacks for the file inputs: the accepted audio MIME types and the max size/duration constraints, which directly govern what can legally be passed.

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?

States a specific verb+resource ('Extract structured JSON from spoken audio') and immediately constrains it with accepted formats and size/duration limits. An agent can distinguish it from claix.extract.pdf or claix.extract.image from the name and description alone.

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?

'Use for calls, meetings, voice notes, or dictations' gives clear positive context for when to reach for this tool. However, it never names an alternative or an exclusion, and the very close sibling claix.agent.audio is left un-differentiated, which is the main routing risk.

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.

Resources