Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

fem_solve_static

Performs static FEM analysis by writing CalculiX input, running the solver, and importing native results; assess convergence and engineering validity separately.

Instructions

Write CalculiX input, execute solver and import native results; require explicit convergence/engineering assessment separately.

Contract: explicit internal names recommended. Length mm, area mm^2, volume mm^3; field units override defaults. Errors: invalid_arguments, document_not_found, object_not_found, transaction_conflict, operation_failed, execution_timeout; transport failures are possible. Timeout is not cancellation: never blindly retry mutations. Legacy return shape preserved.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "doc_name": "<doc_name>",
      "analysis_name": "<analysis_name>"
    },
    "name": "fem_solve_static"
  }
}

Input Schema

NameRequiredDescriptionDefault
doc_nameYesInternal document Name, never Label/path. Omitted/null uses active document (legacy); pass explicitly.
working_dirNoExisting absolute solver working directory; retains input, logs and result files.
analysis_nameYesInternal object Name in the selected document, never Label; must have the type required by this tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does a lot of it: it enumerates the error taxonomy (invalid_arguments, document_not_found, object_not_found, transaction_conflict, operation_failed, execution_timeout), warns that transport failures are possible, and explicitly states 'Timeout is not cancellation: never blindly retry mutations,' which is a critical safety instruction for an agent. It still omits whether reusing an existing working_dir overwrites prior input/log/result files and whether imported results replace existing ones, so it falls short of a 5.

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 action is front-loaded in the first clause and the remainder is organized as a compact contract with distinct sections for naming, units, and errors. The enumerated error-code list is the one part that reads as boilerplate rather than decision-relevant information, but it does not obscure the main instruction.

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?

A three-parameter mutation tool with no annotations and no output schema needs the description to explain what comes back, and 'import native results' plus 'Legacy return shape preserved' is too vague to tell an agent what is returned or where results land. Units and error handling are well covered, but the return side and side effects on existing document state are left open.

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

Parameters3/5

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

Schema description coverage is 100%, so doc_name, analysis_name and working_dir are already documented at the field level; the baseline of 3 applies. The description adds only a light reinforcement ('explicit internal names recommended') and unrelated unit conventions for the model, not parameter-specific semantics such as acceptable analysis types or working_dir reuse behavior.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening clause gives three specific verbs applied to a specific resource: write CalculiX input, execute the solver, import native results. That is enough to separate it from fem_create_static_analysis (setup) and fem_inspect_static_results (post-processing), even though neither sibling is named. It stops short of a 5 because the boundary with the setup tool is implied rather than stated.

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?

'Require explicit convergence/engineering assessment separately' tells the agent that this tool does not evaluate results and that a second step is needed, which is real workflow guidance. However, no alternative tool is named and there is no explicit when-not condition, so the agent must infer which sibling performs the assessment.

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