Skip to main content
Glama

create_notebook

Creates a new notebook in a Databricks workspace at a specified path, with optional initial content and support for Python, Scala, SQL, or R.

Instructions

Create a new notebook in the workspace with optional initial content. Supports Python, Scala, SQL, and R.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "create_notebook"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesFull workspace path for the new notebook (e.g., "/Users/user@example.com/NewNotebook")
formatNoContent format (default: SOURCE)
contentNoInitial notebook content/code (optional)
languageNoNotebook language (default: PYTHON)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/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 of behavioral disclosure. It says content is optional but does not state what happens if the path already exists (overwrite vs. error), whether permissions are required, whether the path must sit in an existing directory, or what is returned on success. For an unannotated mutation tool this is a substantial gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short, front-loaded sentences with no wasted preamble. The language-support sentence is mildly redundant with the schema enum, which keeps it from a 5.

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 input side is fully documented by the schema and no output schema exists, so nothing is missing about parameters or return values. However, failure modes and preconditions for creating a notebook in a workspace hierarchy are left entirely unstated, which matters for a create 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?

Schema description coverage is 100%, including enum values and a path example, so the schema does the heavy lifting. The description's 'Supports Python, Scala, SQL, and R' merely restates the language enum rather than adding meaning such as defaults or interactions between format and language. Baseline 3 is appropriate.

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?

States a specific verb and resource: 'Create a new notebook in the workspace with optional initial content.' That is unambiguous and immediately distinguishable from delete_notebook, move_notebook, or run_notebook. It stops short of naming any sibling or scope boundary, so it lands at 4 rather than 5.

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?

There is no explicit when-to-use guidance, no prerequisite (e.g., whether the parent directory must already exist via create_directory), and no alternatives for a related need. Usage is only implied by the verb 'Create'.

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