Skip to main content
Glama
SebastianGilPinzon

colab-mcp (enhanced fork)

run_code_cell

Execute a code cell in a Colab notebook by specifying its cell ID, using an active browser connection.

Instructions

Execute a code cell in the Colab notebook by cellId (from add_code_cell or get_cells). Requires an active browser connection via open_colab_browser_connection.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cellIdNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
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 for behavioral disclosure. It only states the basic action and prerequisite, but does not explain what happens on execution (e.g., output handling, error behavior, side effects, or rate limits). This is insufficient for a tool that executes arbitrary code.

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 extremely concise: two short sentences, no redundant information, and front-loads the action. Every word serves a purpose.

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?

Given the tool's complexity (executing code, with a prerequisite and output schema), the description is minimal. It lacks details on return values, error handling, and what 'execute' entails. The existence of an output schema is not leveraged to explain the response. This leaves the agent underinformed for safe and effective use.

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?

The description adds meaning to the 'cellId' parameter by specifying it comes from 'add_code_cell or get_cells', which is helpful given the 0% schema description coverage. However, it does not explain format, constraints, or the fact that the schema marks it as not required (with default empty string), potentially causing confusion. More detail would be beneficial.

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 the action ('Execute a code cell') and identifies the resource ('Colab notebook') and required parameter ('cellId'). It distinguishes from sibling tools by focusing on execution rather than addition, deletion, or modification.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description specifies a prerequisite ('Requires an active browser connection via open_colab_browser_connection') and indicates the source of cellId ('from add_code_cell or get_cells'), giving context on when to use this tool. However, it does not provide explicit when-not-to-use guidance or compare to alternatives.

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/SebastianGilPinzon/colab-mcp'

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