Skip to main content
Glama

colab_notebook_delete_cell

Delete a single cell from a local Colab notebook by ID or index to remove unwanted code or outputs before running or sharing.

Instructions

Delete one cell by id or index.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cellYes
pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/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 for a destructive mutation. It says nothing about reversibility, whether the file is modified on disk, session/auth requirements, or side effects on indices of remaining cells. Only the bare action is conveyed.

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

Conciseness4/5

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

A single short sentence with the action front-loaded and no filler. It is efficient, though its brevity is partly a symptom of under-specification rather than disciplined concision.

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 described. However, for a destructive notebook-mutation tool with no annotations and 0% parameter documentation, the description omits path semantics, session requirements, and consequences of deletion — too little for an agent to invoke confidently.

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%, so the description must compensate. It clarifies that the 'cell' parameter accepts an id or an index, which is genuinely useful, but the required 'path' parameter is left completely unexplained — its format and meaning must be guessed.

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?

States a specific verb ('Delete') and resource ('one cell'), which cleanly distinguishes it from siblings like colab_notebook_edit_cell, colab_notebook_move_cell, and colab_notebook_clear_outputs. The 'by id or index' qualifier further narrows its behavior, though it doesn't name the alternatives explicitly.

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 gives no guidance on when to use this versus edit_cell, move_cell, or clear_outputs, nor any prerequisites (e.g., whether the notebook must be loaded or a session active). Usage must be inferred entirely from the name.

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