Skip to main content
Glama

Gradient Dynamics: thermal and CFD simulation

View mesh cross-section

view_mesh_section
Idempotent

Show a 2D cross-section of actual volume-cell edges cut from a completed or verified awaiting_decision mesh_cgns artifact. Use this for requested mesh cross-sections, not geometry clipping. Sections and PNGs supplement view_mesh; they do not replace its interactive 3D browser viewer unless the user explicitly requests 2D only. Set axis and position_m in the saved mesh coordinate frame; optionally select an exact zone or crop. Returns an interactive 2D pan/zoom browser viewer, a supplementary PNG picture and saved PNG/HTML artifacts; no mesh regeneration. Y is vertical in X/Z sections. Supports structured and unstructured CGNS with NGON/NFACE or linear tetra/prism/pyramid/hexa topology, up to 1 GiB input and 200,000 section edges; no silent decimation. Open viewer_url in a browser and show its labelled link; include the PNG when requested. For a combined surface/section workspace use assemble_mesh_viewer with the returned JSON artifact_id. Surface clipping is not a substitute. Keep infrastructure details out of the answer. Repeating the same request reuses its saved section. 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": {
      "position_m": "<position_m>",
      "artifact_id": "<artifact_id>"
    },
    "name": "view_mesh_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
axisNoz
zoneNoOptional exact mesh zone from its summary; omit for all zones.
position_mYesPlane coordinate in metres in the saved mesh frame, e.g. z=0.093 m.
artifact_idYes
view_bounds_mNoOptional crop [horizontal_min, vertical_min, horizontal_max, vertical_max], metres. X/Y for a Z section, Z/Y for X, X/Z for Y.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations it discloses substantial behavior: no mesh regeneration, 1 GiB input and 200,000 edge limits with no silent decimation, supported CGNS topology, coordinate-frame semantics, reuse of saved sections on repeat requests (consistent with idempotentHint), and an async path where a pending operation_id may be returned and must be polled with get_operation at retry_after_seconds rather than resubmitted.

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 core purpose and routing constraints, and most sentences carry distinct operational information. It is dense and runs long, with a few presentation-level instructions ('Keep infrastructure details out of the answer', 'show its labelled link') that are useful for output handling but dilute tool-selection focus.

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 a five-parameter tool with an output schema and partial schema descriptions, the definition covers inputs, limits, artifact outputs, async behavior, and viewer handoff. Nothing an agent needs in order to invoke it correctly appears to be 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 60%, and the description compensates by stating that axis and position_m are expressed in the saved mesh coordinate frame and that Y is vertical in X/Z sections, which is real semantic information beyond the schema. Zone and crop are only mentioned as 'optional', leaving their details to the schema fields.

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: 'Show a 2D cross-section of actual volume-cell edges cut from a completed or verified awaiting_decision mesh_cgns artifact.' It immediately distinguishes the operation from geometry clipping and from the sibling view_mesh, so an agent can identify it without opening the schema.

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?

Explicit when-to-use ('requested mesh cross-sections'), when-not ('not geometry clipping', 'Surface clipping is not a substitute'), and alternatives ('supplement view_mesh; they do not replace its interactive 3D browser viewer unless the user explicitly requests 2D only', 'For a combined surface/section workspace use assemble_mesh_viewer'). The escalation path to get_operation for pending results is also spelled out.

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