Skip to main content
Glama

Gradient Dynamics: thermal and CFD simulation

Preview mesh domain

preview_mesh_domain
Read-onlyIdempotent

Preview an external wind tunnel quickly from verified cached geometry bounds. Domain corners are metres; relative distances are body lengths. Presets, distances and corners mean the same box for either method; a structured mesh takes the resolved corners in mm and these face names as flow_region.boundary_names. Returns face identities and preview_only=true, never mesh feasibility or cell estimates. A body_min ground is nominal: final mesh planning may add flat-base clearance. Use this for interactive enclosure edits, then retain validate_mesh and native plan_mesh before generation. Does not start a mesh or charge compute.

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": {
      "surface_artifact_id": "<surface_artifact_id>"
    },
    "name": "preview_mesh_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
flowNo
domainNoPreset, relative distances in body lengths, or minimum/maximum corners in metres, the same for either method. A structured mesh request takes the resolved corners in mm and these face names as flow_region.boundary_names. This previews bounds only; run full mesh preflight before generation.standard
methodNounstructured
input_unitNo
project_idNo
surface_artifact_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / $defs / OctreeFlow / properties / angle_of_attack / description
      Previous value: -"Degrees, turning the stream from direction towards up. The domain stays aligned with the body axes; the wake follows the stream."New value: +"Degrees, turning the stream from direction towards up. The domain stays on the body axes; the wake follows the stream."
    • changedInput schema / $defs / OctreeFlow / properties / contact_plinth / description
      Previous value: -"Tyres resting on the ground: cut them just above it and extrude a vertical plinth instead of the tangential wedge."New value: +"Tyres on the ground: cut them just above it and extrude a vertical plinth instead of the tangential wedge."
    • changedInput schema / $defs / OctreeFlow / properties / farfield / description
      Previous value: -"inlet_outlet: velocity inlet upstream, pressure outlet downstream, symmetry elsewhere. freestream: every outer face a far-field patch (free flight at any angle); a ground stays a moving wall."New value: +"inlet_outlet: velocity inlet upstream, pressure outlet downstream, symmetry elsewhere. freestream: far-field patches all round (free flight at any angle); a ground stays a moving wall."
    • changedInput schema / $defs / OctreeFlow / properties / ground / description
      Previous value: -"\"none\": free stream all round; \"body_min\": a moving-wall ground touching the lowest point of the body (vehicles); a number: the ground at that up-coordinate in metres."New value: +"\"none\": free stream all round; \"body_min\": a moving-wall ground at the lowest point of the body (vehicles); a number: the ground at that up-coordinate in metres."
  2. Changed1 schema field changed
    • changedInput schema / properties / domain / description
      Previous value: -"Preset, relative distances in body lengths, or minimum/maximum corners in metres. Structured requires corners. This previews bounds only; run full mesh preflight before generation."New value: +"Preset, relative distances in body lengths, or minimum/maximum corners in metres, the same for either method. A structured mesh request takes the resolved corners in mm and these face names as flow_region.boundary_names. This previews bounds only; run full mesh preflight before generation."
  3. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description still adds non-obvious behaviour no structured field carries: it returns face identities with preview_only=true, deliberately omits mesh feasibility and cell estimates, does not start a mesh or charge compute, and notes that a body_min ground is nominal because final planning may add flat-base clearance. That is exactly the kind of expectation-setting an agent needs before calling.

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 front-loaded with the purpose and the two most consequential caveats (preview-only returns, no compute charge) and every sentence carries information. It is dense to the point of near-run-on and partly restates the domain parameter's own schema text about presets/distances/corners mapping to the same box.

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?

With an output schema present, the description need not enumerate return fields, and it still tells the agent what comes back (face identities, preview_only flag) and what does not. Given six parameters at 17% schema coverage, the main remaining hole is the unit/context parameters (input_unit, project_id) and any precondition on the cached surface artifact.

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

Parameters3/5

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

Schema description coverage is only 17%, so the description has to carry meaning, and it partially does: it explains that corners are metres, relative distances are body lengths, presets map to the same box for either method, and that a structured mesh consumes the resolved corners in mm plus face names as flow_region.boundary_names. It says nothing about input_unit, project_id, or how flow parameters interact with the preview, leaving real gaps.

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?

The opening sentence gives a specific verb and resource ('Preview an external wind tunnel ... from verified cached geometry bounds') and the later sentence positions validate_mesh and plan_mesh as downstream steps, so the agent can tell this is a bounds-only preview rather than a mesh build. It stops short of a crisp one-line scope statement because 'external wind tunnel' and 'verified cached geometry bounds' are domain jargon an agent must parse.

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 for interactive enclosure edits, then retain validate_mesh and native plan_mesh before generation' gives an explicit use context and names the required follow-up tools, which is real routing guidance. It does not state a when-not condition (e.g. when a cached geometry preview is stale or unavailable), so it falls short of the top score.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources