Skip to main content
Glama
cenitu

inventor-mcp-server

reload_api

Hot-reload inventor_api.py from disk after edits to apply wrapper changes without restarting Claude Code; preserves COM connections and resets the execute_python namespace.

Instructions

Hot-reload inventor_api.py from disk. Use after editing the wrapper — no Claude Code restart needed. Keeps the COM connections; clears this Inventor's execute_python namespace.

Input Schema

NameRequiredDescriptionDefault
instanceNoWhich connected Inventor to use (list_instances). Leave empty when only one is connected.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does well: it discloses that COM connections are kept, the execute_python namespace is cleared, and no restart is required. It omits edge cases such as behavior when no Inventor is connected or whether the reload can fail, which keeps it from a 5.

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

Conciseness5/5

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

Three short sentences, front-loaded with the action and followed by usage and behavioral notes. No sentence is wasted, and the key constraint about preserving COM connections is included efficiently.

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?

The tool is low-complexity, the schema fully documents the only parameter, and an output schema exists. The description covers purpose, when to use it, and important side effects, but does not mention failure modes or preconditions such as an active connection.

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?

The schema has 100% description coverage for the single 'instance' parameter, so the schema already explains it fully. The description adds no parameter-specific details beyond the schema, making the baseline 3 appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource: 'Hot-reload inventor_api.py from disk.' It clearly states the tool reloads the wrapper module, and the note about clearing the execute_python namespace distinguishes it from related execution tools like execute_python and load_library.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear usage condition: 'Use after editing the wrapper — no Claude Code restart needed.' This tells the agent exactly when to invoke it, but it does not explicitly mention exclusions or compare against sibling tools like load_library or execute_python.

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