Skip to main content
Glama

start_marimo

Launch a Marimo notebook editor with MCP enabled, creating the specified .py notebook if it does not exist and serving it on a chosen port.

Instructions

Start a Marimo notebook editor with MCP enabled.

Args: notebook_path: Path to a .py notebook file. Creates new if not exists. port: Port for the Marimo web server (default 2718).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "start_marimo"
  }
}

Input Schema

NameRequiredDescriptionDefault
portNo
notebook_pathNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one important side effect: a new .py notebook file is created if the given path does not exist. However, it omits key operational behavior — whether the call blocks while the server runs, how long the editor persists, what happens if the port is already bound, and whether the caller must later call stop_marimo.

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 tight statements with the core purpose front-loaded and parameter notes kept brief. The raw docstring 'Args:' formatting is slightly mechanical but costs no clarity and wastes no words.

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?

An output schema exists, so return values need not be explained, and both optional parameters are documented. Still, for a long-running server-start tool with no annotations, the lifecycle story (blocking vs. background, port conflicts, teardown via stop_marimo, prerequisites) is missing enough to leave an agent guessing at runtime behavior.

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 description coverage is 0%, so the description must compensate, and it largely does: it explains that notebook_path must point to a .py notebook and is auto-created when absent, and that port is the Marimo web server port with default 2718. Only the null/no-path case for notebook_path is left unaddressed.

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 first sentence names a specific verb and resource — 'Start a Marimo notebook editor' — and adds the meaningful qualifier 'with MCP enabled'. It is readily distinguishable from siblings like stop_marimo, marimo_status, and list_notebooks, though it never explicitly contrasts itself with them.

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: nothing says to call this before marimo_status, whether it is required before the cell/variable tools work, or what to do if an editor is already running. The only conditional behavior mentioned ('Creates new if not exists') is about a parameter's side effect, not about tool selection.

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