Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

start_batch_job

Queues structured FreeCAD operations for validation before mutation and returns a stable process-local job ID to inspect progress or safely retry within the same process.

Instructions

Queue a structured batch and return a stable process-local job ID immediately.

Reconnect to the same FreeCAD process and inspect the ID before retrying.
Progress is null when FreeCAD exposes no truthful progress. Process restart
does not preserve jobs and is reported as unknown by get_job.

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": {
      "steps": "<steps>"
    },
    "name": "start_batch_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsYesOrdered structured batch steps; validated on the GUI thread before mutation.
atomicNoOne-document atomic rollback when true; multi-document stop-on-error when false.
previewNoValidate and report planned effects without mutation.

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNo
statusYes
warningsNo
referencesNo
contract_versionNo1.0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: jobs are process-local, do not survive restart, surface as unknown to get_job, and progress may be null when FreeCAD cannot report truthfully. It also enumerates the failure modes (invalid_arguments, transaction_conflict, execution_timeout) and warns that transport failure is not cancellation. It stops short of describing concurrency or resource limits for queued jobs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and return contract are front-loaded in the first sentence, and the following sentences each carry a distinct operational fact with no filler. Density is high without becoming unreadable, and the trailing error list is compact.

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?

An output schema exists, so return values need not be explained, and the error taxonomy is supplied. However, for a job-orchestration tool with no annotations, the description never says how completion is observed beyond get_job or whether queued jobs run concurrently, leaving a real gap in the lifecycle story.

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 the schema already documents steps, atomic, and preview thoroughly, including units. The description restates the unit convention (mm, mm^2, mm^3, field units override defaults) and adds the naming recommendation, but adds little semantic meaning beyond what the schema provides.

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?

"Queue a structured batch and return a stable process-local job ID immediately" gives a specific verb, resource, and the defining async behavior (returns immediately rather than running the batch). It does not explicitly name execute_batch or explain how the two differ, so the agent must infer that this one is the queued variant.

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?

It gives operational guidance about reconnecting to the same process and inspecting the job ID before retrying, plus the warning that timeout is not cancellation. What is missing is direct routing: nothing says when to use this versus execute_batch, or when preview/atomic should be preferred.

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