Skip to main content
Glama

bulc_list_evac_agents

List evacuation agents with positions and properties in BULC Building Designer to analyze fire simulation data by filtering floor levels or rooms.

Instructions

List all evacuation agents with their positions and properties.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
levelNoFilter by floor level. Omit for all levels.
roomNoFilter by room name or ID

Implementation Reference

  • Handler logic for 'bulc_list_evac_agents' tool: validates input using ListEvacAgentsSchema and sends 'list_evac_agents' command to BULC client.
    case "bulc_list_evac_agents": { const validated = ListEvacAgentsSchema.parse(args); result = await client.sendCommand({ action: "list_evac_agents", params: validated, }); break;
  • Zod schema for validating input parameters (level, room) of the 'bulc_list_evac_agents' tool.
    const ListEvacAgentsSchema = z.object({ level: z.number().int().optional(), room: z.string().optional(), });
  • Tool registration/definition in evacTools array, providing name, description, inputSchema for MCP tool listing.
    { name: "bulc_list_evac_agents", description: "List all evacuation agents with their positions and properties.", inputSchema: { type: "object" as const, properties: { level: { type: "integer", description: "Filter by floor level. Omit for all levels.", }, room: { type: "string", description: "Filter by room name or ID", }, }, }, annotations: { readOnlyHint: true, destructiveHint: false, }, },
  • src/index.ts:135-137 (registration)
    Dispatch routing in main MCP handler: routes 'bulc_*evac*' tools to handleEvacTool.
    if (name.startsWith("bulc_") && name.includes("evac")) { return await handleEvacTool(name, safeArgs); }
  • src/index.ts:54-58 (registration)
    MCP server registration of allTools (includes evacTools) for listTools request.
    server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools: allTools, }; });

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