Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

fit_view

Zooms the FreeCAD view to fit all objects, so you can inspect the complete model after design changes.

Instructions

Zoom to fit all objects in view.

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

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "fit_view"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden: it does enumerate failure modes (invalid_arguments, document_not_found, object_not_found, transaction_conflict, etc.) and warns that timeouts are not cancellations and mutations must not be blindly retried. However, that contract is generic boilerplate — it never states whether fit_view changes only the camera/view state or persists anything, and the retry warning about mutations is inapplicable to a read-only view operation, which can mislead.

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

Conciseness2/5

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

The purpose is front-loaded and well-formed, but roughly two-thirds of the text is a copied contract block about units, error codes, timeouts, and a "legacy return shape" that has little or no bearing on a zero-argument view-zoom call. Those sentences do not earn their place and dilute the one line that matters.

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 vocabulary is a plus. Still missing are the facts an agent actually needs for this tool: whether a document or view must be active, whether the zoom affects saved state or is purely visual, and whether it works headlessly. The inapplicable unit and mutation-retry text occupies space that should hold those answers.

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

Parameters4/5

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

The tool takes zero parameters, so the baseline of 4 applies and the schema fully covers the empty argument object. The unit discussion (mm, mm^2, mm^3, field-unit overrides) adds no meaning here because there is nothing to parameterize, making it noise rather than clarification.

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?

"Zoom to fit all objects in view" gives a specific verb (zoom to fit) and resource (the current view), so an agent can tell it apart from capture_view, get_view_state, and set_view without opening a schema. It stops short of explicitly contrasting with those siblings, but the single-sentence purpose is unambiguous.

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?

The description never says when to call this rather than set_view, capture_view, or get_view_state, and it offers no preconditions (e.g. an active document or view must exist). The only usage-adjacent remark, "explicit internal names recommended", is irrelevant to a zero-argument tool.

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