Skip to main content
Glama
tmlksu

notebook-edit

by tmlksu

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_cellsA

List every cell with a one-line source preview (cheap overview).

Returns index, type, source_preview, num_lines, has_outputs for each cell. Cell indices are 0-based. Call this first to orient before editing.

read_cellA

Read one cell's full source (and outputs/execution_count for code cells).

Outputs are read-only: no tool writes them, and editing a code cell's source clears its stale outputs.

insert_cellA

Insert a new cell BEFORE index (index == cell count appends).

cell_type must be one of: code, markdown, raw. Indices are 0-based.

edit_cellA

Replace a cell's ENTIRE source. For small changes prefer patch_cell.

Editing a code cell clears its outputs and execution_count (they are stale).

patch_cellA

Preferred edit tool: replace a unique old substring with new in a cell.

old must occur exactly once in the cell; otherwise this errors and asks for more context. Keeps diffs small. Editing a code cell clears its outputs.

delete_cellC

Delete the cell at index (0-based).

move_cellB

Move the cell at from_index to to_index (final position, 0-based).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/tmlksu/nbedit-mcp'

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