Skip to main content
Glama
akontadakis
by akontadakis

colored_luminaire

Create a new colored Radiance luminaire file by injecting a channel triplet into an existing .rad file or raw text, leaving the original untouched, and return the new file's absolute path.

Instructions

Inject a channel triplet into a luminaire .rad, writing a NEW file (never edits the input).

count: 0=blue,1=green,2=red third of 9 values. The colored definition is written to work_dir (client-roots aware) as .rad — the source rad_path is left untouched — and its absolute path is returned. rad_path may be a .rad file path or raw .rad text. Returns {file, rad}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
countYes
rad_pathYes
work_dirNo
channels9Yes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure, and it does so well. It clearly states the tool writes a new file, never edits the input, writes to a client-roots-aware work_dir, leaves rad_path untouched, returns an absolute path, and returns {file, rad}. This is strong transparency for a side-effecting file-generation tool.

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?

The description is compact and information-dense, front-loading the core action and safety guarantee ('writing a NEW file (never edits the input)') before parameter specifics. Every sentence contributes distinct, useful information with minimal redundancy.

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 5-parameter tool with no annotations and 0% schema coverage, the description covers the main behavioral contract, output location, return value, and input flexibility. Minor gaps remain around optional parameter defaults (name, work_dir) and the exact structure of channels9, but the description is largely sufficient for an agent to invoke the tool correctly.

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. It gives useful semantics for count ('0=blue,1=green,2=red third of 9 values'), rad_path ('.rad file path or raw .rad text'), and implicitly name/work_dir via '<name>.rad' and 'work_dir'. However, channels9 is only loosely described as a 'channel triplet' and '9 values', leaving some ambiguity about its exact contents and ordering.

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?

The description opens with a specific verb and resource: 'Inject a channel triplet into a luminaire .rad', and immediately clarifies the key distinction that it writes a NEW file rather than editing the input. This clearly separates it from generic material or radiance writing tools and makes the tool's purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit guidance about when to prefer this tool over alternatives, nor any mention of when not to use it. While the description explains mechanics like rad_path accepting file paths or raw text, it does not state a use case or differentiate against sibling tools such as write_material or colored_sky.

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