Skip to main content
Glama

set_soft_shadow

Add, adjust, or remove Soft Shadows on battle map objects, walls, and paths; requires the Soft Shadows mod and supports batch edits with one undo step.

Instructions

Add, change or remove Moulk's Soft Shadows on objects, walls and paths.

Needs the Soft Shadows mod (ping reports soft_shadows); refused without
it. One undo step for all ids; all are checked before any changes.
enabled: false removes the shadow. An element without one starts from
the mod's current defaults for its kind; one with a shadow keeps its other
settings.
opacity: 0-2 (above 1 darkens the blurred edge). offset: [x, y] in woxels,
where the shadow falls. color: '#rrggbb'.
settings: any other key of that element's shadow, such as blur for
objects, or softness and spread for walls and paths. get_element(id)
lists an element's soft_shadow keys once it has one; an unknown key is
refused. Prefer a modest offset (20-60) and opacity (0.4-0.8).

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": {
      "ids": "<ids>"
    },
    "name": "set_soft_shadow"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes
colorNo
offsetNo
enabledNo
opacityNo
settingsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full behavioral burden and does so: it discloses the mod dependency and refusal behavior, all-or-nothing atomicity across ids ("all are checked before any changes"), that the operation collapses into one undo step, and that unknown settings keys are rejected. It also explains inheritance semantics — elements without a shadow start from the mod's defaults for their kind, while existing shadows retain other settings.

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?

Purpose is front-loaded in the first line, followed by prerequisites, atomicity, then per-parameter notes — a logical order with no filler sentences. It is dense and uses domain jargon (woxels, Moulk's) without definition, but nothing is redundant.

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?

For a six-parameter mutation tool with no annotations, no output schema, and zero schema coverage, the description covers prerequisites, atomicity, per-parameter meaning, defaults inheritance, and error behavior. Minor gaps remain: the ids array itself (up to 100 elements) is never described, and there is no indication of what the call returns or how to verify results beyond referencing undo.

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

Parameters5/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: enabled (false removes), opacity (0-2, with the non-obvious note that above 1 darkens the blurred edge), offset ([x, y] in woxels with directional meaning), color ('#rrggbb' format), and settings (arbitrary per-kind keys with blur/softness/spread examples plus the get_element discovery route). It also supplies practical value ranges (offset 20-60, opacity 0.4-0.8) that the schema's bare min/max cannot convey.

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

Purpose5/5

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

Opens with a specific verb and resource plus scope: "Add, change or remove Moulk's Soft Shadows on objects, walls and paths." The three supported element kinds are named, so an agent knows exactly what surface this tool covers and no sibling in the list offers shadow editing.

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?

Gives clear preconditions (requires the Soft Shadows mod, discovered via ping reports soft_shadows; refused without it) and a discovery path for unknown settings via get_element(id). It also inverts the expected semantics explicitly ("enabled: false removes the shadow") and gives sensible value guidance. It stops short of routing between removal vs. modification workflows, but the context is otherwise unambiguous.

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

Deploy Server

Other Tools