Skip to main content
Glama

inspect_physics

Analyze simulation data to extract vortex detection, critical points, and solver metadata as structured JSON for AI storytelling.

Instructions

Extract structured physics data for AI storytelling.

Analyzes simulation data to extract:

  • L2 FieldTopology: vortex detection (Q-criterion), critical points, centerline profiles, gradient statistics per field

  • L3 CaseContext: boundary conditions, transport properties, solver info, mesh quality, derived quantities (Re, Ma, etc.)

Returns structured JSON for LLM to build physics narratives. Replaces analyze_data with quantitative topology data instead of hardcoded heuristics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesPath to VTK/OpenFOAM/CGNS simulation file
case_dirNoOpenFOAM case directory for full solver metadata. If None, only mesh quality is extracted.
fieldsNoSpecific field names to analyze (None = all fields)
probe_linesNoNumber of auto centerline probe lines (1-3)
vortex_thresholdNoQ-criterion threshold for vortex detection

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations provided, so the description carries full burden. It details extracted data categories (vortex detection, boundary conditions, etc.) and returns structured JSON, implying read-only behavior.

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?

Description is three paragraphs, front-loaded with main purpose, and efficient in listing capabilities without unnecessary words.

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?

Given high schema coverage and output schema present, the description adequately explains input/output and tool replacement context, though it could mention file format compatibility.

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 100%, but the description adds no extra parameter details beyond the schema. Baseline of 3 is appropriate.

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 description states 'Extract structured physics data for AI storytelling' with specific details like L2/L3 structures. It distinguishes from sibling 'analyze_data' by replacing hardcoded heuristics with quantitative topology data.

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?

The description explicitly says it replaces 'analyze_data' and outlines extraction of specific physics data, giving a clear alternative context. However, it does not provide exhaustive when-not-to-use scenarios.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kimimgo/viznoir'

If you have feedback or need assistance with the MCP directory API, please join our Discord server