Skip to main content
Glama

Sound direction

set_sound_direction
Idempotent

Sets the style rules every generation follows, so the game's sounds match (materials, what to avoid, duration, mixing). With game_id it applies to the whole game; with folder_id, to everything inside the folder (added to the game's). Empty text clears it. The text replaces what was there and guides only the next generations: existing sounds stay as they are. Spends no credits. Use it when the user describes the style of the game's audio, before generating; create_game already takes sound_direction for a new game.

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": {
      "text": "<text>"
    },
    "name": "set_sound_direction"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe style rules as plain text (materials, what to avoid, duration, mixing), e.g. 'cartoon, dry, no reverb'. Empty text clears them.
game_idNoThe game whose rules you set (from list_games). Pass game_id OR folder_id.
folder_idNoA folder (from list_folders): the rules apply to everything inside it, on top of the game's. Pass game_id OR folder_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / folder_id / description
      Added value: +"A folder (from list_folders): the rules apply to everything inside it, on top of the game's. Pass game_id OR folder_id."
    • addedInput schema / properties / game_id / description
      Added value: +"The game whose rules you set (from list_games). Pass game_id OR folder_id."
    • addedInput schema / properties / text / description
      Added value: +"The style rules as plain text (materials, what to avoid, duration, mixing), e.g. 'cartoon, dry, no reverb'. Empty text clears them."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (mutation, idempotent, non-destructive), the description discloses the crucial behaviors: the text replaces prior rules rather than appending, it only affects future generations while existing sounds stay untouched, empty text clears the rules, and it spends no credits. Those are exactly the consequences an agent needs before invoking a write operation.

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?

It is a single dense paragraph that front-loads the core purpose, then scoping, then behavioral caveats, then the usage cue. Every clause carries information, though the parenthetical field list appears twice (once in the main sentence and again in the schema text) and the paragraph could be split for scanability.

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?

With no output schema and only three parameters, the description covers everything an agent needs: what is set, how scoping works, that existing sounds are unaffected, that the operation is free, how to clear, and when to prefer it over create_game. Nothing material is left to inference.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds real meaning: game_id scopes to the whole game, folder_id applies on top of the game's rules, and text is a replacement, not an addition, with empty string as the clear signal. The only redundancy is restating the 'empty text clears it' point already present in the schema.

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 description opens with a specific verb and resource: it 'sets the style rules every generation follows' for the game's sounds, and immediately enumerates what those rules cover (materials, what to avoid, duration, mixing). It is clearly distinguishable from siblings like generate_sounds or choose_sound, which produce or pick individual sounds rather than set global style rules.

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?

It states the trigger explicitly ('use it when the user describes the style of the game's audio, before generating') and names an alternative path: create_game already accepts sound_direction for a new game. It also spells out the two scoping modes (game-wide vs folder-level) so the agent knows which parameter to choose.

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