Skip to main content
Glama
freecad-mcp

freecad-mcp

freecad_get_volume

Retrieves the volume of a named FreeCAD object, letting you check solid mass properties directly from an AI client for CAD validation and design checks.

Instructions

Get the volume of an object.

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>"
    },
    "name": "freecad_get_volume"
  }
}

Input Schema

NameRequiredDescriptionDefault
objectNameYesName of the 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 provided, the description carries the full behavioral burden and does not meet it. It does not state units (mm³ vs other), whether the operation is read-only, what happens for non-solid or invalid object names, or what the return value looks like. For a measurement tool whose output units matter in CAD, this is a real gap.

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 zero wasted words. It is as tight as possible, though its brevity borders on under-specification rather than optimal 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?

The tool is simple (one required parameter), but with no annotations, no output schema, and no units specified, the description leaves important things an agent needs unresolved: what the returned value means, in which units, and under what conditions the call fails.

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 coverage is 100%: the single parameter 'objectName' is documented in the schema as the name of the object. The description adds no further meaning (e.g., naming conventions, whether nested sub-objects are accepted), so the baseline 3 for high schema coverage applies.

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: 'Get the volume of an object.' An agent can tell it returns volume, not bounding box or center of mass. However, it does not explicitly differentiate itself from siblings like freecad_get_bounding_box, relying on the name to convey the distinction.

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 guidance on when to use this tool versus alternatives, no mention of prerequisites (e.g., the object must be a solid/Part shape for volume to be meaningful), and no exclusions. Usage is only implied by the tool name.

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