Skip to main content
Glama

查询运行状态

jasp_run_status

Check the execution status of a JASP/R analysis run (running, done, error, timeout, interrupted) and retrieve the tail of its log.

Instructions

查询 jasp_run 的执行状态(running/done/error/timeout/interrupted),并返回日志尾部。

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>",
      "run_id": "<run_id>"
    },
    "name": "jasp_run_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYes运行 ID
session_idYes会话 ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/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 behavioral burden. It does usefully disclose the status vocabulary and that a log tail comes back, which implies a read-only poll. It says nothing about what happens for an unknown run_id/session_id, whether the call blocks, or how much log tail is returned.

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?

A single front-loaded sentence with the status enumeration and the return value packed in, no filler. The parenthetical status list is dense but earns its place by telling the agent what to expect.

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?

For a 2-parameter polling tool with no output schema, the description covers the essentials: what it reads and what it returns. Gaps remain on error behavior (invalid run_id), polling expectations, and the size/format of the log tail, which matter for a status tool an agent may call repeatedly.

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% (both session_id and run_id documented as '会话 ID'/'运行 ID'), so the schema already defines the parameters and a baseline 3 applies. The description adds no further meaning about the relationship between the two IDs or where they come from.

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?

Names a specific verb and resource ('查询 jasp_run 的执行状态') and binds it to the sibling tool jasp_run whose run it inspects. It also enumerates the possible status values and the log-tail return, which makes the operation concrete. It does not distinguish itself from jasp_status or jasp_progress, so an agent still has to guess between those polling-style siblings.

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 only implied: the mention of jasp_run makes it clear this is the follow-up poll after launching a run. There is no explicit statement of when to call it versus jasp_status or jasp_progress, no note on polling cadence, and no guidance for a finished versus still-running run.

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