Skip to main content
Glama

get_job_status

Check a background ntopcl job's status, elapsed time, parsed logs, and output using the job ID returned by run_notebook_async; optionally tail recent stdout/stderr lines.

Instructions

Get status, elapsed time, parsed logs, and output of a background ntopcl job.

Args: job_id: The job identifier returned by run_notebook_async. tail_lines: Number of recent stdout/stderr lines to return.

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": {
      "job_id": "<job_id>"
    },
    "name": "get_job_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes
tail_linesNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 disclosure burden. It usefully states what is returned (status, elapsed time, parsed logs, output), but never says this is a read-only, non-destructive call, does not enumerate possible status values (running/completed/failed), and does not say what happens for an unknown or expired job_id.

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?

The core capability is front-loaded in a single sentence, and the Args block adds only the two parameters that need explanation. There is no filler, though the sentence piles four return values into one clause rather than prioritizing status first.

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 the description need not re-explain return structure, yet it partially duplicates it while omitting lifecycle and safety behavior that annotations would normally cover. For a polling-style tool with zero annotation coverage, the missing status semantics and read-only guarantee leave a real gap.

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: job_id is explained as the identifier from run_notebook_async, and tail_lines is explained as the count of recent stdout/stderr lines. Only the default value of 40 and any truncation/performance implications of large tail_lines are left unstated.

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 ("Get status, elapsed time, parsed logs, and output") scoped to "a background ntopcl job", and the required job_id makes clear this is single-job inspection rather than a listing. It does not explicitly contrast with siblings such as list_jobs or cancel_job, so sibling differentiation is only implied.

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?

The mention that job_id is "returned by `run_notebook_async`" implicitly sequences this tool after job submission, which is useful context. However, there is no explicit guidance on polling cadence, what to do when the job is still running versus finished, or when to prefer list_jobs or cancel_job instead.

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