Skip to main content
Glama
am-3

universal-notebook-mcp

by am-3

notebook_run_all

Execute all cells in a Jupyter notebook sequentially and collect their outputs. Specify notebook path and optional kernel, timeouts, error handling, and output saving.

Instructions

Execute every cell in the notebook in order and return all outputs.

Args: notebook_path: Path to the .ipynb file, relative to the workspace root. kernel_name: Kernel to use (default: 'python3'). timeout: Per-cell timeout in seconds (default: 60). stop_on_error: Stop at first failing cell (default: true). save_outputs: Write outputs back to the .ipynb file (default: true).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeoutNo
kernel_nameNo
save_outputsNo
notebook_pathYes
stop_on_errorNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

The description discloses key behaviors: it saves outputs back to the notebook file (save_outputs), stops on error by default (stop_on_error), and has per-cell timeout. Since no annotations are provided, the description carries the full burden and covers important side effects (writing to file) and execution semantics.

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

Conciseness5/5

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

The description is highly concise: a single sentence defining the tool's purpose followed by a bullet list of all five parameters with defaults and explanations. No redundant text; every sentence adds value. Information is front-loaded.

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?

Given the tool has 5 parameters, no annotations, and an output schema (assumed to cover return values), the description adequately explains all parameters and core behavior. However, it lacks details on output format, error handling beyond stop_on_error, and any performance or state implications (e.g., kernel reset).

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?

While the description attempts to explain each parameter, it inaccurately states the default for kernel_name as 'python3' when the input schema specifies default null. This contradiction misleads the agent about the tool's actual default behavior. Schema description coverage is 0%, so accurate parameter documentation is critical.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Execute every cell in the notebook in order and return all outputs,' which specifies the verb (execute), resource (every cell in the notebook), and scope (in order, all outputs). This distinguishes it from sibling tools like notebook_run_cell (single cell) and notebook_run_range (range of cells).

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?

The description does not provide any guidance on when to use this tool versus alternatives. It lacks explicit 'when-to-use' or 'when-not-to-use' conditions, and does not mention any prerequisites or context for preferring full notebook execution over running individual cells or ranges.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/am-3/jupyter-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server