Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

list_objects

Lists all objects in the active or specified FreeCAD document, including types and properties for inspection and selection.

Instructions

List all objects in the active (or specified) document with their types and properties.

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": "list_objects"
  }
}

Input Schema

NameRequiredDescriptionDefault
doc_nameNoInternal document Name, never Label/path. Omitted/null uses active document (legacy); pass explicitly.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose a lot: enumerated error outcomes (invalid_arguments, document_not_found, transaction_conflict, execution_timeout), transport-failure caveat, the fact that timeouts are not cancellation, and a preserved legacy return shape. Some of this is generic boilerplate poorly matched to a read verb (field unit defaults in mm/mm^2/mm^3 and 'never blindly retry mutations'), and it never states that the operation is read-only or describes result size/pagination 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 lead sentence is well front-loaded and does the real work. The appended contract block is a dense run-on that mixes relevant error-contract information with unit conventions and mutation-retry advice that do not apply to a listing tool, so a non-trivial share of the text does not earn its place.

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

Completeness4/5

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

For a one-parameter read tool with an output schema, the definition covers purpose, parameter intent, and failure modes, which is enough for correct invocation. It is not fully complete because it is silent on result volume/pagination and on whether subelements are included, which matters given the existence of list_objects_page and list_subelements.

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% and the single parameter already documents 'Internal document Name, never Label/path' and the null-means-active-document default. The description only re-emphasizes 'explicit internal names recommended' and 'pass explicitly', adding emphasis but no new semantics such as accepted name format or the effect of a wrong name.

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 sentence gives a specific verb and resource ('List all objects') plus the scope ('active or specified document') and return content ('types and properties'), so an agent knows exactly what it gets back. It does not name the obvious sibling list_objects_page, so the 'all' vs. paged distinction has to be inferred from the word 'all' rather than stated.

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 implied rather than stated: the description notes that omitting doc_name uses the active document (legacy) and recommends passing explicit internal names, which is real guidance on how to call it. But there is no when-to-use/when-not statement and no routing to alternatives, even though a clearly paginated sibling (list_objects_page) exists; the definition leaves the choice to inference.

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