Skip to main content
Glama

Focus sound command

focus_sound
Read-onlyIdempotent

A ready, safe command to make plain brown, pink or white noise of a chosen length with a fade in and out: ffmpeg, plus a SoX alternative, with one line on what each flag does. The command writes one audio file in the current folder; no downloads, no pipes, no administrator rights.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "focus_sound"
  }
}

Input Schema

NameRequiredDescriptionDefault
colourNoNoise colour (default brown)
formatNoOutput format for ffmpeg (default m4a)
volumeNoNoise amplitude, 0.05 to 1 (default 0.5)
minutesNoLength in minutes, 1 to 720 (default 60)
fade_secondsNoFade in and fade out, seconds, 0 to 120 (default 10)

Output Schema

NameRequiredDescriptionDefault
soxYes
fileYes
flagsYes
ffmpegYes
sox_fileYes
approx_size_mbYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior with a closed scope; the description adds real context on top: the output lands as one audio file in the current folder, and there are no downloads, no pipes, and no administrator rights required. It also discloses that both ffmpeg and a SoX fallback are covered and that each flag gets a one-line explanation. The only ambiguity is whether the tool runs the command or hands it back, which a single clause could have settled.

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?

Two sentences, front-loaded with what the tool produces and followed by the safety constraints. Nearly every clause earns its place, though 'with one line on what each flag does' is slightly awkward phrasing and the list of three exclusions (downloads, pipes, administrator rights) is a touch redundant given the closed-world annotation.

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?

An output schema exists, so return values need not be explained, and the remaining concerns for a moderate-complexity generator are covered: output location, safety profile, tooling used, and fallback. An agent knows what it will get and where it will land before calling.

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%, with enums and ranges documented for colour, format, volume, minutes, and fade_seconds, so the schema already carries the semantics. The description echoes the colour choices, the chosen length, and the fade in/out, and mentions format only indirectly via 'ffmpeg, plus a SoX alternative'. That adds nothing beyond what the schema states, so the 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 names a concrete deliverable: a ready-to-run ffmpeg/SoX command that produces brown, pink, or white noise of a chosen length with fade in and out, plus a per-flag explanation. That is far more specific than the title 'Focus sound command'. It stops short of 5 because it never distinguishes itself from the sibling sound_guide, so an agent must infer which of the two to reach for.

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?

Usage is only implied: the phrasing 'a ready, safe command' signals this is for generating a runnable command rather than sound advice, and the ffmpeg-with-SoX-alternative note hints at environment choice. There is no explicit when-to-use, when-not-to-use, or pointer to sound_guide as the alternative, so guidance is present but must be inferred.

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.