Skip to main content
Glama

三域医研 · 科研算法引擎 (SanYu Research Engine)

异步任务进度与结果 / Job status

sanyu_job_status
Read-only

Get progress and result of an asynchronous job. 生成类动作(topic_generate / paper_draft_one_click / …)提交后返回 job_id(engine_status=queued),用这个工具轮询:每 3 秒查一次,最多等 300 秒;status=succeeded 取 result,failed 读 error(失败不扣分)。US English: poll a queued generation job until succeeded/failed.

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

Input Schema

NameRequiredDescriptionDefault
job_idYes提交生成类动作时返回的 job_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), and the description adds real behavior the annotations cannot convey: polling cadence, a 300-second ceiling, the terminal status names, and the note that failures do not cost points. It stops short of saying what happens on timeout or if job_id is unknown/expired, so not a 5.

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?

Front-loaded with the purpose, then the operational recipe; every clause carries information. Slightly diluted by the bilingual restatement ('US English: poll a queued generation job until succeeded/failed'), which repeats content already given in the first sentence.

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?

No output schema exists, and the description does cover the meaningful return payload (result on success, error on failure) plus the timing model. It leaves the non-terminal progress payload (e.g., percentage or queue position) unspecified, which is a minor gap for a polling tool.

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% for the single job_id parameter, so the baseline is 3; the description earns above baseline by explaining where job_id comes from (returned by generation actions with engine_status=queued), which is the one thing an agent can get wrong here.

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 ('Get progress and result of an asynchronous job') and immediately ties it to the producing siblings by name (topic_generate / paper_draft_one_click), so an agent can place it in the workflow without opening a schema.

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

Usage Guidelines5/5

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

Gives an explicit trigger (after submitting a generation action that returned job_id with engine_status=queued) and an explicit procedure: poll every 3 seconds, wait up to 300 seconds, read result on succeeded and error on failed. Both halves of the when/when-not decision are spelled out.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.