Skip to main content
Glama

mrs__ShowJobExeListNew

Retrieves and filters job execution records in a specified MRS cluster by state, type, name, queue, user, and submission time.

Instructions

[MRS] 在MRS指定集群中查询作业列表信息。

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": {
      "cluster_id": "<cluster_id>",
      "project_id": "<project_id>"
    },
    "name": "mrs__ShowJobExeListNew"
  }
}

Input Schema

NameRequiredDescriptionDefault
userNo用户名称、只能由字母、数字、特殊字符(-_.)组成,且不能以数字开头,并且长度为1~32字符。
limitNo返回结果中每页显示条数。缺省值:10
queueNo作业的资源对列类型名称,作业的资源对列类型名称,只能由数字、字母和特殊字符(-_)组成, 并且长度为1~64字符。
job_idNo作业ID,只能由字母、数字、中划线(-)组成,并且长度为1~64字符。
offsetNo表示作业列表从该偏移量开始查询。缺省值:0
sort_byNo返回结果的排序方式,默认值为desc。
job_nameNo作业名称,只能由字母、数字、中划线和下划线组成,并且长度为1~128个字符。
job_typeNo作业类型。
job_stateNo作业运行状态。
cluster_idYes集群ID。获取方法,请参见[获取集群ID](https://support.huaweicloud.com/api-mrs/mrs_02_9001.html)。
job_resultNo作业运行结果。
project_idYes项目编号。获取方法,请参见[获取项目ID](https://support.huaweicloud.com/api-mrs/mrs_02_0011.html)。
submitted_time_endNo查询该时间之前提交的作业UTC的毫秒时间戳。例如:1562032041362。
submitted_time_beginNo查询该时间之后提交的作业,UTC的毫秒时间戳。例如:1562032041362。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and it only establishes that this is a query. It says nothing about pagination behavior, default result size, default sort order, permission requirements, or what the returned job entries look like for a 14-parameter listing operation.

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?

A single front-loaded sentence with no filler or redundancy. It is efficiently worded, though the brevity is partly the source of the missing behavioral detail rather than a virtue in itself.

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

Completeness2/5

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

For a 14-parameter, dual-path-required listing tool with no output schema, one sentence is thin. It never mentions that cluster_id/project_id are mandatory or how to obtain them, nor how pagination and time-range filters interact, leaving the agent to reconstruct the calling pattern entirely from the schema.

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 parameter including limit/offset defaults, sort_by, and the state/result enums is already documented in the schema. The description adds no extra meaning such as default sort direction, page-size caps, or how filters combine, so the baseline of 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?

The description states a specific verb and resource ('查询作业列表信息' – query job list info) scoped to '指定的MRS集群', which is enough to distinguish it at a glance from a single-job reader. It stops short of naming any sibling or stating how it differs from something like ShowSingleJobExe, so it lands at 4 rather than 5.

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

Usage Guidelines2/5

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

There is no when-to-use / when-not-to-use guidance and no alternative tool is referenced. The only usage signal is the implicit 'within a specified cluster' scoping, which the schema already conveys via required cluster_id and project_id.

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

Deploy Server

Other Tools