Skip to main content
Glama

bulc_modify_mesh

Modify existing FDS mesh dimensions, cell counts, or properties for fire simulation adjustments in building design workflows.

Instructions

Modify an existing FDS mesh. Change dimensions, cell counts, or other properties.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
meshIdYesMesh ID to modify
xMinNoNew minimum X coordinate in meters
xMaxNoNew maximum X coordinate in meters
yMinNoNew minimum Y coordinate in meters
yMaxNoNew maximum Y coordinate in meters
zMinNoNew minimum Z coordinate in meters
zMaxNoNew maximum Z coordinate in meters
iCellsNoNew number of cells in X direction
jCellsNoNew number of cells in Y direction
kCellsNoNew number of cells in Z direction

Implementation Reference

  • Handler logic for the 'bulc_modify_mesh' tool. Validates the input arguments using ModifyMeshSchema and sends a 'modify_mesh' command to the BULC client via sendCommand.
    case "bulc_modify_mesh": { const validated = ModifyMeshSchema.parse(args); result = await client.sendCommand({ action: "modify_mesh", params: validated, }); break; }
  • Zod validation schema for the input parameters of the 'bulc_modify_mesh' tool.
    const ModifyMeshSchema = z.object({ meshId: z.string(), xMin: z.number().optional(), xMax: z.number().optional(), yMin: z.number().optional(), yMax: z.number().optional(), zMin: z.number().optional(), zMax: z.number().optional(), iCells: z.number().int().positive().optional(), jCells: z.number().int().positive().optional(), kCells: z.number().int().positive().optional(), });
  • MCP tool registration for 'bulc_modify_mesh', including name, description, input schema (JSON schema), and annotations. Part of the exported meshTools array.
    { name: "bulc_modify_mesh", description: "Modify an existing FDS mesh. Change dimensions, cell counts, or other properties.", inputSchema: { type: "object" as const, properties: { meshId: { type: "string", description: "Mesh ID to modify", }, xMin: { type: "number", description: "New minimum X coordinate in meters", }, xMax: { type: "number", description: "New maximum X coordinate in meters", }, yMin: { type: "number", description: "New minimum Y coordinate in meters", }, yMax: { type: "number", description: "New maximum Y coordinate in meters", }, zMin: { type: "number", description: "New minimum Z coordinate in meters", }, zMax: { type: "number", description: "New maximum Z coordinate in meters", }, iCells: { type: "integer", description: "New number of cells in X direction", }, jCells: { type: "integer", description: "New number of cells in Y direction", }, kCells: { type: "integer", description: "New number of cells in Z direction", }, }, required: ["meshId"], }, annotations: { readOnlyHint: false, destructiveHint: 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/using76/BULC_MCP'

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