Skip to main content
Glama

bulc_set_evac_time

Configure evacuation simulation duration and time step resolution to model building evacuation scenarios accurately.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
simulationTimeYesTotal simulation time in seconds. Default: 300
timeStepNoSimulation time step in seconds. Default: 0.1

Implementation Reference

  • Registration of the 'bulc_set_evac_time' tool in the evacTools array, including name, description, input schema, and annotations.
    { name: "bulc_set_evac_time", description: "Set evacuation simulation time parameters. " + "Controls total simulation duration and time step resolution.", inputSchema: { type: "object" as const, properties: { simulationTime: { type: "number", description: "Total simulation time in seconds. Default: 300", }, timeStep: { type: "number", description: "Simulation time step in seconds. Default: 0.1", }, }, required: ["simulationTime"], }, annotations: { readOnlyHint: false, destructiveHint: true, }, },
  • Zod schema used for input validation in the handler for bulc_set_evac_time.
    const SetEvacTimeSchema = z.object({ simulationTime: z.number().positive(), timeStep: z.number().positive().optional(), });
  • Handler logic within handleEvacTool function: validates input using SetEvacTimeSchema and sends 'set_evac_time' command to BULC client.
    case "bulc_set_evac_time": { const validated = SetEvacTimeSchema.parse(args); result = await client.sendCommand({ action: "set_evac_time", params: validated, }); break; }
  • src/index.ts:54-58 (registration)
    MCP server registration of all tools including evacTools (which contains bulc_set_evac_time) via ListToolsRequestHandler.
    server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools: allTools, }; });
  • src/index.ts:135-137 (registration)
    Routing logic in main CallToolRequestHandler that directs bulc_set_evac_time calls to handleEvacTool.
    if (name.startsWith("bulc_") && name.includes("evac")) { 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