Skip to main content
Glama

Validate particles

validate
Read-only

Checks particle files for structural errors, unknown components, Molang syntax issues, undefined variables, missing events/textures, UV bounds, and broken links; validates whole packs by default.

Instructions

Check particle files for structural errors, unknown components (with typo suggestions), Molang syntax errors, undefined variables, missing events/textures, UV out of bounds and broken composite links. Without target, checks the whole pack.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
packNo
targetNoidentifier or file; includes the layers it spawns
verboseNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

readOnlyHint=true is consistent with a 'check' operation, so no contradiction exists, and the description adds real value by naming the seven categories of defect it looks for. However, it says nothing about how findings are surfaced (severity levels, counts, pass/fail) — important since there is no output schema — nor how long a whole-pack run might take.

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?

The definition is a single tightly packed sentence with the action front-loaded and the default-scope rule appended at the end. The long enumeration of checks is informative rather than padding, though it could be broken into two sentences for scanability.

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, zero-required-parameter tool this covers the 'what does it check' question well. What it omits is the shape of the result (issue list? error count?) and the meaning of two of the three parameters, which matters because there is no output schema to fall back on.

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 coverage is only 33%, with just `target` described as 'identifier or file; includes the layers it spawns'. The description partially compensates by explaining that omitting `target` validates the entire pack, but `pack` and `verbose` receive no explanation anywhere, leaving a real gap.

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 opens with a specific verb and resource ('Check particle files') and then enumerates the exact classes of problems detected (structural errors, unknown components, Molang syntax, undefined variables, missing events/textures, UV bounds, composite links). That is far more specific than the title alone, though it never names a sibling such as lint_performance to draw the boundary explicitly.

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?

The only usage guidance is the scoping rule 'Without target, checks the whole pack', which usefully tells the agent it can omit the parameter for a full-pack sweep. There is no statement of when to prefer this over a sibling like lint_performance or scan_project, and no prerequisites or exclusions are given.

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