Skip to main content
Glama
boshyxd

Roblox Studio MCP Server

mass_set_property

Set a single property on multiple instances simultaneously. Streamline workflows in Roblox Studio by applying batch property modifications with ease.

Instructions

Set the same property on multiple instances at once

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathsYesArray of instance paths to modify
propertyNameYesName of the property to set
propertyValueYesValue to set the property to (any type)

Implementation Reference

  • The core handler function that validates input parameters and sends an API request to the Roblox Studio bridge to mass set the specified property on multiple instance paths. Returns formatted response content for MCP.
    async massSetProperty(paths: string[], propertyName: string, propertyValue: any) {
      if (!paths || paths.length === 0 || !propertyName) {
        throw new Error('Paths array and property name are required for mass_set_property');
      }
      const response = await this.client.request('/api/mass-set-property', { 
        paths, 
        propertyName, 
        propertyValue 
      });
      return {
        content: [
          {
            type: 'text',
            text: JSON.stringify(response, null, 2)
          }
        ]
      };
    }
  • The input schema definition for the mass_set_property tool, including parameters paths (array of strings), propertyName (string), and propertyValue (any), as returned in the MCP ListTools response.
    {
      name: 'mass_set_property',
      description: 'Set the same property on multiple instances at once',
      inputSchema: {
        type: 'object',
        properties: {
          paths: {
            type: 'array',
            items: { type: 'string' },
            description: 'Array of instance paths to modify'
          },
          propertyName: {
            type: 'string',
            description: 'Name of the property to set'
          },
          propertyValue: {
            description: 'Value to set the property to (any type)'
          }
        },
        required: ['paths', 'propertyName', 'propertyValue']
      }
    },
  • src/index.ts:680-683 (registration)
    The dispatch/registration in the MCP server's CallToolRequest handler switch statement, which routes calls to mass_set_property to the tools.massSetProperty method.
    case 'mass_set_property':
      return await this.tools.massSetProperty((args as any)?.paths as string[], (args as any)?.propertyName as string, (args as any)?.propertyValue);
    case 'mass_get_property':
      return await this.tools.massGetProperty((args as any)?.paths as string[], (args as any)?.propertyName as string);
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. 'Set' implies a write/mutation operation, but the description doesn't address permissions required, whether changes are reversible, error handling for invalid paths/properties, or performance implications of bulk operations. It lacks critical behavioral context for a mutation tool.

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 a single, efficient sentence that directly states the tool's purpose without unnecessary words. It's front-loaded with the core action and immediately communicates the bulk nature of the operation.

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

Completeness2/5

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

For a mutation tool with 3 parameters and no annotations or output schema, the description is insufficient. It doesn't explain what happens when properties are set (e.g., validation, side effects), doesn't mention error conditions, and provides no information about return values or success indicators.

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 description coverage is 100%, with clear parameter documentation in the schema. The description adds no additional parameter semantics beyond implying bulk operation through 'multiple instances', which aligns with the 'paths' array parameter. This meets the baseline for high schema coverage.

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?

The description clearly states the action ('Set') and target ('property on multiple instances at once'), distinguishing it from single-instance tools like 'set_property'. However, it doesn't specify what type of 'instances' or 'property' are involved, leaving some ambiguity about the exact resource being modified.

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

Usage Guidelines2/5

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

The description implies this is for bulk operations ('multiple instances at once'), but provides no explicit guidance on when to use this versus alternatives like 'set_property' (for single instances) or 'mass_create_objects_with_properties' (for creation with properties). No prerequisites, exclusions, or comparative context are mentioned.

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

Related 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/boshyxd/robloxstudio-mcp'

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