Skip to main content
Glama

get_role_sound

Read-only

Choose this when the task calls for a sound for a named event or interaction — a button click, purchase success, error beep, level-up, dialogue blip, notification. Pass the role as plain words: role ids (click, success, purchase-success, dialogue-blip, notification…) and common aliases (button click, ka-ching, jump scare, text blip…) are all accepted. Returns a qualified candidate for that role when one satisfies the requested constraints, with MP3 and WAV URLs, 2-3 alternates and the family page for browsing more. Free downloads are WAV or MP3 alike, counted by sound, not format. Download selected files locally and retain originals. Task-permitted processing requires a recipe, output SHA256, renewed file checks and a listening check. Other task-permitted sources or local synthesis may be mixed in. Optional style: crisp (short, bright, dry), soft (darker, gentler), spacious (reverb, longer tail), balanced (default: most typical). For multiple events consider get_sound_set; use search_sounds for a description or a gap. These are task branches, not a fixed sequence. Unknown roles return not_found with the full role list; GET https://sfxmint.com/api/v1/roles lists roles with aliases.

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": {
      "role": "<role>"
    },
    "name": "get_role_sound"
  }
}

Input Schema

NameRequiredDescriptionDefault
loopNoRequire prepared loop metadata; seam evidence is returned separately.
roleYesRole id or alias, e.g. 'click', 'button click', 'purchase-success', 'ka-ching', 'error beep', 'level-up', 'dialogue blip', 'notification'
styleNoOptional. balanced (default) = the family's most typical take; crisp = short, bright, dry; soft = darker, gentler; spacious = reverb, longer tail
formatNoDelivery format the candidate must have (ogg = Ogg Vorbis, only sounds published before 2026-10-14 have it); default MP3 and WAV URLs.
max_duration_msNoHard maximum length of the sound in milliseconds: a file may run longer with near-silence after the sound (audible_ms is the sound, duration_ms the file; checks say which was met).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / format / description
      Previous value: -"Delivery format the candidate must have (ogg = Ogg Vorbis, only sounds published before 2026-10-14 have it); default MP3 and WAV URLs. Downloading a WAV takes a download credit."New value: +"Delivery format the candidate must have (ogg = Ogg Vorbis, only sounds published before 2026-10-14 have it); default MP3 and WAV URLs."
  2. Changed1 schema field changed
    • changedInput schema / properties / format / description
      Previous value: -"Delivery format the candidate must have (ogg = Ogg Vorbis, only sounds published before 2026-10-14 have it); default MP3 and WAV URLs. Downloading a WAV takes a download pack."New value: +"Delivery format the candidate must have (ogg = Ogg Vorbis, only sounds published before 2026-10-14 have it); default MP3 and WAV URLs. Downloading a WAV takes a download credit."
  3. Changed1 schema field changed
    • changedInput schema / properties / format / description
      Previous value: -"Delivery format the candidate must have (ogg = Ogg Vorbis, only sounds published before 2026-10-14 have it); default MP3 and WAV URLs."New value: +"Delivery format the candidate must have (ogg = Ogg Vorbis, only sounds published before 2026-10-14 have it); default MP3 and WAV URLs. Downloading a WAV takes a download pack."
  4. Changed1 schema field changed
    • addedInput schema / properties / format / description
      Added value: +"Delivery format the candidate must have (ogg = Ogg Vorbis, only sounds published before 2026-10-14 have it); default MP3 and WAV URLs."
  5. Changed1 schema field changed
    • changedInput schema / properties / max_duration_ms / description
      Previous value: -"Hard maximum delivered duration in milliseconds."New value: +"Hard maximum length of the sound in milliseconds: a file may run longer with near-silence after the sound (audible_ms is the sound, duration_ms the file; checks say which was met)."
  6. Changed1 schema field changed
    • changedInput schema / properties / role / description
      Previous value: -"Role id or alias, e.g. 'click', 'button click', 'purchase-success', 'ka-ching', 'error beep', 'level-up', 'dialogue blip', 'rain-loop'"New value: +"Role id or alias, e.g. 'click', 'button click', 'purchase-success', 'ka-ching', 'error beep', 'level-up', 'dialogue blip', 'notification'"
  7. Changed1 schema field changed
    • changedInput schema / properties / format / enum
      Previous value: -[
      -  "wav",
      -  "mp3"
      -]New value: +[
      +  "wav",
      +  "mp3",
      +  "ogg"
      +]
  8. Changed3 schema fields changed
    • addedInput schema / properties / format
      Added value: +{
      +  "enum": [
      +    "wav",
      +    "mp3"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / loop
      Added value: +{
      +  "description": "Require prepared loop metadata; seam evidence is returned separately.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / max_duration_ms
      Added value: +{
      +  "description": "Hard maximum delivered duration in milliseconds.",
      +  "type": "number"
      +}
  9. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare this is a safe, non-open-world read, and the description goes further by disclosing the return shape (a qualified candidate, MP3 and WAV URLs, 2-3 alternates, family page) and the failure mode for unknown roles (not_found with the full role list plus a roles endpoint). The closing sentences about downloading files locally, retaining originals, and processing recipes/SHA256/listening checks describe a broader task workflow rather than this tool's behavior, so they add bulk more than transparency about this call.

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

Conciseness3/5

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

The routing guidance is front-loaded and the sentences are dense but purposeful. However, several sentences drift into downstream workflow (local downloads, originals retention, recipes, SHA256, listening checks) that an agent does not need in order to invoke this tool, and the style enum is repeated almost verbatim from the schema.

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?

There is no output schema, and the description compensates by describing what a successful call returns (candidate plus alternates, URLs, family page) and what happens on failure. For a single-role lookup with five well-documented parameters, nothing an agent needs in order to call it correctly is missing.

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 the schema already defines role aliases, the style enum with its four meanings, the format enum including the Ogg Vorbis cutoff date, and the audible_ms vs duration_ms distinction. The description largely restates the role examples and the style definitions, adding only the tolerance for plain-word aliases and the not_found fallback, so it sits at the baseline rather than extending parameter meaning.

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?

The first sentence states a specific verb-and-resource pair: select a sound for a named event or interaction, with concrete event examples (button click, purchase success, level-up). It also explicitly separates itself from siblings by naming get_sound_set for multiple events and search_sounds for a description or gap, so an agent can pick this tool without opening another schema.

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?

Usage conditions are explicit and paired with named alternatives and the condition that selects each one ('For multiple events consider get_sound_set; use search_sounds for a description or a gap'). It also clarifies that these are parallel branches rather than a fixed sequence, removing a common routing ambiguity.

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