Skip to main content
Glama

spherical_harmonic_lighting_baker

Convert 360 HDRI environment maps into 9-coefficient Spherical Harmonics for real-time ambient diffuse lighting in 3D scenes.

Instructions

Projects 360 HDRI environment maps into 9-coefficient (L2) Spherical Harmonics for zero-cost real-time ambient diffuse irradiance calculation. (0.035 USDC on Base L2)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payloadYesInput parameters or JSON string payload for the tool execution
paymentSignatureNoBase L2 USDC micropayment signature or transaction hash for x402 settlement

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/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. It mentions the cost (0.035 USDC) but does not state whether the operation is read-only, whether it modifies any state, or any side effects. It also does not indicate whether it requires special permissions or the nature of the computation (e.g., if it's stateless). This is a significant gap for a compute service.

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?

The description is a single sentence that clearly communicates the core function, followed by a cost note. It is front-loaded with the main purpose and avoids unnecessary elaboration. It is appropriately concise and scannable.

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

Completeness2/5

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

The tool lacks an output schema, and the description does not specify what the tool returns (e.g., the 9 SH coefficients) or the exact input requirements. It does not explain how to format the payload, what image formats are accepted, or any constraints. For an agent to invoke this tool correctly, more information is needed about input and output expectations.

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% since both parameters have descriptions, but those descriptions are generic ('Input parameters or JSON string payload'). The tool description adds no specific semantics about what the payload should contain (e.g., the HDRI data or URL) or how to structure it. The baseline is 3 due to high schema coverage, and the description does not add value beyond that.

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 clearly states the tool's function: projecting 360 HDRI environment maps into 9-coefficient (L2) Spherical Harmonics for real-time ambient diffuse irradiance. The action (projects) and resource (HDRI maps) are specific and unambiguous. It distinguishes itself from siblings by focusing on lighting baking, which is unique among the listed tools, though it doesn't explicitly name an alternative.

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 guidance on when to use this tool versus alternatives or any prerequisites. It does not mention when not to use it, required input formats, or any conditions like image resolution or type. The description only states the purpose without contextual usage instructions.

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