Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

library_inspect

Verify original STEP and FCStd hashes for a specific component revision and return stored provenance and technical data.

Instructions

Verify original STEP and FCStd hashes and return stored provenance and technical data.

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>",
      "component_id": "<component_id>",
      "revision": "<revision>"
    },
    "name": "library_inspect"
  }
}

Input Schema

NameRequiredDescriptionDefault
revisionYesExact immutable revision identifier.
component_idYesExact internal component identifier.
library_rootYesPersistent library root directory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

B3.4/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 does substantial work: it enumerates error conditions (invalid_arguments, document_not_found, object_not_found, transaction_conflict, operation_failed, execution_timeout), warns that transport failures are possible, and clarifies that timeout is not cancellation and mutations should not be blindly retried. It also states default units and that field units override them. The remaining gap is the vague 'legacy return shape preserved' note, which doesn't tell the agent what to expect back.

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 core action is front-loaded in the opening sentence, followed by a compact 'Contract' block of units and error semantics. It is efficient, though the timeout/retry sentence reads as generic boilerplate that is only loosely relevant to an inspect 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?

No output schema exists, so the description is the only source for return-value expectations, and 'stored provenance and technical data' plus 'legacy return shape preserved' is too vague to tell an agent what fields come back. Error behavior and units are well covered, but the return contract is underspecified for a three-required-parameter inspection tool.

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 all three parameters (library_root, component_id, revision) are already documented in the schema. The description adds only marginal meaning — the recommendation to use explicit internal names and the unit conventions — which is not parameter-specific. Baseline 3 applies.

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 description uses a specific verb pair ('Verify ... hashes') plus a concrete return scope ('stored provenance and technical data') for a named resource (library component revision). This clearly distinguishes it from mutation siblings like library_insert_component or library_register_step, though it doesn't contrast with library_search or inspect_document.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no alternative tool is named. The only directive is a parameter-level hint ('explicit internal names recommended'), which is not usage selection guidance. An agent must infer that this is the integrity-check path for an already-registered library component.

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