Skip to main content
Glama

validate_notebook_graph

Validate an .ntop notebook's block graph to detect dangling inputs and duplicate IDs and confirm Automate readiness before execution.

Instructions

Validate an .ntop notebook's block graph for dangling inputs, duplicate IDs, and Automate readiness.

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

Input Schema

NameRequiredDescriptionDefault
notebook_pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/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 the specific defects it looks for. However, it does not state whether validation is purely read-only, whether it can mutate the notebook, or what happens on failure, which are key traits for a tool with zero annotation coverage.

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 sentence is front-loaded and waste-free, listing the three validations compactly. The trailing 'Args:' block duplicates the single schema parameter, which is minor redundancy rather than bloat.

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?

The tool is simple (one required parameter) and an output schema exists, so return value explanation is not needed. Still, ambiguous terms like 'Automate readiness' are left undefined and the read-only nature of the operation is unstated, leaving moderate gaps for an agent deciding whether it is safe to call.

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 0%, so the description must compensate, and it only restates the parameter as 'Path to the .ntop notebook' with no information on path format, relativity, or required file extension handling. It adds marginal meaning beyond the schema's 'Notebook Path' title.

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+resource ('Validate an .ntop notebook's block graph') and enumerates the three checks performed: dangling inputs, duplicate IDs, and Automate readiness. It is clearly distinguishable from siblings like prune_notebook_graph or read_notebook_graph, though it never names an alternative explicitly.

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 guidance on when to call this versus prune_notebook_graph, read_notebook_graph, or run_notebook, and no stated prerequisites or sequencing (e.g., validate before running). The use case must be inferred from the name and the word 'Validate'.

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