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

roblox_script_grep

Read-onlyIdempotent

Search script source across Roblox Studio's data model by pattern to locate code for inspection or targeted edits.

Instructions

Search script source across the Studio data model.

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": {
      "pattern": "<pattern>"
    },
    "name": "roblox_script_grep"
  }
}

Input Schema

NameRequiredDescriptionDefault
patternYes
studio_idNoTarget Studio instance ID.
instance_idNoAlias for studio_id.
max_resultsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint, so the safety profile is covered. The description adds almost nothing beyond them — no mention of result caps (schema max 50), no output/result shape, no performance or truncation behavior, and no indication of what happens when no scripts match.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence with zero wasted words, and the core action is front-loaded. However, brevity here reads as under-specification rather than discipline, given four parameters and several plausible sibling alternatives.

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 read-only search tool with no output schema, the bar is lower, and the description does establish the search target. Still, with four parameters at 50% coverage and multiple lookalike siblings, an agent lacks enough to call it confidently or predict its results.

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?

Schema coverage is only 50%: studio_id/instance_id are documented as an alias pair, but pattern and max_results carry no schema description. The description does not compensate — it never states pattern syntax (regex vs literal, case sensitivity) or that max_results caps at 50, which is the single most important semantic for a grep-like tool.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Search script source across the Studio data model" gives a concrete verb (search) plus resource (script source) and scope (Studio data model), so the basic action is clear. But it never distinguishes itself from siblings like roblox_script_search or roblox_script_read, and despite the 'grep' name it does not say whether the pattern is regex, glob, or literal.

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?

There is no when-to-use guidance at all: no statement of when to pick this over roblox_script_search, when to use roblox_script_read instead, or whether it searches the whole data model or a scoped instance. The reader must infer selection from the tool name alone.

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