Skip to main content
Glama
fds-mcp-server
by Skitourer

Validate an FDS input file

fds_validate_input
Read-onlyIdempotent

Validate Fire Dynamics Simulator .fds input files before runs to detect missing namelists, undefined references, duplicate IDs, out-of-mesh objects, and mesh resolution problems.

Instructions

Check an FDS input file (.fds) for mistakes before running it.

Checks: unknown namelist groups or parameters (FDS 6.11 reference); &HEAD, &TIME with T_END, and &MESH present; OBST, VENT and DEVC inside the meshes; undefined SURF_ID, MATL_ID, PROP_ID, CTRL_ID, DEVC_ID, PART_ID or RAMP references; duplicate IDs; mesh resolution D*/dx of each fire.

Args: path: .fds file, absolute or relative to the server workspace. min_level: lowest severity listed in issues ("error", "warning" or "info"); counts always covers all issues.

Returns: valid (true when there is no error), counts per level, issues (level, code, message, line, group) and a plain-text summary. Fix errors first, then call again. For background on a finding, call fds_get_guide (topics common_errors, mesh_resolution).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "fds_validate_input"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
min_levelNoinfo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and closed-world behavior, yet the description still adds real substance: the specific rule set (FDS 6.11 reference), required namelist groups, cross-reference checks and mesh resolution. It omits any note on cost, file-size limits or runtime for very large inputs, which is a minor gap for a linting tool.

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?

Purpose is front-loaded, then checks, then Args/Returns. The structure is easy to scan, though the 'Returns' block restates fields already present in the output schema and could be trimmed to the actionable note about fixing errors.

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 two-parameter, read-only validator with an output schema, this covers everything needed: what is checked, how to interpret severity filtering, the remediation loop, and where to get deeper background. Nothing material is missing.

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 0%, so the description must carry the parameter burden and largely does: 'path' is clarified as absolute or relative to the server workspace, and 'min_level' is explained as a severity floor while noting that 'counts' always covers all issues — a semantic distinction the bare enum cannot convey.

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 opens with a specific verb and resource: 'Check an FDS input file (.fds) for mistakes before running it.' It then enumerates the exact check categories, which makes it unmistakably distinct from fds_summarize_input or fds_run_simulation.

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?

Guidance is explicit about timing ('before running it') and the follow-up loop ('Fix errors first, then call again'), and it routes to the concrete alternative fds_get_guide with the topic names to pass. It does not state when to prefer this over fds_summarize_input, so it falls short of full alternative coverage.

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