Skip to main content
Glama
am-3

universal-notebook-mcp

by am-3

notebook_edit_metadata

Update Jupyter notebook metadata by merging a JSON object into its top-level metadata keys. Optionally backup the file before editing.

Instructions

Merge a JSON object into the top-level notebook metadata.

Args: notebook_path: Path to the .ipynb file, relative to the workspace root. updates: JSON string with top-level metadata keys to merge in. checkpoint: Write a backup before editing (default: true).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
updatesYes
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 carries full burden. It discloses the backup behavior ('Write a backup before editing') and implies a shallow merge of top-level keys. However, it lacks details on validation, error handling, or file modification behavior.

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: one line of purpose, then three lines for parameter details. Every sentence is necessary and front-loaded for quick understanding.

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?

The tool has 3 parameters, no annotations, but an output schema exists. The description covers parameters and side effects (backup). It is mostly complete, though missing error handling and path validation details. Return values are handled by the output schema, so no deduction needed.

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 descriptions are missing (0% coverage), so the description compensates well. It explains notebook_path (relative path), updates (JSON string for top-level keys), and checkpoint (boolean for backup). Could be more precise on updates structure, but it adds value beyond the 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 states 'Merge a JSON object into the top-level notebook metadata.' This clearly identifies the action (merge) and resource (notebook metadata), distinguishing it from sibling tools that operate on cells or read metadata.

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 gives no explicit guidance on when to use this tool versus siblings like notebook_edit_cell_metadata or notebook_read_metadata. Usage is implied but not clarified with when-not or alternative suggestions.

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