Skip to main content
Glama

get_switch_container_assignments

Read-onlyIdempotent

Retrieves switch/state-to-child assignments for a Switch Container to audit assignments, find unassigned switches, or document switch mappings.

Instructions

Get the switch/state-to-child assignments for a Switch Container.

Returns which child object plays for each switch or state value. Use this to audit assignments, find unassigned switches, or document switch mappings.

Args: object_path: Project path to the Switch Container. e.g. "\Containers\Default Work Unit\Footstep_Switch" object_guid: GUID of the Switch Container. object_name_with_type: type:name. e.g. "Global:245489792"

Provide exactly one of object_path, object_guid, or object_name_with_type.

Returns {"return": [...]} — array of assignment pairs, each containing: child: GUID/name/path of the child object assigned to a switch/state stateOrSwitch: GUID/name/path of the switch or state value

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
object_pathNo
object_guidNo
object_name_with_typeNo
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, so the description adds limited behavioral context beyond return structure. It discloses that the tool returns an array of assignment pairs, which is helpful but not required given annotations. Overall, annotations cover safety, and description adds moderate value.

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 concise and well-structured: a single-line summary, two usage sentences, a clear parameter list with examples, and a return type definition. Every sentence adds value with no redundancy.

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?

Despite no output schema, the description includes the return structure (array with 'child' and 'stateOrSwitch' fields). The tool has three parameters but is simple; the description covers use cases and parameter constraints, making it complete for an agent to invoke correctly.

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

Parameters5/5

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

Input schema has 0% description coverage, but the description documents all three parameters with clear roles and an example for object_name_with_type. It also specifies the mutual exclusivity requirement. This fully compensates for missing schema descriptions.

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 clearly states the tool gets 'switch/state-to-child assignments for a Switch Container,' specifies what it returns, and uses action verbs like 'Get' and 'Returns.' It distinguishes this tool from siblings by being specific to switch container assignments, unlike generic 'get_wwise_object_info' or 'get_blend_track_assignments.'

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides usage context: 'Use this to audit assignments, find unassigned switches, or document switch mappings.' It also instructs to provide exactly one of the three parameters. However, it does not explicitly say when NOT to use this tool or mention alternative sibling tools, which would improve guidance.

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/silver-rain-dev/sk-wwise-mcp'

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