Skip to main content
Glama
freecad-mcp

freecad-mcp

freecad_spreadsheet_set

Set cell values in a FreeCAD spreadsheet with sheet names and cell-value pairs, including numbers, text, and formulas prefixed with = to update parametric CAD data.

Instructions

Set one or more cell values in a spreadsheet. Supports numbers, strings, and formulas (prefix with =).

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": {
      "sheetName": "<sheetName>",
      "cells": "<cells>"
    },
    "name": "freecad_spreadsheet_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
cellsYesArray of cell-value pairs to set
sheetNameYesName of the spreadsheet

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. It does not state whether existing cell contents are overwritten, whether the write is atomic across the array, whether formulas are recalculated or evaluated server-side, or what happens if sheetName or a cell address is invalid — significant gaps for a mutation tool.

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?

Two short sentences with the core action front-loaded and no filler. The second sentence largely duplicates the schema's value description, which is the only mild waste.

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?

For a two-parameter setter with a full schema and no output schema, the description is adequate but thin: it omits overwrite behavior, prerequisite existence of the spreadsheet, and failure modes. An agent can call it, but not confidently predict the effect of overwriting an occupied cell.

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 cell addressing, the array-of-pairs structure, and the formula-prefix convention are already documented in the schema. The description merely restates the formula convention ("prefix with =") without adding syntax detail, error semantics, or guidance on cell-range vs. individual cells.

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 definition gives a specific verb and resource ("Set one or more cell values in a spreadsheet") and even notes batch capability. It is clearly distinguishable from freecad_spreadsheet_get or freecad_spreadsheet_create by the act of writing values, but it never names a sibling or explicitly rules out freecad_set_expression, leaving the caller to infer the boundary.

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 when-to-use guidance, no prerequisites (e.g., that the spreadsheet and sheetName must already exist), and no mention of when to prefer freecad_set_expression or freecad_spreadsheet_alias instead. Only the bare action is implied by the description.

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