Skip to main content
Glama

get_audio_clip_base64

Read-onlyIdempotent

Retrieve a detection's audio clip as base64-encoded WAV for direct input to multimodal models. Use for single-clip verification only, not in high-frequency workflows.

Instructions

Download a detection's audio clip (.wav) and return it base64-encoded, for multimodal models that accept audio input directly. WARNING: a 15-second clip is roughly 350,000-500,000 tokens. Call sparingly for single-clip verification only — never inside high-frequency or scheduled workflows. Use get_audio_clip for a lightweight shareable URL instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clip_nameYesClip file name exactly as returned in a detection record, e.g. 'sialia_sialis_96p_20260829T192351Z.wav'
detection_dateNoDetection date in YYYY-MM-DD format; used as a fallback to locate the clip's folder when the filename embeds no parseable date

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond annotations by disclosing the severe token cost (350k-500k per 15s clip) and warning about appropriate invocation frequency. This is crucial behavioral context for an AI agent deciding whether to call the tool, and it complements the readOnlyHint and idempotentHint without contradicting them.

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?

Every sentence serves a distinct purpose: what the tool does, why it exists, a critical warning, and a pointer to the lighter alternative. No filler, and the most important operational caution (token size) is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter download tool with no output schema, the description covers the essential behavioral aspects: output format, cost implications, usage frequency constraints, and the alternative. Everything an agent needs to decide whether to invoke this tool and how to do so safely is present.

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% and both parameters are adequately documented in the schema itself. The tool description adds no additional parameter-level detail, which is acceptable given the schema already explains clip_name and detection_date thoroughly. Baseline 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?

States a specific verb ('Download'), a specific resource (detection's .wav audio clip), and a specific output format (base64-encoded). This makes the tool's purpose unambiguous and clearly distinguishes it from the sibling get_audio_clip by explaining what makes this version different (direct audio input for multimodal models).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit usage guidance: use for single-clip verification only, never in high-frequency or scheduled workflows, and names the alternative get_audio_clip for when a lightweight shareable URL is sufficient. These are clear when-to-use and when-not-to-use instructions.

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