Skip to main content
Glama

run_notebook_async

Submit long-running nTop Automate ntopcl executions in the background and return a job_id for status monitoring or cancellation, keeping workflows responsive during headless runs.

Instructions

Submit a long-running nTop Automate (ntopcl) execution in the background and return a job_id.

Monitor progress with get_job_status(job_id) or cancel with cancel_job(job_id).

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": {
      "notebook_path": "<notebook_path>"
    },
    "name": "run_notebook_async"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputsNo
verbosityNo
max_threadsNo
working_dirNo
notebook_pathYes
save_notebookNo
trust_notebookNo
input_json_pathNo
output_json_pathNo
include_propertiesNo
custom_block_librariesNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the essential async behavior (background execution, job_id handle, polling/cancel paths), which is real value beyond structured fields. It omits side effects an agent should know about — that `save_notebook` can mutate the source file, that `output_json_path`/`include_properties` write artifacts, and anything about concurrency limits or failure 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?

Two tight sentences with the core contract front-loaded and the follow-up actions second. Nothing is wasted and no filler or restatement of the title.

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

Completeness2/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 rightly absent, but the tool is complex: 11 parameters, no annotations, background job lifecycle, and file-writing options. For that complexity the description is too thin to let an agent call it correctly without reading the raw schema and guessing at parameter meaning.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 11 parameters, so the description must compensate and largely does not. It never names inputs, verbosity, max_threads, working_dir, save_notebook, trust_notebook, input_json_path, or output_json_path; only the notebook concept is hinted by the tool name. The `job_id` mentioned is a return value, not a parameter.

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 names a specific verb and resource ('Submit a long-running nTop Automate (ntopcl) execution') and states the async contract (background, returns a job_id). It implies but never explicitly contrasts with the sibling synchronous `run_notebook`, so the agent must infer which one to pick for short runs.

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?

It gives concrete follow-up routing ('Monitor progress with get_job_status(job_id) or cancel with cancel_job(job_id)'), which is genuinely useful. However, the triggering condition is only implied by the adjective 'long-running' — there is no explicit 'use run_notebook instead for short/interactive runs' exclusion.

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