Skip to main content
Glama
am-3

universal-notebook-mcp

by am-3

notebook_delete_cell

Delete a cell from a Jupyter notebook by index, with an optional timestamped backup to prevent data loss.

Instructions

Delete the cell at the given index.

A timestamped backup is written first unless checkpoint=false.

Args: notebook_path: Path to the .ipynb file, relative to the workspace root. cell_index: Zero-based index of the cell to delete. checkpoint: Write a backup before deleting (default: true).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cell_indexYes
checkpointNo
notebook_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description fully relies on itself to disclose behavior. It explicitly mentions that a timestamped backup is written before deletion unless checkpoint=false, which is key behavioral detail. However, it does not mention error handling or side effects like file modification.

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 very concise and well-structured: a one-sentence purpose, a key behavioral note about backups, then a clean parameter list. No unnecessary words or redundancy.

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's complexity (3 parameters, no annotations, output schema exists), the description adequately covers the main action, backup behavior, and parameter meanings. It lacks information about return values (though output schema exists) and potential errors, but is fairly complete for a simple deletion tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description compensates for 0% schema coverage by providing clear, complete explanations for all three parameters: notebook_path (relative path), cell_index (zero-based), and checkpoint (default true with backup behavior). This adds significant value over the raw schema.

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 tool deletes a cell from a notebook, specifying the action and resource. It distinguishes itself from siblings like notebook_edit_cell or notebook_insert_cell, which have different purposes.

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 usage for deletion but does not explicitly differentiate from alternatives (e.g., editing or clearing a cell) or state when not to use the tool. No guidance on prerequisites or context is given.

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