Skip to main content
Glama
freecad-mcp

freecad-mcp

freecad_set_expression

Bind an object property to a spreadsheet cell or expression to enable parametric control, so model dimensions update from formulas.

Instructions

Bind an object property to a spreadsheet cell or expression for parametric control (e.g., Box.Length = Spreadsheet.Width)

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": {
      "objectName": "<objectName>",
      "property": "<property>",
      "expression": "<expression>"
    },
    "name": "freecad_set_expression"
  }
}

Input Schema

NameRequiredDescriptionDefault
propertyYesProperty name (e.g., "Length", "Height", "Radius")
expressionYesExpression string (e.g., "Spreadsheet.Width", "Spreadsheet.Width * 2")
objectNameYesName of the target object

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 supplied, the description carries the full behavioral burden, and it discloses little: it implies a mutation but never says whether an existing binding is overwritten, whether the expression is validated, what happens on an invalid reference, or whether the spreadsheet must already exist. Only the basic 'this creates a parametric link' trait comes through.

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 the key action first and a compact illustrative example in parentheses; no filler. It is perhaps slightly too terse given what it omits, but nothing in it is wasted.

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?

For a mutation tool with zero annotation coverage and no output schema, the description should explain prerequisites, failure modes, and the effect of rebinding an already-bound property. None of that is present, leaving meaningful gaps for a three-required-parameter write operation.

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 each of the three parameters is already documented with examples, which sets the baseline at 3. The description's example mapping adds a small amount of framing about how objectName, property and expression relate, but no new syntax or format detail beyond the schema.

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 description states a specific verb and resource: 'Bind an object property to a spreadsheet cell or expression', and the parenthetical 'Box.Length = Spreadsheet.Width' makes the effect concrete. It does not differentiate from the sibling freecad_spreadsheet_set, which plausibly writes values rather than bindings, so it falls short of a 5.

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?

There is no explicit when-to-use or when-not-to-use guidance and no mention of alternatives such as freecad_spreadsheet_set. The phrase 'for parametric control' only implies the intended scenario; an agent must infer prerequisites (an existing spreadsheet, aliased cells) on its own.

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