Skip to main content
Glama
ChipCloud MCP Server

ChipCloud MCP Server

by bystone84

查询历史作业列表

list_history_jobs
Read-onlyIdempotent

Query paginated ChipCloud historical jobs by queue, user, project, status, memory, runtime, or time range, and return record IDs and end times for retrieving full job details.

Instructions

分页查询芯片云历史作业列表,支持队列、用户、项目、状态、内存/运行时长以及时间区间过滤。

    对应芯片云 API: POST /jobInfo/jobHistoryPageNew(端口 18083)。
    返回记录中的 id 与 endTime 可用于调用 get_history_job_detail 查看完整历史详情。
    

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

Input Schema

NameRequiredDescriptionDefault
pageNo页码,从 1 开始,默认 1
sizeNo每页记录数,默认 10,最大 200
userNo可选:作业用户名(user)
ascendNo可选:排序方向(ascend)
job_idNo可选:作业 ID(jobId)
statusNo可选:作业状态筛选(历史作业常见 DONE / EXIT)
max_memNo可选:小于作业内存(maxMem)
min_memNo可选:大于作业内存(minMem)
projectNo可选:作业项目名称(project)
end_timeNo可选:查询结束时间,支持毫秒时间戳(如 1758016972423)或 ISO/日期时间字符串(如 '2025-09-16 23:59:59')
order_byNo可选:排序字段(orderBy)
exec_hostNo可选:作业运行节点(execHost)
cluster_idNo集群 ID(clusterId);如已配置默认集群可省略
queue_nameNo可选:作业运行队列名(queueName)
start_timeNo可选:查询开始时间,支持毫秒时间戳(如 1757412172423)或 ISO/日期时间字符串(如 '2025-09-09 00:00:00')
user_groupNo可选:作业用户组(userGroup)
job_projectNo可选:作业项目名称兼容字段(jobProject)
max_runtimeNo可选:小于作业运行时长,单位秒(maxRuntime)
min_runtimeNo可选:大于作业运行时长,单位秒(minRuntime)
submit_hostNo可选:作业提交节点(submitHost)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive, so the safety profile is covered. The description adds useful context beyond that: the backing API route (POST /jobInfo/jobHistoryPageNew, port 18083) and the fact that returned id/endTime enable chaining to the detail tool. It stops short of describing paging totals or result caps, but the output schema covers the return shape.

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?

Three short lines, front-loaded with what the tool returns and followed by the API mapping and the chaining hint. The API path and port line is the weakest for an agent's decision-making but is compact and plausibly useful for diagnostics.

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 20 all-optional parameters, an output schema, and full schema description coverage, the description supplies what the structured fields cannot: scope, the historical-vs-active framing, and the path to the detail tool. Nothing an agent needs in order to call it correctly appears missing.

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%, so every one of the 20 optional parameters already carries its own documentation, including the min/max memory and runtime semantics and the accepted time formats. The description only restates filter categories at a summary level, which is the expected baseline when the schema does the heavy lifting.

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?

The description names a specific verb and resource — paginated query of the chip-cloud historical job list — and enumerates the filter dimensions (queue, user, project, status, memory/runtime, time range) that define its scope. It also points to get_history_job_detail for full detail, which separates listing from detail retrieval. The historical-vs-active distinction is carried by the term 历史作业, making it distinguishable from the sibling list_active_jobs.

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 gives a clear conditional follow-up path: the id and endTime in returned records can be passed to get_history_job_detail. What it does not state explicitly is the negative case — that in-flight jobs belong to list_active_jobs rather than here — leaving that to inference from the word 历史.

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