Skip to main content
Glama
Meteor-Simulation

BULC MCP

Official

Set numerics

set_numerics
Idempotent

Configure numerical stability controls for FDS runs: set time step, CFL limits, advection scheme, and particle settings to fix divergence or NaN results.

Instructions

Set numerical stability controls (time step and advection scheme). Use this when a run diverges, produces NaN, or when matching CPU FDS settings. dt/lock_time_step map to &TIME; the rest to &MISC. Omitted fields keep the FDS default for the current SIMULATION_MODE. particle_global sets the particle/spray-wide keys (&MISC POROUS_FLOOR, PARTICLE_CFL(_MAX/_MIN), CNF_CUTOFF, NEAR_WALL_PARTICLE_INTERPOLATION; &DUMP MAXIMUM_PARTICLES, DT_PART); particle_global_unset returns keys to the FDS default. [bulc-mcp rules] GEN-016, SIM-002, SIM-003 — bulc_knowledge_search ""

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dtNoInitial time step [s]. Omit to let the solver derive it from CFL_MAX*min(dx)/sqrt(g*H).
vn_maxNoVon Neumann (diffusion) stability limit. VLES 1.0 / LES 0.8 / DNS 0.5.
cfl_maxNoCFL upper bound (FDS VLES default 1.0). Lower it (e.g. 0.5) to stabilise.
cfl_minNoCFL lower bound (default 0.8) — below this the solver grows dt.
c_deardorffNoDeardorff SGS constant (FDS default 0.1).
flux_limiterNoScalar advection limiter. VLES default SUPERBEE, LES/DNS default CHARM. The GPU engine implements CHARM; only MP5 is unsupported and falls back to CHARM with a warning.
lock_time_stepNoFreeze dt (disable CFL adaptation). Requires dt. Standard remedy for a diverging case.
particle_globalNoParticle-wide FDS settings for all nozzles (&MISC POROUS_FLOOR / PARTICLE_CFL… , &DUMP MAXIMUM_PARTICLES / DT_PART).
particle_global_unsetNoparticle_global keys to remove (FDS default)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnly=false, idempotent=true, destructive=false) by disclosing that omitted fields keep the FDS default for the current SIMULATION_MODE, that particle_global_unset restores keys to FDS defaults, that MP5 is unsupported and silently falls back to CHARM with a warning, and that lock_time_step requires dt. These are real behavioral traits an agent cannot infer from structured fields.

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?

Front-loaded with the purpose and the when-to-use trigger before the denser namelist bookkeeping. The particle_global sentence is long and enumerates many keys, but each clause carries distinct information; the trailing bulc rule-IDs line is useful routing rather than filler.

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?

For a 9-parameter, mostly-optional mutation tool with a nested object and no output schema, the description covers the essential gaps: default inheritance for omitted fields, the dt requirement for lock_time_step, unset semantics, and engine-specific fallbacks. An agent has enough to call it correctly without further documentation.

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?

Schema coverage is 100%, so the schema already documents each parameter; the baseline is 3. The description adds cross-cutting semantics the schema lacks: the &TIME/&MISC namelist mapping, the omit-keeps-default rule scoped to SIMULATION_MODE, and the grouping of particle_global keys versus particle_global_unset.

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

Purpose4/5

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

States a specific verb and resource with scope: "Set numerical stability controls (time step and advection scheme)", and clarifies which namelists (dt/lock_time_step to &TIME, the rest to &MISC) it touches. It does not explicitly distinguish itself from nearby siblings such as set_time or set_run_options, which an agent could plausibly confuse with a numerics tool.

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

Usage Guidelines4/5

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

"Use this when a run diverges, produces NaN, or when matching CPU FDS settings" gives concrete triggering conditions, and lock_time_step is labeled the "standard remedy for a diverging case." No alternative tool is named (e.g. get_numerics as the read counterpart, or set_time for simulation time), so routing is implied rather than explicit.

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

Deploy Server

Other Tools