Skip to main content
Glama
dcc-mcp-roblox-studio
by dcc-mcp

roblox_get_class_schema

Read-onlyIdempotent

Retrieve the supported property schema for any Roblox Instance class to validate property names and types before reading or editing objects.

Instructions

Return the supported property schema for a Roblox Instance class.

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": {
      "class_name": "<class_name>"
    },
    "name": "roblox_get_class_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
class_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is fully covered without the description. The description adds no behavioral context beyond that: nothing about whether unknown class names throw or return empty, whether inherited properties are included, or how large the payload can be. With annotations lowering the bar, it still contributes essentially nothing.

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?

A single front-loaded sentence with no filler or repetition, so nothing is wasted. Its brevity is a virtue for structure even though the omitted detail is penalized under other dimensions.

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?

With no output schema and an undocumented parameter, the description should have explained the shape of the returned schema (property names, types, read-only flags, inheritance) and valid class_name inputs. For a schema-introspection tool those omissions are material, leaving the agent to discover the contract by trial and error.

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

Parameters2/5

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

There is one parameter with 0% schema description coverage, so the description carries the full burden and does not meet it. It never clarifies the expected format of class_name — plain class name vs. dotted/inheritance path, case sensitivity, or whether services are valid targets.

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 gives a specific verb ('Return') and a precise resource ('supported property schema for a Roblox Instance class'), so an agent knows exactly what this tool produces. It does not distinguish itself from nearby introspection siblings such as roblox_inspect_instance or roblox_search_game_tree, which is the only thing keeping it from a 5.

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?

Usage is only implied: an agent can infer this is a pre-flight lookup to discover valid property names before calling roblox_modify_instance or roblox_create_instance, but the description never says so. There is no stated when-not-to-use and no named alternative for cases where the agent already knows the property set.

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