Skip to main content
Glama

Use the same sound in several events

share_sound
Destructive

Makes several events of the same game play the sound of one variation's event (e.g. the same 'Building' sound on all buildings), instead of generating one sound per event. Live link: changing the sound on the original changes it everywhere; the variation joins the original's list if it wasn't there yet. The sounds the target events had are removed from their lists, so ask the user first if they already have chosen sounds. Doesn't generate or spend credits. Pass event_ids, or same_name=true to reach every event in the game with the source event's name. For one sound shared by all entities of a folder, a folder event (create_event with folder_id) is simpler.

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": {
      "generation_id": "<generation_id>"
    },
    "name": "share_sound"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_idsNoThe events that will play the same sound (ids from get_entity or list_folders), in the same game. Up to 500.
same_nameNotrue also adds every event in the game with the source event's name (default false).
generation_idYesA variation of the source event (generation id, from get_entity). Its event becomes the original.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / event_ids / description
      Added value: +"The events that will play the same sound (ids from get_entity or list_folders), in the same game. Up to 500."
    • addedInput schema / properties / generation_id / description
      Added value: +"A variation of the source event (generation id, from get_entity). Its event becomes the original."
    • addedInput schema / properties / same_name / description
      Added value: +"true also adds every event in the game with the source event's name (default false)."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the destructiveHint=true annotation by explaining exactly what is destroyed (the target events' previously chosen sounds are removed from their lists) and what side effects follow (live link, variation joins the original's list if absent). It also rules out cost implications ('Doesn't generate or spend credits'), which is meaningful context given destructiveHint=true.

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?

Front-loaded with the core action, then side effects, then a safety caveat, then parameter routing, then an alternative. Every sentence carries actionable information with no filler or repetition.

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?

Covers purpose, side effects, cost, parameter routing, and an alternative, which is strong for a 3-parameter destructive tool with no output schema. It does not say what is returned (e.g. job id or confirmation) or whether partial failures across up to 500 events are handled, leaving a small gap for a bulk mutation.

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 the baseline is 3, but the description adds real meaning: it explains the OR relationship between event_ids and same_name, clarifies that generation_id denotes the source variation whose event becomes the original, and that all events must be in the same game. It does not restate the 500-item cap, but that is already 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?

States a specific verb and resource: makes several events play the sound of one variation's event instead of generating one sound per event. The parenthetical example ('Building' sound on all buildings) and the explicit contrast with 'generating one sound per event' make the mechanism unmistakable and distinguish it from generate_sounds/choose_sound.

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?

Gives explicit when-to-use conditions ('Pass event_ids, or same_name=true to reach every event in the game with the source event's name') plus a named alternative for a related case (a folder event via create_event with folder_id). It also states a when-not/precondition: ask the user first if target events already have chosen sounds.

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