Skip to main content
Glama

bulc_set_agent_properties

Configure evacuation agent parameters like radius and speed for fire simulation in building design.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agentRadiusNoDefault agent radius in meters. Default: 0.25
desiredSpeedNoDefault desired speed in m/s. Default: 1.2
maxSpeedNoDefault max speed in m/s. Default: 1.5
minSpacingNoMinimum spacing for random placement in meters. Default: 0.5

Implementation Reference

  • Handler case in handleEvacTool function that validates tool arguments using Zod and forwards the 'set_agent_properties' command to the BULC client.
    case "bulc_set_agent_properties": { const validated = SetAgentPropertiesSchema.parse(args); result = await client.sendCommand({ action: "set_agent_properties", params: validated, }); break; }
  • Zod schema used for input validation in the tool handler.
    const SetAgentPropertiesSchema = z.object({ agentRadius: z.number().positive().optional(), desiredSpeed: z.number().positive().optional(), maxSpeed: z.number().positive().optional(), minSpacing: z.number().positive().optional(), });
  • Tool definition object in evacTools array, including name, description, inputSchema for MCP listing, and annotations.
    { name: "bulc_set_agent_properties", description: "Set default properties for evacuation agents (radius, speed, etc.).", inputSchema: { type: "object" as const, properties: { agentRadius: { type: "number", description: "Default agent radius in meters. Default: 0.25", }, desiredSpeed: { type: "number", description: "Default desired speed in m/s. Default: 1.2", }, maxSpeed: { type: "number", description: "Default max speed in m/s. Default: 1.5", }, minSpacing: { type: "number", description: "Minimum spacing for random placement in meters. Default: 0.5", }, }, }, annotations: { readOnlyHint: false, destructiveHint: true, }, },
  • src/index.ts:140-148 (registration)
    Specific routing condition in main tool call handler that directs bulc_set_agent_properties calls to the evac handler.
    name === "bulc_set_agent_properties" || name === "bulc_generate_rset_report" || name === "bulc_save_evac_result" || name === "bulc_set_exit_assignment" || name === "bulc_set_premovement_time" || name === "bulc_set_fire_coupling" ) { return await handleEvacTool(name, safeArgs); }

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