Skip to main content
Glama
vegetableno1

dualsphysics-mcp

by vegetableno1

partvtk

Convert SPH particle data from Part_*.bi4 files into VTK format for visualization. Specify a job or data directory, then optionally filter particle types, select variables, and limit the index range.

Instructions

PartVTK: convert Part_*.bi4 particle files to VTK for visualisation.

Args: job_id: Job whose data/ directory holds the Part_*.bi4 files. dirdata: Explicit particle data directory (alternative to job_id). savevtk: Output prefix (default particles/PartFluid inside the job). onlytype: Particle filter (default fluid only). variables: Variables to store, e.g. "+idp,+vel,+rhop,+press". first/last: Part index range. extra_args: Extra PartVTK flags.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lastNo
firstNo
job_idNo
dirdataNo
savevtkNoparticles/PartFluid
onlytypeNo-all,fluid
variablesNo
extra_argsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYes
csv_filesNo
next_stepNo
vtk_filesNo
duration_sNo
file_countNo
returncodeYes
stderr_tailNo
stdout_tailNo
output_filesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does reveal the output destination (savevtk default), the filtering behavior (onlytype default fluid only), and the write intent (produces VTK). But it does not disclose whether input .bi4 files are preserved, how filters interact, or error/edge-case 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?

The purpose sentence is front-loaded and the parameter list gives each argument a single efficient line. Compact enough that every line earns its place, though a dense arg-list format is slightly less scannable than prose for an agent.

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?

With an output schema present, return values need no further explanation. The description covers purpose and all parameters. Minor gap: it doesn't clarify that job_id and dirdata are mutually exclusive alternatives with neither strictly required, nor whether at least one must be supplied for successful invocation.

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?

Schema description coverage is 0%, so the description fully compensates by documenting all 8 parameters with meaningful detail: relationships (dirdata as alternative to job_id), defaults (savevtk, onlytype), example values (variables '+idp,+vel,+rhop,+press'), and semantics (first/last as index range, onlytype as filter). Every parameter gains meaning beyond the bare schema.

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 (convert), a concrete input resource (Part_*.bi4 particle files), and an output format (VTK for visualisation). The purpose is unambiguous and clearly distinguishes it from siblings like gencase, run_case, and job_status, none of which perform file conversion.

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 'for visualisation' clause gives context for when the tool applies, and the sibling set makes the conversion role obvious. However, there is no explicit when-to-use guidance, no exclusions, and no mention of dependencies such as requiring a completed run_case/job_status before conversion is possible.

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