Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

library_search

Search locally stored component revisions by query, category, or manufacturer to locate reusable CAD parts; results indicate presence, not functional suitability.

Instructions

Search locally stored component revisions; presence is not functional suitability.

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": {
      "library_root": "<library_root>"
    },
    "name": "library_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoCase-insensitive text matched against stored component metadata.
categoryNoOptional exact component family.
library_rootYesPersistent library root directory.
manufacturerNoOptional exact manufacturer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

C2.9/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 discloses an error taxonomy and notes transport failures and timeouts, which is useful. However, it never states that this is a read-only operation, and 'never blindly retry mutations' is irrelevant and confusing for a search tool, while 'legacy return shape preserved' leaves the result contract opaque.

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, but the 'Contract' sentence is a run-on dumping units, error codes, retry policy, and return-shape notes. Several clauses, especially the units and mutation-retry language, do not earn their place for a search operation.

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 four-parameter search tool with full schema coverage and no annotations or output schema, the description covers error handling but omits read-only safety, result/pagination semantics, and whether revisions are searched across libraries. It is adequate but leaves meaningful gaps.

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%, so the schema already documents query, category, manufacturer, and library_root. The description's 'explicit internal names recommended' adds a small hint for the query field, but the units sentence (mm, mm^2, mm^3) has no bearing on any of the four parameters and is noise.

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 states a specific verb and resource ('Search locally stored component revisions') and adds a caveat that presence is not functional suitability. It does not distinguish this from sibling tools like library_inspect or library_insert_component, so an agent must infer which library operation applies.

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 line 'presence is not functional suitability' faintly implies results need follow-up verification, but there is no explicit when-to-use, when-not-to-use, or named alternative. Nothing tells the agent when to search versus inspect or insert.

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