Skip to main content
Glama
loumalouomega

Kratos MCP Server

mesh_export

Export Kratos .mdpa meshes to VTK, MSH, MED, XDMF, or other formats by extension or file_format, preserving elements, conditions, cell data, and sub-model parts.

Instructions

Export a .mdpa to another mesh format chosen by the output extension (.vtk, .vtu, .msh, .med, .inp, .xdmf, ...) or file_format. Elements come first, then conditions; cell data carries kratos:id, kratos:property_id and kratos:entity (0 element / 1 condition), sub model parts become cell sets (format permitting) and scalar nodal data point data. Cubic triangle10 / quad16 / line4 cells only export to formats that have them (gmsh .msh, not VTK). meshio has no 15-node wedge or 13-node pyramid: they are refused unless linearize_unsupported=true, which writes their corner nodes only (the result carries a warnings entry).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
outputYes
overwriteNo
file_formatNo
linearize_unsupportedNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and delivers unusually well: cell/condition ordering, the cell-data fields emitted, sub-model-part-to-cell-set mapping, format-specific element support, and refusal/warning behavior for wedge/pyramid cells. The gap is that it never states what happens when the target file already exists without overwrite=true, nor any permission requirements.

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 action and then organized around behavioral traits; nearly every sentence carries new information. It is a dense run-on paragraph rather than cleanly segmented, but there is little waste.

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?

An output schema exists so return values needn't be described, and the description covers element ordering, data mapping and format limits thoroughly. It falls short only on the overwrite parameter's semantics and the source/target path roles, which an agent still needs before calling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must define all five parameters. It meaningfully explains file_format ('chosen by the output extension or file_format') and linearize_unsupported ('writes their corner nodes only, the result carries a warnings entry'), but path, output and especially overwrite are left completely undefined.

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 (export) and resource (.mdpa mesh), and immediately defines the scope: converting to the format dictated by the output extension or file_format. An agent can distinguish this from mesh_import, mdpa_extract and mdpa_merge without opening any schema.

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?

Usage is implied through the format-selection mechanism ('chosen by the output extension ... or file_format') and the format-compatibility caveats, but there is no explicit when-to-use/when-not guidance and no named alternative (e.g. mesh_import for the reverse direction). The agent must infer the context.

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

Deploy Server

Other Tools