Skip to main content
Glama

获取分析结果

jasp_get_results

Retrieve completed JASP analysis results by session and run ID as Markdown tables, images, and artifact paths, or return raw result.json for export and display.

Instructions

读取已完成的 JASP 结果,返回由 JASP 引擎生成的 Markdown 表格、图片、工件路径,并可配合 jasp_export 得到 .jasp。宿主应原样展示这些结果,不要改写数字、不要自行计算或下结论,也不要改用 Python 再算一遍。format=json 时返回原始 result.json 内容。

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_get_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNo默认 markdown
run_idYes运行 ID
session_idYes会话 ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and mostly meets it: it discloses the return content types, the artifact-path behavior, and the strong host-side constraint that numbers must be shown verbatim and not recomputed. Missing are error behavior, whether results can be re-read after multiple runs, and any latency or size notes.

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 return payload is front-loaded in the first sentence, with the host-display constraint and the format override following in a logical order. The prohibition clause is slightly repetitive (不要改写数字 / 不要自行计算 / 不要改用 Python), but each item targets a distinct failure mode, so it stays defensible.

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?

There is no output schema, so the description must describe returns itself, and it does so concretely (tables, images, artifact paths, raw JSON). For a read-only retrieval tool with a fully documented three-parameter schema, this is close to complete; only failure and re-read semantics are unaddressed.

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 coverage is 100%, so the baseline is 3; the description earns above that by explaining what format=json actually yields (raw result.json content) and by implying the default Markdown rendering, adding meaning beyond the enum values in the schema.

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 (读取已完成的 JASP 结果) and enumerates what comes back: Markdown tables, images, and artifact paths produced by the JASP engine. It also notes the pairing with jasp_export, though it does not explicitly contrast itself with status-checking siblings such as jasp_run_status or jasp_progress.

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?

It scopes usage to completed runs (已完成的) and points to jasp_export as the follow-on step for producing a .jasp file, which gives the agent clear context. It stops short of stating when not to use it, for example that in-progress runs should be polled with jasp_run_status instead.

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