Skip to main content
Glama
MOT1209

Google Colab MCP Server

by MOT1209

colab_execute_notebook

Execute every code cell in a notebook sequentially against a runtime session to run the entire notebook programmatically.

Instructions

Execute every code cell in a notebook, in order, against a runtime session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
session_idNo
timeout_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/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 burden of behavioral disclosure. It reveals that all cells run in order against a runtime session, but it does not mention side effects, error behavior, asynchronous execution, cancellation, or output handling—important context for a code-execution tool.

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?

A single sentence delivers the core action, scope, and execution context with no filler. It is front-loaded and every word earns its place.

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?

For a potentially long-running and side-effectful operation with three parameters and no annotations or output schema, the description is too thin. It omits return behavior, failure semantics, whether the call is asynchronous, and how timeout applies, leaving significant gaps for an agent to call 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%, and the description does not explain path, session_id, or timeout_seconds. The phrase 'runtime session' hints at session_id, and 'notebook' implies path, but timeout_seconds is entirely unaddressed, leaving the agent to rely on parameter names alone.

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 uses a specific verb-resource pair ('Execute every code cell in a notebook') and adds ordering and runtime-session context. This clearly differentiates the tool from siblings like colab_execute_cell, which targets a single cell, and colab_execute_code, which runs arbitrary code.

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 description implies the tool is for full notebook execution, but it does not explicitly state when to prefer it over colab_execute_cell or colab_execute_code. There are no exclusions, alternatives, or conditions mentioned, so usage guidance is left to inference.

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