Skip to main content
Glama
freecad-mcp

freecad-mcp

freecad_fem_constraint_pressure

Apply a pressure load to selected model faces in a FEM analysis, with optional reversed direction, to set pressure boundary conditions for simulation.

Instructions

Apply a pressure load to faces of the model

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": {
      "analysisName": "<analysisName>",
      "objectName": "<objectName>",
      "references": "<references>",
      "pressure": "<pressure>"
    },
    "name": "freecad_fem_constraint_pressure"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoName for the pressure constraint
pressureYesPressure in MPa
reversedNoReverse direction (default false)
objectNameYesName of the object
referencesYesFace references to apply pressure to (e.g., ["Face1"])
analysisNameYesName of the FEM analysis

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, but it only says a load is applied. It does not state that this mutates an existing analysis, whether an analysis must pre-exist, whether the operation is reversible, or what the result contains. Only the schema hints at direction reversal and units.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though its brevity borders on under-specification rather than ideal conciseness.

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

Completeness2/5

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

A mutation tool with four required parameters and no annotations or output schema needs more than one sentence. Missing are the dependency on a pre-existing analysis, how face references are validated, and any post-conditions, leaving real gaps for correct invocation.

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 every parameter, including pressure units in MPa, face references, and the reversed flag, is already documented in the schema. The description adds no meaning beyond that baseline, which merits the standard 3.

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?

States a specific verb and resource: 'Apply a pressure load to faces of the model'. This clearly distinguishes it from other FEM constraint tools like fixed or force, but the description never names those siblings explicitly.

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

Usage Guidelines2/5

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

No guidance on when to use this versus freecad_fem_constraint_force or freecad_fem_constraint_fixed, and no stated prerequisites such as the need for an existing FEM analysis or valid geometry. The agent must infer all of this from the parameter names.

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