Skip to main content
Glama

inspect_physics

Extract structured physics data from simulation files for AI storytelling. Analyzes vortex topology, field gradients, and case context to return quantitative JSON data.

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

Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool analyzes simulation data and returns structured JSON, and details the types of extracted data (vortex detection, boundary conditions, etc.). However, it does not mention read/write nature, authorization needs, computational cost, or side effects, which are typical for such a tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is moderately concise but uses bullet points and some redundant phrasing (e.g., 'structured JSON' and 'quantitative topology data' overlap). It front-loads the purpose but could be trimmed without losing clarity. It is adequate but not optimally concise.

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 the tool's complexity (5 parameters, output schema exists), the description is reasonably complete. It covers the two levels of extraction, return format, and the tool's role relative to a sibling. It lacks details on error handling or performance, but these are not critical for basic usage. The output schema likely covers return value structure, so the description does not need to explain it.

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 coverage is 100%, so baseline is 3. The description adds context by explaining the high-level purpose of the extracted data levels, but it does not enhance understanding of individual parameters beyond what the schema already provides. The schema itself has adequate descriptions for each parameter.

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 clearly states it extracts structured physics data for AI storytelling, specifying L2 FieldTopology and L3 CaseContext. It distinctly identifies the tool's purpose and differentiates it from the sibling tool 'analyze_data' by emphasizing quantitative topology data over hardcoded heuristics.

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

Usage Guidelines3/5

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

The description implies usage for physics narrative building and mentions replacing 'analyze_data', but does not provide explicit guidance on when to use this tool versus alternatives, nor does it specify prerequisites or exclusion criteria. The guidance is implied but insufficiently explicit.

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