Skip to main content
Glama

colab_notebook_run_all

Run all code cells in a notebook in order, save their outputs, and halt on the first error unless stop_on_error is false.

Instructions

Run every code cell in order (from index start), storing outputs in the notebook. Stops at the first failing cell unless stop_on_error=false.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
startNo
sessionNo
stop_on_errorNo
timeout_per_cellNo

Output Schema

TableJSON 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?

No annotations are provided, so the description carries the full behavioral burden. It does disclose valuable traits beyond the schema — ordered execution, output storage in the notebook, and the fail-fast default governed by stop_on_error. However, it is silent on session requirements, timeout behavior, cost/duration, and what happens to partially produced outputs on failure.

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?

Two sentences, zero filler. The core action and ordering constraint are front-loaded, with the scoping detail and error-handling exception following — an efficient structure for a tool of this complexity.

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?

An output schema exists, so return values need not be described. But for a 5-parameter mutation-ish tool with no annotations and 0% schema coverage, the description leaves session selection and per-cell timeout semantics entirely unexplained, which an agent needs in order to invoke it correctly.

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 5 parameters, so the description must compensate and it only partially does: `start` (index to begin from) and `stop_on_error` (fail-fast toggle) are given real meaning. `path`, `session`, and `timeout_per_cell` — including the notable 300s default — are never explained anywhere.

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?

Specific verb+resource: 'Run every code cell in order' clearly identifies batch notebook execution, and the parenthetical scope qualifier distinguishes it from the sibling colab_notebook_run_cell (single cell). An agent can tell from the first clause exactly what this does without opening the schema.

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?

Usage is implied by the description ('run every code cell') but the tool never states when to prefer it over colab_notebook_run_cell, colab_run, or colab_exec, nor any prerequisite such as needing an existing session/kernel. No explicit when-not guidance or named alternative appears.

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