Math & Numbers
Convert luminance between cd/m² (nit, SI base), stilb (1 = 10000 cd/m²), cd/ft² (1 = 10.76391 cd/m²), foot-lambert (1 = 3.426263 cd/m²), apostilb (1 = 0.31831 cd/m²), lambert (1 = 3183.099 cd/m²), and millilambert (1 = 3.183099 cd/m²). All non-SI units except stilb carry a 1/π factor from Lambertian diffuse-emission assumptions. Reference values: LCD display ≈ 200–300, comfortable eye level ≈ 1000, sun surface ≈ 1.6×10⁹ cd/m².
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/luminance-converter' \
-H 'Content-Type: application/json' \
-d '{"inputUnit":"cd/m²","value":300,"outputUnit":"foot-lambert","decimalPlaces":6}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/luminance-converter| Name | Type | Required | Description |
|---|---|---|---|
| inputUnit | select | No | — |
| value | number | Yes | Luminance in the selected Input unit. Must be non-negative. |
| outputUnit | select | No | — |
| decimalPlaces | number | No | — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-luminance-converter": {
"name": "luminance-converter",
"description": "Convert luminance between cd/m² (nit, SI base), stilb (1 = 10000 cd/m²), cd/ft² (1 = 10.76391 cd/m²), foot-lambert (1 = 3.426263 cd/m²), apostilb (1 = 0.31831 cd/m²), lambert (1 = 3183.099 cd/m²), and millilambert (1 = 3.183099 cd/m²). All non-SI units except stilb carry a 1/π factor from Lambertian diffuse-emission assumptions. Reference values: LCD display ≈ 200–300, comfortable eye level ≈ 1000, sun surface ≈ 1.6×10⁹ cd/m².",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=luminance-converter",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "luminance-converter",
"arguments": {
"inputUnit": "cd/m²",
"value": 300,
"outputUnit": "foot-lambert",
"decimalPlaces": 6
}
}
}Questions or issues? Contact [email protected]