Skip to main content
Glama

JASP 环境自检

jasp_status

Checks whether local JASP, Rscript, and jaspTools are available and reports usable backends (headless R, CLI template replay, or dry-run). Call it before starting any analysis.

Instructions

检查本机 JASP、Rscript、jaspTools 是否可用,返回可用后端(无头 R / CLI 模板重放 / dry-run)。开始任何分析前先调用。

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": "jasp_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
refreshNo是否强制重新探测(默认使用 60 秒缓存)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4/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 discloses that this is a read-only-style probe returning available backends, and the schema adds the 60-second cache, but it never states whether probing spawns processes, how long it may block, or whether failure surfaces as an error or as an 'unavailable' result.

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 sentences, front-loaded with the resource being checked and the returned backends, ending with the triggering condition. There is no filler.

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?

With only one optional parameter, no annotations and no output schema, the description is nearly sufficient: it names what is probed and enumerates the backend types returned. It stops short of describing the result structure or the unavailable-backend state, which an agent gating an analysis would benefit from knowing.

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?

The input schema has 100% description coverage and already documents 'refresh' as forcing a re-probe versus using the 60-second cache, so the description adds nothing beyond it. With schema coverage this high, the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: checks whether local JASP, Rscript and jaspTools are available, and says what it returns (available backends: headless R / CLI template replay / dry-run). This is clearly distinguishable from siblings like jasp_run_status or jasp_check_update, which concern run state and updates rather than environment probing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'开始任何分析前先调用' gives explicit ordering guidance that tells the agent exactly when this tool belongs in a workflow. It does not name when-not conditions or point to an alternative for the case where backends are unavailable, so it falls short of full when/when-not/alternative coverage.

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