Skip to main content
Glama

list_cell

Retrieve cell index, type, and execution count to overview notebook structure and locate cells for subsequent operations like deletion or insertion.

Instructions

List the basic information of cells. It will return Index, Type, Execution Count and First Line of the Cell. It will be used to quickly overview the structure and current status of the Notebook or locate the index of specific cells for following operations(e.g. delete, insert).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of cells to return (0 means no limit)
start_indexNoStarting cell index (0-based) for pagination
notebook_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/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. It discloses the tool returns specific fields and is used for listing, which reasonably implies a read-only operation. No contradiction or missing safety context for a listing tool.

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 two sentences, front-loading the purpose and then detailing use cases. Every sentence adds value without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has an output schema (not shown but mentioned), the description covers the purpose, return fields, and use cases. Parameters are adequately addressed, and the simplicity of the operation means minimal extra context is needed. It is complete for a listing tool.

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?

Schema description coverage is 67%, with only limit and start_index having descriptions; notebook_name lacks description. The tool description adds general context but does not elaborate on parameter meanings or usage beyond the schema, so it does not significantly compensate for the missing schema coverage.

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 lists basic information of cells and specifies the return fields (Index, Type, Execution Count, First Line). It distinguishes itself from siblings like read_cell and delete_cell by focusing on overview and indexing.

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 provides context for when to use the tool: to overview structure or locate cell indices for operations like delete or insert. It implies use for navigation but does not explicitly exclude alternatives or state when not to use.

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

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