Skip to main content
Glama
grandMA2 MCP
by drohi-r

assign_world_to_user_profile

Assign a World fixture-visibility mask to a User Profile (admin-only) to restrict users to visible fixtures and attributes; set world_slot=0 to remove the restriction.

Instructions

Assign a World (fixture visibility mask) to a User Profile (DESTRUCTIVE — Admin only).

Restricts all Users assigned to this profile to only access fixtures and attributes
visible in the specified World. Use world_slot=0 to remove the restriction (None).

Args:
    user_profile_slot: UserProfile slot number to modify
    world_slot: World slot number (0 = no restriction / remove World assignment)
    confirm_destructive: Must be True to execute

Returns:
    str: JSON result with command sent

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": {
      "user_profile_slot": "<user_profile_slot>",
      "world_slot": "<world_slot>"
    },
    "name": "assign_world_to_user_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
world_slotYes
user_profile_slotYes
confirm_destructiveNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it flags DESTRUCTIVE, Admin-only, describes the blast radius (all Users on the profile lose access to fixtures outside the World), and documents the confirm_destructive guard. It omits what happens when confirm_destructive is false or omitted, and whether the change is reversible without reassignment.

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 action and the DESTRUCTIVE warning, then the effect, then structured Args/Returns. Every sentence adds information; nothing is padded.

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?

For a destructive 3-parameter mutation with no annotations, the definition covers safety, intent, and every parameter. An output schema exists so return details are optional, and the only real gap is prerequisite discovery of slot numbers and error behavior on a missing/false confirmation.

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 description coverage is 0%, so the description must compensate and largely does: all three parameters are explained, including the non-obvious world_slot=0 sentinel meaning 'remove restriction'. It does not state valid slot ranges or how to discover existing UserProfile/World slot numbers.

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?

States a specific verb and resource ('Assign a World ... to a User Profile') and immediately explains what a World is (a fixture visibility mask) and its effect (restricting all users on that profile). The purpose is unambiguous, though it doesn't explicitly differentiate itself from sibling assign_* tools such as assign_object or store_world.

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?

Clearly states the caller must be an Admin, that confirm_destructive must be True, and gives an explicit removal path via world_slot=0. It does not route the agent to alternatives (e.g. get_world_state or store_world) or state what to do if the slot numbers are unknown.

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

Deploy Server

Other Tools