Skip to main content
Glama

studio_patch_sound

Destructive

Change allowed Sound or AudioPlayer properties by supplying expected before-values to prevent conflicting edits and enable Studio undo.

Instructions

Change allowed Sound/AudioPlayer properties with optimistic conflict protection and Studio undo. Provide before values as expected.

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": {
      "session_id": "<session_id>",
      "path": "<path>",
      "expected": "<expected>",
      "properties": "<properties>"
    },
    "name": "studio_patch_sound"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesInstance name segments starting with a service; duplicate sibling names are rejected
expectedYes
propertiesYes
session_idYesExact session_id from studio_sessions. Never assume the current game is the intended target.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the annotations (readOnly=false, destructive=true, openWorld=false), the description adds two important traits: optimistic conflict protection (a concurrency model) and Studio undo (reversibility), plus the notion that only "allowed" properties can be changed. It does not describe what happens when the expected values do not match, but the added behavioral context is substantive.

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 the action and followed by the safety/concurrency constraints; nothing is padding. The phrase "as expected" is slightly awkward and mildly ambiguous, which keeps it short of a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, nested-object mutation with no output schema, the description covers the conflict-check protocol and undo, which are the highest-risk unknowns. It still leaves open which properties are "allowed" and what a caller gets back on success or conflict, so an agent could not fully predict outcomes.

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 coverage is 50%: path and session_id are documented in the schema, while the two nested objects, expected and properties, have no schema descriptions. "Provide before values as expected" does explain that `expected` holds prior values for the conflict check, but `properties` (the new values) and the shape of either object remain unexplained, so the description only partially compensates.

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?

"Change allowed Sound/AudioPlayer properties" gives a specific verb (change) and a specific resource (Sound/AudioPlayer properties), which separates it from the create/preview/inventory siblings. It does not name any sibling explicitly, so the differentiation is inferred rather than stated.

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?

The description implies mutation of existing instances and states a prerequisite ("Provide before values as expected"), but gives no when-to-use vs. when-not guidance and never points at studio_create_sound or studio_preview_sound as alternatives. Usage is inferable from the verb but not spelled out.

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