Skip to main content
Glama
ChipCloud MCP Server

ChipCloud MCP Server

by bystone84

查询活动作业列表

list_active_jobs
Read-onlyIdempotent

Retrieve paginated active HPC jobs—running, queued, or suspended—with filters for status, user, queue, host, memory, and runtime to monitor cluster workload.

Instructions

分页查询芯片云集群中的活动作业列表(运行中、排队中、挂起中等)。

    对应芯片云 API: GET /cluster/getJob(端口 18083)。
    

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

Input Schema

NameRequiredDescriptionDefault
ascendNo可选:排序方向(ascend,如 asc/desc 或 true/false)
statusNo可选:按作业状态筛选:RUN/PEND/PSUSP/SSUSP/USUSP/UNKWN/ZOMBI/DONE/EXIT
max_memNo可选:内存筛选上限/阈值(maxMem,遵循平台原参数语义)
min_memNo可选:内存筛选下限/阈值(minMem,遵循平台原参数语义)
order_byNo可选:排序字段(orderBy)
exec_hostNo可选:按运行节点主机名筛选(execHost)
page_sizeNo每页记录数,默认 10,最大 200
user_nameNo可选:按作业提交用户名筛选(userName)
cluster_idNo集群 ID(clusterId);如已配置默认集群可省略
queue_nameNo可选:按运行队列名筛选(queueName)
max_runtimeNo可选:小于运行时长筛选,单位秒(maxRuntime)
min_runtimeNo可选:大于运行时长筛选,单位秒(minRuntime)
search_textNo可选:按作业 ID 搜索(searchText)
current_pageNo页码,从 1 开始,默认 1
single_mem_valueNo可选:内存数值筛选(singleMemValue)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, so the safety profile is handled. The description adds the backing endpoint and port, which is useful for tracing, but says nothing about pagination limits, ordering defaults, or whether the returned set is a snapshot of live jobs.

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?

Two short lines, front-loaded with the purpose before the API mapping, and no filler. The endpoint/port line is of marginal value to an agent but does not bloat the whole.

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?

For a 15-filter paging tool the description is thin: it never clarifies how 'active' relates to the DONE/EXIT values the status enum permits, nor how paging interacts with the default page_size/current_page. The rich input schema and the presence of an output schema cover most of the remaining burden.

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 all 15 filters (status, order_by, min/max_runtime, page_size, etc.) are already documented at the field level. The description adds no meaning beyond the schema, which is the expected baseline here.

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?

States a specific verb and resource (分页查询...活动作业列表) and qualifies the scope with the state examples 运行中/排队中/挂起中, which implicitly separates it from the sibling list_history_jobs. It does not name any sibling explicitly, so the differentiation is inferred rather than stated.

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

Usage Guidelines3/5

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

Usage is only implied by the word 活动: an agent can guess this is for currently live jobs rather than finished ones, but no when-to-use/when-not-to-use rule or alternative tool (e.g. list_history_jobs, diagnose_pending_jobs) is named. The upstream API reference is context, not guidance.

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