Skip to main content
Glama

compare

Compare simulation results side-by-side or generate absolute difference maps for design comparison, mesh convergence studies, and solver validation.

Instructions

Compare two simulation results side-by-side or as a difference map.

Renders both datasets with identical camera, colormap, and scalar range for direct visual comparison. Essential for design comparison, mesh convergence studies, and solver validation.

Modes:

  • side_by_side: Two panels with shared colorbar and consistent framing

  • diff: Absolute field difference map (|A - B|) rendered on dataset A's mesh

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_aYesPath to first simulation file
file_bYesPath to second simulation file
field_nameNoField to compare (None for auto-detect)
modeNoComparison mode — "side_by_side" or "diff"side_by_side
colormapNoColor map preset for both panelsCool to Warm
qualityNoRendering quality (draft/standard/cinematic)standard
purposeNoResolution preset — "analyze" (480p), "preview" (720p), "publish" (1080p)analyze
widthNoOverride total width in pixels (must set both width and height, or neither)
heightNoOverride height in pixels (must set both width and height, or neither)
scalar_rangeNoShared [min, max] for consistent coloring (None for auto)
timestepNoSpecific timestep, "latest", or None for first
label_aNoLabel for first panel (displayed top-left)A
label_bNoLabel for second panel (displayed top-left)B
output_filenameNoOutput PNG filenamecompare.png
Behavior4/5

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

With no annotations provided, the description effectively discloses key behaviors: rendering both datasets with identical camera, colormap, and scalar range, and offering two comparison modes. However, it omits any discussion of side effects, required permissions, or resource considerations.

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 well-structured with a clear lead sentence, contextual elaboration, and bulleted mode list. It is appropriately concise without superfluous content, though it could be slightly more compact.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (14 parameters, no output schema), the description covers the core functionality but lacks details on what the tool returns (e.g., file path, success status) and does not fully explain parameter interactions or constraints. This leaves some gaps for an agent.

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 the description adds limited value beyond the schema. It mentions modes and their meanings but does not elaborate on other parameters like 'quality' or 'purpose' beyond their schema descriptions.

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 identifies the tool's purpose: comparing two simulation results side-by-side or as a difference map. It specifies use cases like design comparison, mesh convergence studies, and solver validation, and distinguishes from sibling tools by focusing on comparison rather than single visualization or analysis.

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 context (design comparison, convergence studies, solver validation) and describes two modes, but it does not explicitly state when to avoid this tool or provide alternatives. Given the many sibling tools, clearer guidance on when to choose 'compare' over 'analyze_data' or 'animate' would improve the score.

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