Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

set_view

Sets the 3D view direction to isometric, front, back, top, bottom, left, or right so you can inspect a FreeCAD model from a chosen orientation.

Instructions

Set the 3D view direction: 'isometric', 'front', 'back', 'top', 'bottom', 'left', 'right'.

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": {
      "direction": "<direction>"
    },
    "name": "set_view"
  }
}

Input Schema

NameRequiredDescriptionDefault
directionYesX/Y/Z Body-origin axis for linear pattern; isometric/front/back/top/bottom/left/right for set_view.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden, and it discloses an error code list and a timeout/non-cancellation caveat. However, those disclosures are clearly generic boilerplate (mutation retry warnings, transaction_conflict) for an operation that merely changes a camera direction, and the units contract (mm, mm^2, mm^3, field units) is irrelevant noise that could mislead an agent into thinking geometry is modified. 'Legacy return shape preserved' hints at compatibility but gives no usable behavior.

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

Conciseness3/5

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

The purpose sentence is front-loaded and efficient. The trailing 'Contract' block is lengthy boilerplate that mostly does not apply to a view-setting operation, diluting the useful content.

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 one-parameter tool with an output schema and full schema coverage, the essential information (what it does, which values are legal) is present. Completeness is undercut by copying an unrelated units/error contract instead of stating view-specific behavior such as whether the view applies to the active document or all views.

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 single direction parameter is already fully documented in the schema, including the same value list. The description restates those values without adding format, default, or case-sensitivity information, which is the expected baseline 3 when the schema does the work.

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 first line gives a specific verb and resource ('Set the 3D view direction') and enumerates all seven accepted directions, so the agent knows exactly what the tool does. It does not differentiate itself from plausible siblings like fit_view, capture_view, or get_view_state, which keeps it short of a 5.

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 lists valid values but never says when to choose this tool over fit_view, capture_view, or get_view_state. The only guidance-like sentence ('explicit internal names recommended') is cryptic and does not help select or invoke the 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