Skip to main content
Glama

Play a sound file

play_sound

Play a specified WAV audio file through the machine's speakers. Use when the user explicitly requests sound playback on the local device.

Instructions

Do not call this. The user always plays sounds in the library web app. Only use if they explicitly ask you to play through the machine speakers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesPath to the .wav file to play.
Behavior4/5

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

There are no annotations, so the description carries the burden. It discloses that the tool plays via machine speakers and should be used only on explicit request, implying it is an exceptional, potentially disruptive action. However, it doesn't detail other behavioral traits like duration or volume.

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?

The description is three short sentences, front-loaded with a critical warning, and every sentence carries meaningful information. No wasted words.

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 simple one-parameter tool with a complete schema and no output schema, the description adequately covers purpose, usage context, and the exception. It lacks explicit mention of audio disruption, but 'machine speakers' implies it, making it reasonably 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?

The schema provides 100% parameter description ('Path to the .wav file to play.'). The tool description adds no additional parameter semantics, so baseline 3 applies.

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 description clearly states the tool plays a sound file through machine speakers, with a specific verb ('play') and resource ('sound file'). It distinguishes from the normal web app playback, though it doesn't explicitly name sibling tools.

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 when-to-use and when-not-to-use guidance: 'Do not call this' normally, and 'Only use if they explicitly ask you to play through the machine speakers.' This clearly differentiates from the standard library web app playback scenario.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zaynabed/bfxr-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server