Skip to main content
Glama
freecad-mcp

freecad-mcp

get_view

Capture a screenshot of the active CAD view from a chosen angle, optionally focusing on a specific object and setting output width or height.

Instructions

Get a screenshot of the active view.

Args: view_name: The name of the view to get the screenshot of. The following views are available: - "Isometric" - "Front" - "Top" - "Right" - "Back" - "Left" - "Bottom" - "Dimetric" - "Trimetric" width: Requested width in pixels. With both dimensions omitted, the viewport is scaled to a maximum edge of 1024 pixels. If only one dimension is omitted, that dimension uses the viewport size. height: Requested height in pixels, following the same sizing rules. focus_object: The name of the object to focus on. If not specified, fits all objects in the view.

Returns: A screenshot of the active view.

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": {
      "view_name": "<view_name>"
    },
    "name": "get_view"
  }
}

Input Schema

NameRequiredDescriptionDefault
widthNo
heightNo
view_nameYes
focus_objectNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.32

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden, and it does disclose the sizing policy (max edge 1024 when both dimensions are omitted; the omitted dimension falls back to viewport size) and that focus_object defaults to fitting all objects. What it omits is the return encoding (image content block vs. base64 vs. path) and any sense of cost or whether the render reflects unsaved document state.

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?

The Args/Returns structure is front-loaded and easy to scan, with each parameter getting exactly the space it needs. Minor waste comes from re-listing all nine view names that already appear as an enum in the schema.

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 screenshot tool with no output schema and no annotations, the description should say what the returned screenshot actually is (format, whether it is an image payload or a file reference, and whether it reflects the live document). Sizing and focus semantics are covered well, but the return value is restated rather than explained.

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?

Schema description coverage is 0%, so the description must compensate and largely does: it defines width and height with concrete default and inheritance rules, explains focus_object's default, and lists the valid view names. The only softness is that focus_object's name-matching semantics (exact object name? case sensitivity?) are not specified.

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?

"Get a screenshot of the active view" states a specific verb (get) and concrete resource (screenshot of a named view), and the enumerated view names make the scope unmistakable. It does not distinguish itself from siblings such as get_object or get_objects, though the resource is different enough that confusion is unlikely.

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?

Usage is only implied: the description makes clear you call it when you want an image of a particular camera view, and it explains fallback behavior for omitted dimensions. There is no explicit when-not guidance, no mention of alternatives for extracting object data instead of imagery, and no note on cost or latency of a render.

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