Skip to main content
Glama

open_in_ntop_gui

Launch or safely reload an .ntop notebook in the desktop nTop GUI, with duplicate-window and unsaved-change protection.

Instructions

Launch or safely reload an .ntop notebook in the desktop nTop GUI with duplicate-window and unsaved-change protection.

Args: notebook_path: Path to the .ntop file. prevent_duplicate: If True (default), refuse to open a second window if this file is already open in ntop.exe. reload_if_open: If True, safely close existing ntop.exe window(s) for this file (after checking Autosave) and reopen cleanly. force_if_unsaved: Only used with reload_if_open=True; bypasses the Autosave unsaved-change guard.

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": {
      "notebook_path": "<notebook_path>"
    },
    "name": "open_in_ntop_gui"
  }
}

Input Schema

NameRequiredDescriptionDefault
notebook_pathYes
reload_if_openNo
force_if_unsavedNo
prevent_duplicateNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/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 it does disclose meaningful side effects: it may close existing ntop.exe windows for the file and will check Autosave before doing so, and force_if_unsaved bypasses that safety guard. It nonetheless omits key operational context — whether launching requires a desktop session/Windows host, whether the call blocks until the GUI is up, and what happens if ntop.exe is not currently running.

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?

A single front-loaded summary sentence establishes purpose and safety behavior, followed by a compact Args block with zero filler. The Args entries restate parameter names already in the schema, but each adds semantics the schema lacks, so the structure is efficient rather than redundant.

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 4-parameter tool with an output schema available (so return values need not be described), the definition covers modes, preconditions, and the destructive-adjacent window-closing path. The remaining gap is environmental expectations — host/display requirements and blocking behavior — which matter for a GUI-launching tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must supply all parameter meaning — and it does: notebook_path is constrained to a .ntop file, and the three booleans get default states, dependency rules (force_if_unsaved only applies when reload_if_open=True), and the concrete consequence of each flag. This is exactly the compensation the low coverage requires.

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 gives a specific verb pair (launch / safely reload) and a specific resource (.ntop notebook in the desktop nTop GUI), plus the two protective behaviors that characterize the tool. It does not explicitly contrast itself with siblings such as run_notebook or inspect_notebook, so an agent must infer that those operate on notebooks without opening a GUI window.

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?

The conditions are stated for each mode: refuse a second window via prevent_duplicate, close-and-reopen via reload_if_open after an Autosave check, and bypass the guard via force_if_unsaved. What is missing is explicit routing guidance — nothing tells the agent when to prefer this GUI-opening tool over headless alternatives like run_notebook or inspect_notebook.

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