Skip to main content
Glama
YmSaki
by YmSaki

add_cell

Add code, markdown, or raw cells to a Jupyter notebook at a specified position, or append when no index is given. Creates the notebook file if it doesn't exist.

Instructions

Add a cell. Append when index is omitted. Creates a missing notebook.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
indexNo
sourceYes
cell_typeNocode

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral burden. It usefully discloses append-when-index-omitted behavior and automatic notebook creation. However, it omits other important behavior such as exact insertion semantics when index is provided and any side effects beyond notebook creation.

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 compact and front-loaded. 'Add a cell' immediately conveys the core action, followed by two high-value behavioral notes. There is no wasted text.

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?

For a mutation tool with no annotations and four parameters, the description is too sparse to be fully actionable. It does not explain what path refers to, what source should contain, or how cell_type choices affect behavior. The output schema may cover return values, but parameter semantics remain incomplete.

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 only clarifies the index parameter ('Append when index is omitted'). It does not explain path, source, or cell_type, leaving required parameters poorly specified.

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 states a specific verb and resource: 'Add a cell.' This clearly distinguishes it from sibling tools like read_cell, edit_cell, run_cell, and restart_kernel. It also adds scope by noting append behavior and notebook creation.

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 the tool is for adding cells to notebooks, and the mention of creating a missing notebook gives a use case. However, it does not explicitly state when to prefer this over edit_cell or other sibling tools, nor does it give exclusion criteria.

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

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/YmSaki/ipynb-mcp'

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