Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BULC_PORTNoTCP port for BULC connection19840

Tools

Functions exposed to the LLM to take actions

NameDescription
bulc_get_spatial_context

Get the current spatial layout of the project including all rooms, walls, levels, and their exact coordinates. IMPORTANT: Call this first when you need to place elements relative to existing objects (e.g., 'next to the living room', 'above the kitchen'). Returns bounds, room positions, wall positions, and level information. Use this to calculate coordinates before calling create functions.

bulc_get_home_info

Get general information about the current project including file path, modification status, level count, room count, wall count, and furniture count.

bulc_list_levels

Get all floor levels with their names, elevations (height from ground), and floor heights (ceiling height).

bulc_create_level

Create a new floor level. Elevation is the height from ground (Z=0) to the floor surface in centimeters.

bulc_set_current_level

Set which floor level is currently active for editing. New rooms/walls will be created on this level by default.

bulc_undo

Undo the last operation. Returns information about what was undone.

bulc_redo

Redo the last undone operation. Returns information about what was redone.

bulc_save

Save the current project to file.

bulc_create_room

Create a new rectangular room at the specified position. All coordinates are in centimeters (cm). Use bulc_get_spatial_context first if you need to position relative to existing rooms. Example: To create a 5m x 4m room, use width=500, depth=400.

bulc_create_room_polygon

Create a room with a custom polygon shape defined by an array of points. Use this for non-rectangular rooms like L-shaped rooms. All coordinates are in centimeters.

bulc_list_rooms

Get a list of all rooms with their IDs, names, positions, and dimensions. Use the returned IDs for modify/delete operations.

bulc_modify_room

Modify properties of an existing room. Only specified properties will be changed. Get room IDs from bulc_list_rooms first.

bulc_delete_room

Delete a room by its ID. Get room IDs from bulc_list_rooms.

bulc_create_wall

Create a wall segment between two points. All coordinates are in centimeters. For rectangular rooms, consider using bulc_create_walls_rectangle instead.

bulc_create_walls_rectangle

Create 4 connected walls forming a rectangular enclosure. This is the recommended way to create walls for rectangular rooms. All coordinates are in centimeters.

bulc_list_walls

Get a list of all walls with their IDs, coordinates, thickness, and height. Use the returned IDs for modify/delete operations.

bulc_modify_wall

Modify properties of an existing wall. Only specified properties will be changed. Get wall IDs from bulc_list_walls.

bulc_delete_wall

Delete a wall by its ID. Get wall IDs from bulc_list_walls.

bulc_list_furniture_catalog

Get a list of available furniture items from the catalog. Use category filter to narrow down results. Returns catalog IDs needed for bulc_place_furniture.

bulc_place_furniture

Place a furniture item at the specified position. Get catalog IDs from bulc_list_furniture_catalog first. All coordinates are in centimeters.

bulc_list_furniture

Get a list of all placed furniture with their IDs, positions, and properties. Use the returned IDs for modify/delete operations.

bulc_modify_furniture

Modify properties of an existing furniture item. Only specified properties will be changed. Get furniture IDs from bulc_list_furniture.

bulc_delete_furniture

Delete a furniture item by its ID. Get furniture IDs from bulc_list_furniture.

bulc_get_fds_data

Get FDS configuration for a furniture item. Returns the FDS category (fire source, detector, sprinkler, HVAC, thermocouple) and its configuration parameters.

bulc_set_fds_fire_source

Configure a furniture item as an FDS fire source. Supports HRRPUA (Heat Release Rate Per Unit Area) mode with time-based ramping. The fire will use the furniture's surface area for HRR calculations.

bulc_set_fds_detector

Configure a furniture item as an FDS detector (heat or smoke). Heat detectors use RTI and activation temperature. Smoke detectors use optical obscuration threshold.

bulc_set_fds_sprinkler

Configure a furniture item as an FDS sprinkler. Uses RTI and activation temperature for thermal response, with water spray parameters for suppression simulation.

bulc_set_fds_hvac

Configure a furniture item as an FDS HVAC (supply or exhaust vent). Assigns surface properties to specific faces of the obstruction. Supply vents blow air in, exhaust vents extract air out.

bulc_set_fds_thermocouple

Configure a furniture item as an FDS thermocouple for temperature measurement. Used to record temperature at specific locations during simulation.

bulc_clear_fds_data

Clear FDS configuration from a furniture item. Removes fire source, detector, sprinkler, HVAC, or thermocouple settings.

bulc_list_meshes

Get a list of all FDS computational meshes. Returns mesh IDs, dimensions, cell sizes, and bounding coordinates.

bulc_create_mesh

Create a new FDS computational mesh with specified dimensions and cell count. The mesh defines the computational domain for fire simulation.

bulc_auto_mesh

Automatically generate FDS mesh based on building geometry. Creates optimized mesh covering all rooms and walls with specified resolution. Can create single mesh or multiple meshes for multi-level buildings.

bulc_modify_mesh

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

bulc_delete_mesh

Delete an FDS mesh by its ID.

bulc_get_simulation_settings

Get current FDS simulation settings including time, ambient conditions, output settings, and numerical parameters.

bulc_set_simulation_time

Set FDS simulation time parameters. Controls simulation duration and time step settings.

bulc_set_output_settings

Configure FDS output settings for visualization data. Controls slice files, 3D smoke, and device output intervals.

bulc_set_ambient

Set FDS ambient conditions including temperature, pressure, and species.

bulc_preview_fds

Generate a preview of the FDS input file without saving. Returns the complete FDS input file content for review.

bulc_validate_fds

Validate FDS configuration for errors and warnings. Checks mesh consistency, fire source setup, boundary conditions, etc.

bulc_export_fds

Export the FDS input file to disk. Creates the .fds file and any required supporting files.

bulc_run_fds

Start FDS simulation. Runs the simulation in background and returns immediately. Use bulc_get_fds_status to monitor progress.

bulc_get_fds_status

Get current FDS simulation status. Returns running state, progress, current simulation time, and estimated completion.

bulc_stop_fds

Stop a running FDS simulation. Sends stop signal and waits for graceful shutdown.

bulc_open_result_viewer

Open the FDS result viewer window. Loads simulation results from the specified SMV file or last simulation.

bulc_list_result_datasets

List available datasets in the loaded FDS results. Returns slices, smoke3d volumes, Plot3D, devices, and other data types.

bulc_get_point_data

Extract time-series data at a specific point in the simulation domain. Useful for getting temperature, visibility, or species concentration at a location.

bulc_run_aset_analysis

Run ASET (Available Safe Egress Time) analysis at a specified exit location. Evaluates safety criteria: temperature <60C, visibility >5m, CO <1400ppm, CO2 <5%, O2 >15%.

bulc_generate_report

Generate an analysis report from FDS simulation results. Supports ASET, RSET, and combined safety analysis reports.

bulc_set_evac_time

Set evacuation simulation time parameters. Controls total simulation duration and time step resolution.

bulc_get_evac_settings

Get current EVAC simulation settings including model type, agent parameters, and stair configurations.

bulc_set_evac_model

Set the evacuation simulation model type and parameters. Supports CollisionFreeSpeed, SocialForce, and GeneralizedCentrifugal models.

bulc_list_evac_stairs

List all configured evacuation stairs for multi-level buildings.

bulc_setup_evac_stair

Configure a furniture item as an evacuation stair connection between floors. Defines entry/exit positions, capacity, and travel speed.

bulc_clear_evac_stair

Remove stair configuration from a furniture item.

bulc_list_evac_agents

List all evacuation agents with their positions and properties.

bulc_place_evac_agents

Place evacuation agents in rooms or at specific positions. Can place by count (random distribution) or at exact coordinates.

bulc_clear_evac_agents

Clear evacuation agents from specified room or all rooms.

bulc_set_agent_properties

Set default properties for evacuation agents (radius, speed, etc.).

bulc_list_evac_exits

List all detected evacuation exits (doors converted to exits).

bulc_validate_evac

Validate evacuation setup for errors and warnings. Checks agents, exits, walkable areas, and stair configurations.

bulc_run_evac

Start evacuation simulation using JuPedSim. Returns immediately; use bulc_get_evac_status to monitor progress.

bulc_get_evac_status

Get current evacuation simulation status including progress, evacuated count, and estimated completion time.

bulc_stop_evac

Stop a running evacuation simulation.

bulc_load_evac_result

Load evacuation results from a .evac file for visualization.

bulc_get_evac_summary

Get evacuation result summary including total time, per-agent exit times, and statistics.

bulc_generate_rset_report

Generate RSET (Required Safe Egress Time) analysis report from evacuation simulation results.

bulc_save_evac_result

Save current evacuation results to a .evac file.

bulc_modify_evac_stair

Modify an existing evacuation stair configuration. Update capacity, speed, or position properties.

bulc_set_exit_assignment

Set the exit assignment strategy for evacuation agents. Determines how agents choose which exit to use.

bulc_set_premovement_time

Set pre-movement time parameters for evacuation agents. Includes detection time and reaction time with statistical distributions.

bulc_set_fire_coupling

Configure fire-evacuation coupling for FDS+EVAC integration. Sets visibility and temperature thresholds that affect agent behavior.

bulc_get_evac_result

Get detailed evacuation results including per-agent trajectories, exit statistics, and flow rate analysis.

bulc_open_evac_viewer

Open the 3D evacuation result viewer window. Displays agents on the building model with timeline playback.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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