Skip to main content
Glama
ChipCloud MCP Server

ChipCloud MCP Server

by bystone84

查询历史作业详情

get_history_job_detail
Read-onlyIdempotent

Retrieve detailed metrics for a single historical HPC job using its record ID and end time, including exit status, queue and run durations, and peak/average memory and CPU usage.

Instructions

查询单条历史作业的详细信息,包括退出码/退出原因、排队与运行时长、峰值/平均内存与 CPU 指标等。

    对应芯片云 API: GET /jobInfo/getJobHistoryDetailNew(端口 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": {
      "record_id": "<record_id>",
      "end_time": "<end_time>"
    },
    "name": "get_history_job_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_timeYes作业完成时间(格式 'YYYY-MM-DD HH:MM:SS',来自 list_history_jobs 返回的 endTime 字段,如 '2025-09-10 21:00:01')
record_idYes历史作业数据库编号 id(来自 list_history_jobs 返回的 id 字段,如 '4194')

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered without the description. The description adds the backing API route (GET /jobInfo/getJobHistoryDetailNew, port 18083) and the metric set returned, though the latter duplicates the output schema; it says nothing about auth, rate limits, or failure behavior for stale/mismatched end_time values.

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 blocks, front-loaded with the purpose before the API mapping, with no filler. The second block is marginally useful for debugging and does not bloat the definition.

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 an output schema present, the description need not document return fields, and annotations cover the safety semantics; the parameters are fully documented in the schema. The only real gap is routing guidance relative to sibling tools, which keeps this from a 5.

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% and both parameters document their source field and exact format (endTime from list_history_jobs, id from list_history_jobs). The description contributes nothing further about parameters, so the baseline 3 applies — the schema is doing all the work 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?

The description states a specific verb and resource (查询单条历史作业的详细信息) and enumerates the payload: exit code/reason, queue and runtime duration, peak/average memory and CPU metrics. The word 历史 implicitly separates it from the active-job sibling, but it never names get_active_job_detail or list_history_jobs, so the contrast is left for the agent to infer.

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: the schema descriptions say the parameters come from list_history_jobs, which hints this is a follow-up detail call, but the description itself gives no explicit when-to-use or when-not-to-use rule. There is no statement about how this differs from get_active_job_detail or when list_history_jobs alone would suffice.

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