Skip to main content
Glama

change_model_size

Adjust the uniform scale of a 3D model by specifying a new size value to resize the entire object proportionally.

Instructions

Change the uniform size of the 3D model

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeYesNew size value (uniform scaling)

Implementation Reference

  • server.js:450-475 (registration)
    Complete tool registration for 'change_model_size' including schema definition and handler function. The tool accepts a positive 'size' parameter for uniform scaling, routes a 'changeSize' command to the browser session, and returns a confirmation message.
    // Register tool: change_model_size mcpServer.registerTool( 'change_model_size', { title: 'Change Model Size', description: 'Change the uniform size of the 3D model', inputSchema: { size: z.number().positive().describe('New size value (uniform scaling)') } }, async ({ size }) => { routeToCurrentSession({ type: 'changeSize', size: size }); return { content: [ { type: 'text', text: `Model size changed to ${size}` } ] }; } );

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