Skip to main content
Glama
inventor-mcp-server

inventor-mcp-server

manage_call

Check status or cancel a long-running Inventor call that outlived its wait, showing elapsed time, dialogs, output, and progress, or stopping the running script.

Instructions

Follow or stop a call that outlived the wait — a long execute_python, a Content Center scan, one stuck behind an Inventor dialog.

"status": elapsed time, any open dialog's text, output so far, progress() line (with the time left after progress(done, total)) — and the result once it has finished. wait_seconds waits (at most 45 s) and returns as soon as it ends. The result of a call that outlived the wait is also written as JSON under ~/.inventor-mcp/calls (INVENTOR_MCP_CALLS) — the message that says it keeps running names the file — so it can be read there if this tool can't be called. "cancel": cancelled() in execute_python code turns True at once; code still running after 2 s gets a KeyboardInterrupt, repeated until it stops. That lands at the next Python line: a call stuck INSIDE one COM operation or behind a dialog stops only once that returns.

Args: action: "status" or "cancel". wait_seconds: For "status".

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

Input Schema

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

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations exist, so the description must carry the full behavioral burden, and it does disclose a lot: the 45 s cap on wait_seconds, the ~/.inventor-mcp/calls JSON persistence, cancelled() turning True immediately, a 2 s grace before KeyboardInterrupt, and the real limitation that a call stuck inside one COM operation or a dialog only stops after it returns. However, it never states side effects, guarantees about the cancelled call's state, or whether cancel is reversible, so the mutation profile remains partial.

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?

It is front-loaded with the core purpose and the longest section is devoted to the genuinely tricky 'status' return contents. The structure is marred by quoted inline keys and a trailing Args block that restates action and wait_seconds already covered in the body, adding redundancy.

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?

With an output schema present, the description needn't enumerate return fields, yet it usefully previews the status payload (elapsed time, dialog text, output so far, progress line) and the on-disk fallback. The only notable gap is the undocumented 'instance' parameter, which matters for multi-instance sessions.

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 only 33% – only 'instance' is documented in the schema – so the description must compensate. It does define action's two values and explains wait_seconds (status-only, 45 s maximum), but 'instance' is never addressed in the description text and the semantics of wait_seconds=0 are not spelled out.

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 line states a specific verb and object: follow (status) or stop (cancel) a call that outlived its wait, with execute_python named as the origin of such calls. That distinguishes it from the launcher, but the phrasing is oblique and the tool's role as a poll/cancel handle is inferred rather than stated outright.

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 clearly establishes the trigger (a call that outlived the wait, e.g. long execute_python, Content Center scan, Inventor dialog), splits guidance per action value, and even offers a fallback path via the JSON file if the tool cannot be called. No explicit when-not guidance is given beyond the cancellation limitation.

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