Skip to main content
Glama
using76
by using76

bulc_get_fds_status

Read-only

Check the current status of FDS fire simulations in BULC Building Designer, including progress, simulation time, and estimated completion.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handleFdsRunTool function serves as the main handler for all FDS run tools, including bulc_get_fds_status. It uses a switch statement to dispatch to the appropriate BULC client command based on the tool name.
    export async function handleFdsRunTool(
      name: string,
      args: Record<string, unknown>
    ): Promise<{ content: Array<{ type: string; text: string }>; isError?: boolean }> {
      const client = getBulcClient();
    
      try {
        let result;
    
        switch (name) {
          case "bulc_preview_fds": {
            const validated = PreviewFdsSchema.parse(args);
            result = await client.sendCommand({
              action: "preview_fds",
              params: validated,
            });
            break;
          }
    
          case "bulc_validate_fds": {
            result = await client.sendCommand({
              action: "validate_fds",
              params: {},
            });
            break;
          }
    
          case "bulc_export_fds": {
            const validated = ExportFdsSchema.parse(args);
            result = await client.sendCommand({
              action: "export_fds",
              params: validated,
            });
            break;
          }
    
          case "bulc_run_fds": {
            const validated = RunFdsSchema.parse(args);
            result = await client.sendCommand({
              action: "run_fds",
              params: validated,
            });
            break;
          }
    
          case "bulc_get_fds_status": {
            result = await client.sendCommand({
              action: "get_fds_status",
              params: {},
            });
            break;
          }
    
          case "bulc_stop_fds": {
            const validated = StopFdsSchema.parse(args);
            result = await client.sendCommand({
              action: "stop_fds",
              params: validated,
            });
            break;
          }
    
          default:
            throw new Error(`Unknown FDS run tool: ${name}`);
        }
    
        if (result.success) {
          return {
            content: [{ type: "text", text: JSON.stringify(result, null, 2) }],
          };
        } else {
          return {
            content: [{ type: "text", text: result.error || "Operation failed" }],
            isError: true,
          };
        }
      } catch (error) {
        const message = error instanceof Error ? error.message : String(error);
        return {
          content: [{ type: "text", text: `Error: ${message}` }],
          isError: true,
        };
      }
    }
  • Tool schema definition for bulc_get_fds_status, specifying name, description, empty input schema (no parameters), and read-only annotations.
    {
      name: "bulc_get_fds_status",
      description:
        "Get current FDS simulation status. " +
        "Returns running state, progress, current simulation time, and estimated completion.",
      inputSchema: {
        type: "object" as const,
        properties: {},
      },
      annotations: {
        readOnlyHint: true,
        destructiveHint: false,
      },
    },
  • src/index.ts:111-121 (registration)
    Registration and routing in the main MCP server CallToolRequestHandler: checks if the tool name is bulc_get_fds_status and routes to handleFdsRunTool.
    // FDS Run tools (preview, validate, export, run, status, stop)
    if (
      name === "bulc_preview_fds" ||
      name === "bulc_validate_fds" ||
      name === "bulc_export_fds" ||
      name === "bulc_run_fds" ||
      name === "bulc_get_fds_status" ||
      name === "bulc_stop_fds"
    ) {
      return await handleFdsRunTool(name, safeArgs);
    }
  • src/index.ts:40-58 (registration)
    The fdsRunTools array (containing bulc_get_fds_status schema) is included in the allTools list, which is returned by ListToolsRequestHandler for tool discovery.
    const allTools = [
      ...contextTools,      // 8 tools: spatial context, home info, levels, undo/redo, save
      ...roomTools,         // 5 tools: create, create_polygon, list, modify, delete
      ...wallTools,         // 5 tools: create, create_rectangle, list, modify, delete
      ...furnitureTools,    // 5 tools: catalog, place, list, modify, delete
      ...fdsDataTools,      // 7 tools: get, fire_source, detector, sprinkler, hvac, thermocouple, clear
      ...meshTools,         // 5 tools: list, create, auto, modify, delete
      ...simulationTools,   // 4 tools: get_settings, time, output, ambient
      ...fdsRunTools,       // 6 tools: preview, validate, export, run, status, stop
      ...resultTools,       // 5 tools: open_viewer, list_datasets, point_data, aset, report
      ...evacTools,         // 25 tools: setup, stairs, agents, run, results, advanced features
    ];
    
    // List available tools
    server.setRequestHandler(ListToolsRequestSchema, async () => {
      return {
        tools: allTools,
      };
    });
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and destructiveHint=false, indicating a safe read operation. The description adds valuable context by specifying the exact data returned (running state, progress, etc.), which helps the agent understand the output format. It doesn't mention rate limits or authentication needs, but with annotations covering safety, this provides good additional behavioral insight.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the purpose ('Get current FDS simulation status') and immediately details the return values. Every word adds value with no waste, making it easy for an agent to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter read-only tool with no output schema, the description is nearly complete: it clearly states the purpose and specifies the return data. It could slightly improve by mentioning if the status is real-time or cached, but given the annotations and simplicity, it provides sufficient context for effective use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0 parameters with 100% coverage, so no parameter documentation is needed. The description appropriately focuses on the tool's purpose and output without redundant parameter details, aligning with the baseline expectation for zero-parameter tools.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Get') and resource ('current FDS simulation status'), specifying exactly what information is returned (running state, progress, current simulation time, estimated completion). It distinguishes from siblings like 'bulc_get_fds_data' (which retrieves data) or 'bulc_get_evac_status' (which focuses on evacuation).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage when checking simulation status, but provides no explicit guidance on when to use this tool versus alternatives like 'bulc_get_fds_data' or 'bulc_get_evac_status'. No exclusions or prerequisites are mentioned, leaving usage context inferred rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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