Skip to main content
Glama

get_cell_data

Retrieve runtime data for all notebook cells, including execution status, outputs, and errors, by session ID to inspect and debug a Marimo notebook.

Instructions

Get runtime data for all cells — execution status, outputs, errors.

Args: session_id: The session ID from list_notebooks.

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": {
      "session_id": "<session_id>"
    },
    "name": "get_cell_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/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 disclosure burden; "Get" implies a read but nothing confirms read-only safety or idempotence. It also omits whether a live kernel is required, whether large outputs are truncated, and whether the call has side effects on the runtime — gaps that matter for a runtime-inspection 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?

One front-loaded sentence naming the resource and its returned fields, followed by a single parameter note. Nothing is redundant and the key information arrives first.

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?

An output schema exists, so return-shape explanation is unnecessary, and the sole parameter's origin is documented. What remains missing is the runtime precondition (session must be live) and any differentiation from get_cells, which are the main risks for misinvocation.

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 schema gives no explanation of session_id. The description compensates by stating it comes from list_notebooks, which is genuinely useful for ordering calls, though it does not clarify whether it must be an active session or what happens on a stale ID.

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 ("Get runtime data for all cells") and enumerates the payload (execution status, outputs, errors), which lets an agent distinguish it from a source-code reader. It does not, however, name or contrast itself with the close sibling get_cells, leaving the boundary implicit.

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?

Usage is implied by "runtime data" versus static cell content, and the session_id provenance hints at a list_notebooks -> get_cell_data sequence. There is no explicit when-to-use or when-not-to-use guidance, no mention of get_errors or get_cells as alternatives, and no stated precondition that the session must be running.

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