Skip to main content
Glama
bewygs

CFAST MCP

by bewygs

update_fire

Modify parameters of an existing fire instance in a CFAST fire model using its unique ID. Update compartment, fuel type, location, heat release rate, or fuel composition without changing the fire identity.

Instructions

Update an existing fire.

Selects the fire by its instance id and changes only the parameters you provide; any left as None is unchanged. The fire instance id is the selector and is not changed here. Changing comp_id moves the fire to another compartment, which must already exist.

Parameters

model_id : str Id of the model to modify. id : str Id of the fire instance to update. comp_id : str or None, optional Name of the compartment where the fire occurs. None leaves it unchanged. fire_id : str or None, optional Name of the fire definition (fuel composition and HRR curve). None leaves it unchanged. location : list[float] or None, optional Position [x, y] of the center of the base of the fire relative to the front left corner of the compartment. Default units: m. None leaves it unchanged. data_table : list[list[float]] or None, optional Time-dependent fire properties: one row per time point, with columns [TIME (s), HRR (kW), HEIGHT (m), AREA (m²), CO_YIELD, SOOT_YIELD, HCN_YIELD, HCL_YIELD, TRACE_YIELD], yields in kg/kg. None leaves it unchanged. carbon : float or None, optional Number of carbon atoms in the fuel molecule. None leaves it unchanged. chlorine : float or None, optional Number of chlorine atoms in the fuel molecule; assumed to completely react to form HCl. None leaves it unchanged. hydrogen : float or None, optional Number of hydrogen atoms in the fuel molecule. None leaves it unchanged. nitrogen : float or None, optional Number of nitrogen atoms in the fuel molecule; assumed to completely react to form HCN. None leaves it unchanged. oxygen : float or None, optional Number of oxygen atoms in the fuel molecule. None leaves it unchanged. heat_of_combustion : float or None, optional The energy released per unit mass of fuel consumed. Default units: kJ/kg. None leaves it unchanged. radiative_fraction : float or None, optional The fraction of the combustion energy that is emitted in the form of thermal radiation. Default units: none. None leaves it unchanged.

Returns

str Confirmation, the updated model summary, and any warnings (for example a fire located outside the compartment footprint).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
carbonNo
oxygenNo
comp_idNo
fire_idNo
chlorineNo
hydrogenNo
locationNo
model_idYes
nitrogenNo
data_tableNo
heat_of_combustionNo
radiative_fractionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries full burden. It explains the partial-update behavior (only provided parameters change), the effect of changing comp_id (moves fire, compartment must exist), and the return value (confirmation, summary, warnings). Side effects and safety are partially covered, but could be more explicit about error conditions.

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

Conciseness4/5

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

The description is well-structured with a summary, parameter list, and returns section. It is front-loaded with the core logic. While somewhat lengthy due to the parameter details, every sentence adds necessary information, making it appropriately sized for the complexity.

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

Completeness5/5

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

Given 13 parameters, no annotations, and an output schema (mentioned but not shown), the description provides comprehensive information: parameter semantics, selection logic, update behavior, and return value with warnings. It leaves no major gaps for an agent to use the tool correctly.

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

Parameters5/5

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

Schema description coverage is 0%, so the description fully compensates by providing detailed explanations for all 13 parameters, including units, optionality, and the meaning of leaving a parameter unchanged (None). This adds significant value beyond the bare schema.

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 'Update an existing fire' and explains the selection by instance id and partial-update semantics. It distinguishes from add_fire (create) by focusing on update, and from other update_* tools by specifying the resource (fire).

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 implicitly says when to use the tool (when updating an existing fire) but does not explicitly state when not to use it or mention alternative tools. No exclusions or context are provided.

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/bewygs/cfast-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server