Skip to main content
Glama

inspect_notebook

Reads .ntop notebook files directly to report metadata, nTop version, sections, inputs, output blocks, and sub-functions without launching ntopcl.

Instructions

Inspect an .ntop file's metadata, nTop version, sections, inputs, output block, and sub-functions.

Reads the .ntop binary container directly without starting ntopcl (instant).

Args: notebook_path: Path to the .ntop notebook.

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

Input Schema

NameRequiredDescriptionDefault
notebook_pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/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, and it does disclose meaningful behavior: the read is direct on the binary container and does not require ntopcl, making it instantaneous. It does not explicitly state the operation is read-only, nor what happens on a missing/corrupt file or whether any nTop installation is needed at all.

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 first sentence front-loads what is returned, the second adds the how/why-it-is-fast detail, and the Args line is short. The Args block is slightly redundant with the one-property schema but costs little.

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?

An output schema exists, so return values need not be described, yet the description still previews the main fields. For a single-parameter read-only inspection tool this is essentially complete; only error/permission behavior is absent.

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

Parameters4/5

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

Schema coverage is 0% and the single property is documented only as 'Notebook Path', so the description's 'Path to the .ntop notebook' is the sole source of meaning. It usefully pins the expected file type (.ntop) even though it adds no format or resolution details beyond that.

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?

Specific verb 'Inspect' paired with a concrete resource (.ntop file) and an enumeration of exactly what is surfaced: metadata, nTop version, sections, inputs, output block, sub-functions. It is clearly a lightweight structural read rather than a graph edit or a run, though it never names the sibling tools (read_notebook_graph, list_notebook_variables) it must be distinguished from.

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

Usage Guidelines3/5

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

The note that it 'reads the .ntop binary container directly without starting ntopcl (instant)' implies when to prefer it — quick inspection instead of launching the engine — but there is no explicit when-not condition and no alternative tool is named. Usage is inferable rather than stated.

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