Skip to main content
Glama

fem_mesh_refinement

Add local mesh refinement to an existing FEM mesh by specifying faces or edges and a smaller characteristic length to improve simulation accuracy in critical regions.

Instructions

Add a local mesh-refinement region to an existing FEM mesh.

mesh: handle of the FEM mesh. refs: list of {handle, face|edge|tag} dicts identifying the elements (faces/edges) to refine on. char_length: characteristic element length (mm) on those elements; should be smaller than the global mesh setting to actually refine.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
meshYes
nameNoMeshRegion
refsYes
char_lengthYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description bears the full burden. It discloses that the operation adds to an existing mesh and that char_length must be smaller than the global setting to actually refine, which is a useful behavioral condition. However, it does not state whether the mesh is modified in place or a new handle is returned, nor any permission or reversibility details, leaving major behavioral gaps for a mutation tool.

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

Conciseness5/5

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

The description is front-loaded with the purpose, then a compact parameter glossary. Every sentence contributes; there is no repetition or filler.

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?

For a FEM mesh-modification tool with no annotations and no output schema, the definition covers the core action and most parameters, but it omits the optional 'name' parameter, mutation/return semantics, and how this tool fits between fem_mesh and fem_run. It is minimally adequate but not fully complete.

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

Parameters4/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 compensate. It explains mesh (handle), refs (list of dicts with handle and face/edge/tag), and char_length (units in mm and a constraint relative to global mesh), covering three of four parameters. The optional 'name' parameter is not described.

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 states a specific verb ('Add'), resource ('local mesh-refinement region'), and target ('existing FEM mesh'), which clearly distinguishes it from global mesh generation (fem_mesh) and downstream solve tools. It is not a tautology and an agent can identify the action without opening the 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?

It implies usage ('on an existing FEM mesh') and gives a condition for effect ('char_length should be smaller than the global mesh setting to actually refine'), but it does not explicitly say when to use this versus fem_mesh or other mesh tools, nor any exclusions. Usage is only implied.

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