Skip to main content
Glama

set_hdri_world

Set the world sky to a local equirectangular HDRI for image-based lighting and realistic reflections; tune strength and Z rotation to place the sun or clouds.

Instructions

Set the world sky to an equirectangular HDRI (e.g. a Poly Haven CC0 .hdr downloaded beforehand). This is the realism baseline for outdoor scenes: image-based lighting, real sky colour and reflections. image_path: local .hdr/.exr file. strength: light energy multiplier (0.7-1.2 overcast). rotation_deg: spins the sky around Z to place the sun/clouds where the shot needs them.

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": {
      "image_path": "<image_path>"
    },
    "name": "set_hdri_world"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoWorld
strengthNo
image_pathYes
rotation_degNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose that a local .hdr/.exr must already exist (no fetch) and gives a practical strength range (0.7-1.2 for overcast). However, it never states that this replaces/overwrites the existing world node tree, whether it becomes the active scene world, or what errors occur for unsupported files — key for a mutation tool.

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?

It is front-loaded with purpose in the first sentence, then usage context, then per-parameter notes — no filler. The inline parameter sentences are dense but each carries distinguishing information rather than restating the schema.

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 four-parameter mutation tool with no annotations and no output schema, the description covers the file-input requirement and tuning knobs adequately. Gaps remain around replacement semantics, the unexplained 'name' parameter, and failure behavior, which leaves the agent under-informed about side effects.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate, and it does for three of four parameters: image_path is constrained to a local .hdr/.exr, strength is defined as a light energy multiplier with a concrete working range, and rotation_deg is defined as a Z-axis spin with its purpose (placing sun/clouds). Only the 'name' parameter (default 'World') is left unexplained.

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 names a specific verb and resource (set the world sky to an equirectangular HDRI) and explains the effect (image-based lighting, real sky colour, reflections). It does not explicitly contrast with the sibling set_world, so an agent must infer which one handles non-HDRI world setups.

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?

It gives clear usage context: 'the realism baseline for outdoor scenes' plus a note that the .hdr must be downloaded beforehand, which tells the agent when this tool is the right choice. No exclusions or named alternatives (e.g. a flat-colour world tool) are given, so it stops short of full routing guidance.

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