Skip to main content
Glama

femm_check_rule

Validate physics consistency of simulation numbers without calling FEMM; check energy, power, or force rules and return pass/fail with expected values.

Instructions

Run one pure physics rule on numbers you already have (no FEMM call). Call with rule='list' to see them. Examples: femm_check_rule("energy_consistency", {"energy": 0.0149, "flux_linkages": [0.0149], "currents": [2]}); femm_check_rule("power_balance", {"p_input": 1.2, "p_losses": 1.19}); femm_check_rule("force_consistency", {"f_a": -9.7, "f_b": -9.2, "tolerance": 0.1}). Returns {name, ok, value, expected, tolerance, message}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNo
ruleYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden, and it does well: it discloses that this performs no FEMM call (no session required, side-effect free) and gives the exact return shape {name, ok, value, expected, tolerance, message}. It omits error/failure behavior, but the compute-only nature is made explicit.

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-loads the core purpose, then a discovery hint, then three compact illustrative examples and the return shape. Dense but every element earns its place; the examples add a little bulk over a minimal statement.

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?

For a 2-param offline compute tool with no output schema, the description supplies the return contract, the rule discovery mechanism, and concrete argument examples, leaving little an agent needs to call it correctly.

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% and the generic 'args' object is opaque, but the description compensates by naming the rule strings and showing the required args per rule (energy/flux_linkages/currents, p_input/p_losses, f_a/f_b/tolerance). This meaningfully fills the 0% coverage gap.

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+resource ('Run one pure physics rule on numbers you already have') and immediately scopes it with 'no FEMM call', which cleanly distinguishes it from session-driven siblings like femm_solve or femm_point_values.

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?

Tells the agent when to use it (numbers you already have, offline check) and how to discover the rules via rule='list'. It doesn't name an alternative tool or state when NOT to use it, but the offline-vs-session framing is a clear usage cue.

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