Skip to main content
Glama
ChipCloud MCP Server

ChipCloud MCP Server

by bystone84

查询活动作业详情

get_active_job_detail
Read-onlyIdempotent

Retrieves detailed diagnostics for a single active HPC job, including command line, resource requirements, process PIDs, peak CPU and memory, plus pending or suspension reasons.

Instructions

查询单个活动作业的详细信息,包含命令行、资源需求、进程 PIDs、峰值 CPU/内存、排队原因(pendReason)与挂起原因(suspReason)。

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

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

Input Schema

NameRequiredDescriptionDefault
job_idYes作业 ID(jobId,如 '519001')
job_indexNo数组作业编号(jobIndex),非数组作业默认传 '0'0
cluster_idNo集群 ID(clusterId);如已配置默认集群可省略

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered. The description adds real value by enumerating what the payload surfaces (command line, PIDs, peak CPU/memory, pendReason, suspReason) and by naming the backing endpoint GET /cluster/getJobDetail on port 18083, which helps an agent decide whether this tool answers a given diagnostic question.

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 sentences, front-loaded with the purpose and followed by implementation context. The endpoint/port line is arguably operational trivia rather than invocation guidance, but it earns some place for troubleshooting and nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and all three parameters are fully documented in the schema. With annotations covering safety semantics, the description supplies the remaining framing (detail scope, active-only, backing API) and leaves nothing an agent needs before calling it.

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%, including examples for job_id ('519001'), the default '0' for job_index, and the note that cluster_id can be omitted when a default cluster is configured. The description adds nothing about parameters, so the baseline 3 applies.

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: retrieve detailed information for a single *active* job. The word '活动' (active) implicitly distinguishes it from the sibling get_history_job_detail and from list_active_jobs, but it never names those alternatives explicitly, so the differentiation is left to inference.

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: an agent can infer this is the per-job lookup versus a list tool, but there is no explicit statement of when to prefer it over get_history_job_detail or diagnose_pending_jobs, and no preconditions (e.g., that the job must still be running) are stated.

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