Skip to main content
Glama

add_notebook_block

Adds a new compute block to an existing .ntop notebook and wires its inputs so you can extend nTop workflows without manually configuring block connections.

Instructions

Add a new compute block to an existing .ntop notebook and wire its inputs.

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>",
      "func": "<func>",
      "block_type": "<block_type>",
      "inputs": "<inputs>"
    },
    "name": "add_notebook_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
funcYes
nameNo
unitsNo
inputsYes
overwriteNo
block_typeYes
add_to_rootNo
output_pathNo
section_nameNo
notebook_pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden for a mutation tool. It says a block will be added and inputs wired, but does not disclose permission requirements, overwrite behavior, side effects on existing blocks, or what happens when required fields conflict.

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

Conciseness3/5

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

The single sentence is clear and front-loaded with no wasted wording. However, it is too sparse for a 10-parameter mutation tool, so conciseness comes at the cost of necessary operational detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/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 explained. Still, for a complex mutation tool with 10 parameters and no annotations, the description omits key context about block types, required function semantics, overwrite behavior, and placement options such as add_to_root and section_name.

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

Parameters2/5

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

Schema description coverage is 0% across 10 parameters. The description clarifies notebook_path and that inputs are wired, but leaves func, block_type, overwrite, add_to_root, output_path, section_name, units, and name unexplained, which is a significant gap for a tool with this many parameters.

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 states a specific action: adding a new compute block to an existing .ntop notebook and wiring its inputs. This distinguishes it from sibling tools for literals, variables, and sections, though it does not explicitly name which sibling to use instead in overlapping cases.

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 explicit guidance on when to use this tool versus alternatives such as add_notebook_literal, batch_edit_notebook, or add_notebook_section. The intended usage is only implied by 'existing .ntop notebook' and 'compute block'.

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