Skip to main content
Glama

set_wallpaper_scene

Set or hot-swap the active 3D Three.js desktop wallpaper from a file path or inline ES module code; it validates WebGL2/GLSL and keeps the previous wallpaper on error.

Instructions

Sets or hot-swaps the active 3D Three.js desktop wallpaper from either a file path or inline ES module code. Validates WebGL2 & GLSL shader compilation; on error, keeps the previous working wallpaper alive and returns the exact stack trace / shader error.

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

Input Schema

NameRequiredDescriptionDefault
codeNoInline ES module Three.js code (saved automatically if path is omitted).
nameNoOptional filename stem when passing inline `code` (e.g. 'tokyo_rain').
pathNoPath to a .js Three.js scene file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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 burden and does well: it discloses WebGL2 and GLSL shader validation, and critically that on error the previous working wallpaper stays active and the exact stack trace/shader error is returned. It does not state what happens on success (return payload) or whether the swap is reversible, which keeps it below a 5.

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?

Two sentences, front-loaded with the action and source options, then the failure semantics. Every clause carries information an agent needs; there is no filler.

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

Completeness4/5

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

There is no output schema, so the description responsibly explains the error return path, but it leaves the success return value and the path/code precedence rule unspecified. For a zero-required-parameter mutation tool this is nearly complete, with only minor gaps.

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 100%, so the schema already documents all three parameters, including that name is the filename stem for inline code. The description reinforces the path/code duality but adds no syntax, format, or precedence details (e.g., what happens if both path and code are supplied), so baseline 3 applies.

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 and resource: setting or hot-swapping the active 3D Three.js desktop wallpaper, with two accepted input sources (file path or inline ES module code). This is clearly distinguishable from read-oriented siblings like get_wallpaper_status or check_scene, though no sibling is named 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?

It explains the two input routes (path vs. code) and notes that inline code is saved automatically when path is omitted, which implies source selection. However, it gives no guidance on when to use this instead of check_scene or get_scene_contract for validation, and no prerequisites or exclusions are stated.

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