Skip to main content
Glama

detect_accent

Identify the accent in an audio file by returning one whole-file label and labels for consecutive time windows.

Instructions

Detect the accent in one audio file: one whole-file label plus a label per time window.

The result is a model signal, not proof of origin. The audio is uploaded to Modulate's Velma API. Allowed formats: aac, aiff, flac, mp3, mp4, mov, ogg, opus, wav, webm. Max 100 MB. Returns 'accent' (a string such as 'British') and 'time_series' (consecutive fixed-length windows with start_ms, duration_ms, accent). A file shorter than one window has an empty time_series.

file_path: path to the audio file, relative to VELMA_MCP_BASE_PATH or absolute inside it.

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": {
      "file_path": "<file_path>"
    },
    "name": "detect_accent"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations present, the description does real work: it discloses third-party data egress to Modulate's Velma API, a 100 MB ceiling, the supported format list, a short-file edge case (empty time_series), and an epistemic caveat that the output is a model signal not proof of origin. It stops short of mentioning authentication, rate limits, or whether a 100 MB upload blocks for a long time.

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?

Purpose is front-loaded, then caveat, data handling, constraints, return shape, and finally the parameter rule — a sensible order with essentially no filler. The format/size constraints are packed into slightly clipped sentence fragments, and the parameter note sits at the very end where it is easy to skim past.

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?

For a single-parameter file-input tool the definition covers data handling, constraints, edge cases, and return structure (redundant with the output schema but harmless). Open items are operational rather than semantic: typical processing latency for large uploads and what happens on unsupported or oversized files.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema offers only a bare 'File Path' title at 0% coverage, and the description compensates fully: it defines the path as relative to VELMA_MCP_BASE_PATH or absolute inside it, which is the exact resolution rule an agent needs to construct a valid value.

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 first sentence gives a specific verb and resource ('Detect the accent in one audio file') and immediately characterizes the output as a whole-file label plus per-window labels. It clearly sits apart from detect_language, detect_emotion, and detect_synthetic_voice, though it never explicitly states the contrast with those siblings, so it falls just short of a 5.

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?

Scope is implied rather than instructed: the reader learns it handles exactly one file and returns windowed labels, which suggests per-file accent analysis. There is no explicit when-to-use, when-not-to-use, or direction to a sibling such as detect_language for language identification.

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