Skip to main content
Glama
shwetalsoni

Jupyter Notebook MCP Server

by shwetalsoni

read_notebook_cells

Read cells from a Jupyter notebook, optionally filtering by type (code, markdown, raw). Returns cell content and metadata.

Instructions

Read cells from a Jupyter notebook.

Args:
    notebook_path: Absolute path to the .ipynb file
    cell_type: Optional filter by cell type ('code', 'markdown', 'raw')

Returns:
    List of cell dictionaries with metadata

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cell_typeNo
notebook_pathYes
Behavior3/5

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

With no annotations provided, the description must disclose behavioral traits. It explains the read-only nature and return format (list of cell dictionaries with metadata), but omits details about file validation, error handling, or performance implications. Adequate but not thorough.

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 concise with a clear structure: a one-sentence purpose, then Args and Returns sections. Every sentence adds value, and there is no redundant information.

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 low complexity (2 parameters, no output schema, no annotations), the description covers main functionality, parameters, and return format. However, it is slightly incomplete by not addressing scenarios like non-existent files or empty results, but overall sufficient for basic use.

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

Parameters4/5

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

Schema coverage is 0%, so the description carries full responsibility. It explains notebook_path as an absolute path and cell_type as an optional filter with allowed values ('code', 'markdown', 'raw'), adding meaning beyond the schema. Missing explanation of default behavior (returns all cells when filter is null).

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 'Read cells from a Jupyter notebook', which is a specific verb+resource. It distinguishes itself from sibling tools like add_cell_to_notebook, execute_notebook_cell, and get_notebook_info by focusing on read-only access.

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 provides no guidance on when to use this tool versus alternatives. It lacks explicit usage context, exclusions, or references to other tools, leaving the agent without decision support.

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/shwetalsoni/jupyter-notebook-mcp-server'

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