Skip to main content
Glama

get_fill_light_intensity

Retrieve the current fill light intensity value to accurately adjust lighting in 3D scenes. Use this tool before making relative intensity changes to ensure precise control over scene illumination.

Instructions

Get the current fill light intensity value (0.0 or higher). Query this before relative intensity changes (e.g., "increase by 0.5") to ensure accuracy. For absolute changes, you may use recently queried state from context if no manual interactions occurred.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The get_fill_light_intensity tool handler that retrieves the current fill light intensity from the browser state. It uses getCurrentSessionId() to get the session, queries state via getState(), extracts the intensity value, and returns it with metadata via formatStateResponse().
    mcpServer.registerTool( 'get_fill_light_intensity', { title: 'Get Fill Light Intensity', description: 'Get the current fill light intensity value (0.0 or higher). ' + 'Query this before relative intensity changes (e.g., "increase by 0.5") to ensure accuracy. ' + 'For absolute changes, you may use recently queried state from context if no manual interactions occurred.', inputSchema: {} }, async () => { const sessionId = getCurrentSessionId(); if (!sessionId) { return { content: [ { type: 'text', text: 'Error: No active session found.' } ], isError: true }; } try { const { state, metadata } = await getState(sessionId); const intensity = state.fillLight?.intensity ?? 0; return { content: [ { type: 'text', text: formatStateResponse(intensity.toString(), 'Fill light intensity', sessionId, metadata) } ] }; } catch (error) { return { content: [ { type: 'text', text: `Error retrieving fill light intensity: ${error.message}` } ], isError: true }; } } );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aidenlab/hello3dmcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server