Skip to main content
Glama
maximedns5

freecad-mcp

by maximedns5

probe_material_at

Verify if solid material exists inside a box region of a CAD object by computing its geometric intersection, catching hidden design flaws like missing floors or walls.

Instructions

Check whether solid material actually exists inside an axis-aligned box.

Answers "is there a floor/wall/boss here" directly by computing the real
geometric intersection of the object with a probe box, instead of
inferring it from a screenshot or trusting that a cut/pad did what was
intended. A classic failure this catches: an "open-top enclosure" pocket
cut from the base-plane sketch leaves the box closed on TOP and open on
the BOTTOM (a sketch sits on its plane and cannot leave a floor beneath
itself) — probing the intended floor location returns 0 material there.

Args:
    doc_name: The name of the document containing the object.
    obj_name: The name of the object to probe.
    box_min: [x, y, z] of the probe box's minimum corner.
    box_size: [x, y, z] size of the probe box (all must be positive).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
box_minYes
box_sizeYes
doc_nameYes
obj_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries full responsibility for behavioral disclosure. It explains that the tool computes 'the real geometric intersection' rather than using heuristics, and it reveals a common failure mode where an 'open-top enclosure' yields 0 material at the floor. This gives valuable insight into the tool's behavior beyond the basic operation, though it does not explicitly state whether the operation is read-only or has side effects.

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?

The description is front-loaded with a one-sentence summary, followed by a rationale with a concrete example, and ends with parameter definitions. No filler; every sentence contributes meaning, making it appropriately sized and well-structured.

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

Completeness5/5

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

Given the presence of an output schema, the description does not need to explain return values. It covers the core behavior, parameter constraints, and a key failure scenario, making it complete for a geometric probe tool. It omits error handling, but that is not essential for this use case.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema descriptions are absent (0% coverage), so the description fully compensates by defining each parameter: doc_name, obj_name, box_min as the minimum corner, and box_size with a positivity constraint. This gives the agent all necessary information to construct valid arguments.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence clearly states the tool's function: 'Check whether solid material actually exists inside an axis-aligned box.' It also distinguishes itself from alternatives by contrasting with 'inferring it from a screenshot or trusting that a cut/pad did what was intended,' providing a specific verb+resource and clear differentiation from siblings like get_view or measure.

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

Usage Guidelines4/5

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

The description gives clear usage context: use this tool when you need direct geometric verification rather than visual inference or assumptions from modeling operations. It provides a concrete failure example illustrating when probing is necessary, but it does not explicitly name alternative tools to use instead, so it lacks the most explicit 'use this instead of X' guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/maximedns5/freecad-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server