Skip to main content
Glama

femm_file_summary

Parse FEMM model or solution files offline to extract materials, boundaries, circuits, counts, and geometry without running the solver; optionally export mesh arrays.

Instructions

Parse a FEMM text file offline (no engine): .fem/.fee/.feh/.fec models or .ans/.res/.anh/.anc solutions. Returns problem definition, materials (with use counts, nonlinear/magnet flags), boundaries (type names, segment counts), circuits (net turns), groups, counts, bounding box, magnets. arrays=True on a solution also writes _mesh.npz (nodes, elements) next to it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
arraysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/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 burden and does well: it discloses a real side effect (arrays=True writes <stem>_mesh.npz next to the file), which an agent must know before invoking. It omits whether the operation is read-only or what happens on unparseable files, but the key behavioral trait is surfaced.

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?

Two sentences, front-loaded with the core action and file scope, then the return contents, then the conditional side effect. No clause is redundant.

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

Completeness5/5

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

There is no output schema, so the description must describe returns itself, and it does so exhaustively (problem definition, materials with flags, boundaries, circuits, groups, counts, bounding box, magnets). Nothing an agent needs before calling is missing.

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 coverage is 0%, so the description must compensate. It fully explains the 'arrays' flag and its npz side effect, and the extension list clarifies what 'path' may point to. Path format details (relative vs absolute) are left unstated.

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 (parse) and resource (FEMM text files) and immediately distinguishes itself from engine-dependent siblings by noting it is 'offline (no engine)'. The enumerated accepted extensions make the scope unambiguous.

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

Usage Guidelines4/5

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

The phrase 'offline (no engine)' signals the correct context of use versus session-based siblings like femm_open or femm_load_solution. It does not, however, name any alternative explicitly or state when not to use it, so it stops short of explicit routing.

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