Skip to main content
Glama

check_scene

Validates Three.js .js or .html wallpaper scenes against Wallrus size, ES module, and anti-game guardrails before deployment, catching issues that block publishing.

Instructions

Validates a Three.js .js or .html wallpaper scene against Wallrus size, ES module contract, and anti-game guardrails (no PointerLockControls, gamepads, or eval) before deploying.

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": "check_scene"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNoInline scene source code to check.
pathNoPath to a .js or .html scene file to check.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and does reasonably well: it enumerates the validation categories and even lists concrete forbidden APIs (PointerLockControls, gamepads, eval), which tells the agent this is a non-destructive static check. It omits what a failure looks like, whether violations are reported per-rule, and whether any file is written or touched.

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?

A single front-loaded sentence with the action first and the rule details after; every clause (file types, three rule families, forbidden APIs, deploy timing) earns its place with no filler.

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?

There is no output schema and no annotations, so the description must fully define the interaction. It covers what gets checked and when, but gives no hint of the return shape (pass/fail, violation list, severity) — the main missing piece for a validator an agent must act 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 description coverage is 100%, so both 'code' and 'path' are already documented in the schema. The description adds no guidance on their relationship (mutual exclusivity, precedence, or that either may be supplied given 0 required params), so it stays at the baseline.

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+resource: 'Validates a Three.js .js or .html wallpaper scene' against named rule sets (Wallrus size, ES module contract, anti-game guardrails). It reads clearly against get_scene_contract (which supplies rules) and set_wallpaper_scene (which deploys), though it never names a sibling explicitly.

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?

'before deploying' gives a clear lifecycle trigger for when to call this tool. It does not state when NOT to use it, nor which of the code/path inputs to prefer, but the pre-deploy gate context is unambiguous.

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