Skip to main content
Glama

Gradient Dynamics: thermal and CFD simulation

View simulation result

view_simulation_result
Idempotent

Prepare an interactive Y-up browser view of an integrity-verified published simulation_result: VTU/FluxCore CGNS volume or VTP boundary. For a generic FluxCore pressure/velocity view, select field_names=[p,velocity_magnitude] with include_edges=false when those arrays are published, avoiding an oversized all-field view. Omitted fields use a bounded native default. The live Gradient Dynamics browser has surface/slice/streamline controls and can prepare further plots from the same saved simulation without a new solve. Surface mode shows saved fields; section mode cuts real volume topology at axis/position_m. For genuine velocity streamlines use mode=streamlines on a volume with explicit seed_points_m and max_length_m; vector_field defaults to U, integration_direction to forward, max_steps to 2000 (maximum 4000). Streamlines follow saved vectors with reported interpolation, not invented flow or a new solve. VTP cannot provide volume sections/streamlines. For surface/section, field_names selects saved scalars/components and include_edges=false omits optional wire edges without removing triangles or values. If a large view exceeds its limit, prepare smaller boundary/section or separate field views and assemble them; retain every field explicitly requested. Explain only the viewing limit, not storage internals. Assemble prepared views with assemble_simulation_viewer for one surface/slice/streamline browser workspace. Provide a default browser link automatically for valid published fields labelled unqualified/nonconverged where applicable; open it when the client supports browser opening. Never bypass access/integrity checks or rerun the solver for missing exports. No shell downloads, reconstructed convex interiors or transient NPZ support. Preserve the complete saved viewer link. May return a pending operation_id instead of the finished result. Continue with get_operation at retry_after_seconds intervals; on success use result, then continue the requested workflow. Do not resubmit to check progress.

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": {
      "artifact_id": "<artifact_id>"
    },
    "name": "view_simulation_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
axisNo
modeNosurface
max_stepsNoStreamlines only: maximum integration steps per trace; defaults to 2000, at most 4000.
position_mNo
artifact_idYes
field_namesNoPublished scalar fields or vector components/magnitude; omit to discover available fields.
max_length_mNoStreamlines only: required maximum traced length in metres, at most 1,000,000 m.
vector_fieldNoStreamlines only: saved velocity vector array, defaults to U. Scalar magnitude is not a vector.
include_edgesNoSurface/section views: false omits optional wire edges, retaining every triangle and field value. Omit preserves edges.
seed_points_mNoStreamlines only: explicit starting XYZ points in the saved volume coordinate frame, in metres.
integration_directionNoStreamlines only: integration direction; defaults to forward.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description discloses that a pending operation_id may be returned, that the caller should poll get_operation at retry_after_seconds and not resubmit, that access/integrity checks are never bypassed, and that no solver rerun or shell download occurs. It also explains the browser-link behavior and the viewing-limit fallback.

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 content is front-loaded with the core purpose and mode guidance, and nearly every sentence carries operational information. It is dense and long, with some repetition (e.g., repeated 'not a new solve' and field-retention phrasing), which keeps it just short of a 5.

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 an 11-parameter tool with an output schema, the description covers mode selection, field handling, streamline requirements, size-limit fallback, assembly, and async polling. Nothing an agent needs to invoke it correctly appears missing.

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?

With 64% schema coverage, the description compensates well: it explains field_names selection, include_edges semantics (omits wire edges without dropping triangles or values), section axis/position_m behavior, and streamline parameters (vector_field defaults to U, integration_direction forward, max_steps 2000/4000). This adds meaning beyond the schema text.

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?

States a specific verb and resource: 'Prepare an interactive Y-up browser view of an integrity-verified published simulation_result', and narrows the artifact types to VTU/FluxCore CGNS volume or VTP boundary. This clearly separates it from siblings like view_mesh, view_geometry, and assemble_simulation_viewer.

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

Usage Guidelines5/5

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

Gives explicit selection rules: use field_names=[p,velocity_magnitude] with include_edges=false for a generic pressure/velocity view, use mode=streamlines only on a volume with explicit seed_points_m and max_length_m, and notes VTP cannot provide volume sections/streamlines. It also routes assembly to assemble_simulation_viewer and progress checks to get_operation.

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