Skip to main content
Glama

导出分析与工件

jasp_export

Exports JASP analysis artifacts—request JSON, template JSON, R scripts, Markdown results, CSV tables, JASP files, and reproducible bundles—so you can review and reuse analyses.

Instructions

导出 JASP 引擎请求(request.json)、分析模板(template.json)、R 执行脚本、Markdown 结果或结果表 CSV,便于复核与复用。

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>",
      "format": "<format>"
    },
    "name": "jasp_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatYes导出格式;csv/markdown 需要 run_id;jasp 生成真正的 JASP 文件(含数据、选项,以及已有运行的结果);bundle 生成复现包 zip
run_idNo运行 ID(markdown 需要)
plan_idNo计划 ID(request/template/rscript 需要)
session_idYes会话 ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden, yet it never states that this writes files, where they land, whether existing files are overwritten, or what the response contains (path, URL, or inline content). Useful behavioral detail like 'jasp generates a real JASP file containing data and options' lives only in the schema, not the description.

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 that names the resource and its variants with no padding. It is dense but appropriate; a slightly clearer separation of the artifacts from the rationale sentence would be marginally better.

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?

There is no output schema and no annotations, so the description is the only place to learn the return shape and side effects of an export operation, and it stays silent on both. The format coverage is adequate but the tool's most consequential behavior is undocumented.

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% and the schema already explains the format enum and which ids each format requires, so the description's format list merely restates structured data. Baseline 3 applies since the schema does the heavy lifting.

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?

Specific verb (导出/export) plus an enumerated list of artifacts (request.json, template.json, R script, Markdown, CSV), which lets an agent distinguish this from read-only siblings like jasp_get_results. It does not cover two of the enum values (jasp, bundle) nor name any sibling explicitly, so it falls short of full differentiation.

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

Usage Guidelines2/5

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

The phrase '便于复核与复用' hints at the intent (review and reuse of analyses), but there is no explicit when-to-use, no prerequisites (e.g. a completed run is needed), and no comparison against alternatives such as jasp_get_results for viewing results versus exporting them.

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