Skip to main content
Glama

Pre-check an audio URL

barevalue_validate
Read-only

Check an audio file at a URL before ordering: confirms it can be downloaded, measures its length and checks it is speech and not music or silence. Nothing is charged.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoBarevalue API key (bv_sk_...). Get one with barevalue_register. Omit when the connection already sends an Authorization: Bearer header.
file_urlYesDirect, publicly downloadable URL of the audio file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely new behavioral context: 'Nothing is charged,' which the annotations cannot express, plus a concrete account of what work the check performs. It omits what a failed check returns (error vs. verdict), which is the remaining gap.

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?

A single sentence that front-loads the action, then lists the three checks, then closes with the cost reassurance. No filler, no repetition of the title.

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?

No output schema exists, so the description must carry the return-value burden; it does so partially by naming what is measured (length, speech/music/silence), but never states the shape of the result or how a negative verdict is surfaced. For a two-parameter pre-check tool with full schema coverage and annotations, this is nearly 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 100%, and both parameters (api_key, file_url) carry their own descriptions including the Bearer-header fallback and the 'publicly downloadable' constraint. The description only echoes the URL notion, adding nothing beyond the schema, so the baseline 3 applies.

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 concrete verb and resource (check an audio file at a URL) and then enumerates exactly what the check covers: downloadability, length, and speech-vs-music/silence classification. The phrase 'before ordering' implicitly separates it from barevalue_submit_url, so an agent can route between the two without opening 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?

Gives clear context for when to call it ('before ordering'), which frames it as a pre-flight gate ahead of the submit step. It stops short of naming barevalue_submit_url as the alternative or stating when a check is unnecessary (e.g., already-known-good URLs), so it is clear but not exhaustive.

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.