Skip to main content
Glama

ipynb_sync_metadata

Synchronize metadata across multiple Jupyter Notebooks by applying a specified metadata set to each file, optionally merging with existing metadata.

Instructions

Synchronize metadata across multiple Jupyter Notebooks (.ipynb).

Args: ipynb_filepaths: List of notebook paths (absolute paths preferred) metadata: Metadata to apply merge: Whether to merge with existing metadata

Returns: Dict with 'success' and 'notebooks_updated' or 'error' key

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mergeNo
metadataYes
ipynb_filepathsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, so the description carries full responsibility. It mentions the merge option and return structure, but fails to disclose whether it modifies files in place, the default behavior when merge is false, or error handling for partial failures. This is insufficient for a batch mutation 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 and well-structured with distinct Args and Returns sections. Every sentence provides essential information, with no redundancy or filler.

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

Completeness3/5

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

The description covers what it does, its parameters, and its return value, which is good given the output schema. However, it lacks important context such as which metadata level (notebook vs cell) is affected, the exact merge semantics, and partial failure behavior. This is a noticeable gap for a batch operation.

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?

The schema has no parameter descriptions, and the description's Args section adds some meaning: 'absolute paths preferred' for ipynb_filepaths and 'merge with existing' for merge. However, 'metadata: Metadata to apply' is tautological and leaves the metadata structure underspecified.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Synchronize metadata across multiple Jupyter Notebooks (.ipynb)', identifying the action (synchronize metadata) and resource (multiple notebooks). It implies batch usage, distinguishing itself from single-notebook siblings like ipynb_update_metadata, though 'synchronize' is somewhat vague without reading the Args.

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?

No explicit when-to-use guidance or alternatives are mentioned. The phrase 'across multiple' hints at batch use, but there is no differentiation from sibling tools like ipynb_apply_to_notebooks or ipynb_update_metadata, 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/jsamuel1/jupyter-editor-mcp'

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